Files
photocraft/crates
hnoerenberg cd94f5bd8d fix(layer-style): keep same-named pattern folders apart and pin the empty pick
Review round on the first commit.

Two library folders may carry the same name, and their rows then shared one
`folder/<name>` key, so one chevron toggled both: a folder row's key now carries
its place in the folder list, which also keeps it from ever reading as a pattern
id (a file's pattern keeps the id the file carries).

`pattern_list` lost its only caller when the field's presets moved to
`pattern_presets`, so it goes with it.

The tests stop reading the shipped library: they build six patterns of their own
ids and names in two folders of their own, and count rows against what the
session offers. They also pin the two cases the new layout decides: an empty
Pattern value resolves to the first row that is not a folder - the first pattern
of the first folder, not the document's loose pattern the flat list started on -
and two folders of one name keep rows, and chevrons, apart.
2026-11-25 20:38:57 +01:00
..
…
…
…