Header sorting replaces the overview sort dropdown; files Owner and Tags sortable (#786) #796

Merged
Cordy merged 3 commits from feat-786 into main 2026-09-28 02:48:40 +00:00
Owner

Closes #786.

Overview: the .spovsort select is removed (markup, wiring, CSS). Name / Members / Storage used / State headers are .hsort buttons — same markup, FB_ARR arrows and .on accent state as the files header; the .hsort CSS is extended to .spovtbl instead of duplicated. One comparator parses the stored "<column>-<dir>", so values saved by the old dropdown stay valid. Defaults: Name/State ascending, Members/Size descending; repeat click toggles. State sorts by the chip label alphabetically (commented); ties fall back to name (case-insensitive, numeric-aware). Tiles follow the stored sort. spovSort/spovSortMembers i18n keys kept (qa783 key-pins them).

Files: Owner and Tags headers become hsort buttons; fbCmp sorts owner by display name and tags by the alphabetically first tag, with empties last in both directions; alpha columns default ascending; the sort button gains honest labels (Owner A–Z/Z–A, Tags A–Z/Z–A ×4 languages) instead of falling back to "Name A–Z".

Pins updated deliberately: qa743 (Tags header markup) and qa783's dropdown test.

Verification: RED → splice → 279/279. Both comparators were executed in Node against sample data extracted from the spliced file — every ordering (both directions, empties, ties, legacy pref) checked. Header styling previewed on the live overview before pushing.

Closes #786. **Overview:** the `.spovsort` select is removed (markup, wiring, CSS). Name / Members / Storage used / State headers are `.hsort` buttons — same markup, `FB_ARR` arrows and `.on` accent state as the files header; the `.hsort` CSS is extended to `.spovtbl` instead of duplicated. One comparator parses the stored `"<column>-<dir>"`, so values saved by the old dropdown stay valid. Defaults: Name/State ascending, Members/Size descending; repeat click toggles. State sorts by the chip label alphabetically (commented); ties fall back to name (case-insensitive, numeric-aware). Tiles follow the stored sort. `spovSort`/`spovSortMembers` i18n keys kept (qa783 key-pins them). **Files:** Owner and Tags headers become `hsort` buttons; `fbCmp` sorts owner by display name and tags by the alphabetically first tag, with empties last in both directions; alpha columns default ascending; the sort button gains honest labels (Owner A–Z/Z–A, Tags A–Z/Z–A ×4 languages) instead of falling back to "Name A–Z". **Pins updated deliberately:** qa743 (Tags header markup) and qa783's dropdown test. **Verification:** RED → splice → 279/279. Both comparators were executed in Node against sample data extracted from the spliced file — every ordering (both directions, empties, ties, legacy pref) checked. Header styling previewed on the live overview before pushing.
test: #786 RED - header sorting
All checks were successful
fix-786 / fix (push) Successful in 13s
bce65457f0
Closes #786
docs: changelog for v0.6.297 (#786)
All checks were successful
ci / test-and-build (pull_request) Successful in 1m14s
71ec5ef158
Cordy merged commit 037668b42d into main 2026-09-28 02:48:40 +00:00
Cordy deleted branch feat-786 2026-09-28 02:48:43 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#796
No description provided.