Files
wekan/client
Lauri Ojansivu 83147dcc3e Card details: fields fold in groups, one caret each, Members before Creator.
The caret beside Labels folded the Labels field and left Stickers and
Location sitting under it. And every field already had a caret of its own on
the right - #1591 draws one on each .card-details-item - so a row could
carry two handles saying the same thing in two sizes.

The fields belong to families, and the families fold:

  Labels        Labels, Stickers, Location
  Date Format   the format, Received, Start, Due, End
  Members       Members, Assignee, Creator, Requested By, Assigned By
  Dependencies  Dependencies
  Sort          Sort, List, Spent time

One caret per group, on its title, at the reading direction's start. The
fields inside a group have none: #1591's per-item caret is turned off inside
a group body and its title stops being a handle. OUTSIDE a group it is
untouched, so nothing that folded before stopped folding - there is a
negative test for that, because turning the rule off globally would have
been the easy way to do this and would have removed a feature.

A collapsed group is one line - caret, icon, name - because everything else,
including the first field's own controls, is inside the fold.

Members reads Members, Assignee, Creator. The loose `hr` the layout drew
above the users block is gone with the grouping: the group's rule sits above
the whole group, so there is one line there rather than two.

Thanks to xet7 !
2026-08-14 03:14:52 +03:00
..