#552: initial-circle avatars, one badge family, Cairn role header (v0.6.206) #559
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-552b"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The three approved items from the polish mockup (
accounts-groups-polish-decisions.html).1 — Avatars: account and group rows open with an initial circle from a shared
avatar()helper; filled accent for administrators, square-cornered for groups so a group never reads as a person. Initials rule as specified in the mockup: split on. _ -and whitespace, first letter of the first two parts, single-part names fall back to their first two characters.2 — Role badges:
roleCellrenders Admin and User as one badge family instead of a chip beside muted grey text, and the green you badge moved up beside the name it describes, leaving the meta line for group membership only.3 — Copy (the recommendation): kept Add account; the directory table header becomes Cairn role, since that column is strictly about the role Cairn grants and the person may hold roles in the directory Cairn neither knows nor controls. The local table keeps plain "Role".
Second commit fixes a bug the round's own sanity check caught before merge: the emitted character class was
[._\\s-]— an escaped backslash next to a literals— so names split on the letter "s" and never on whitespace (Fall 1→ "FA",case-folder-1→ "CE"). Now[._\s-], with nine cases asserted in CI. Fence gate + node checks green.