ZDDC/shared
ZDDC be5b3967ba feat(classifier): unify all tables on seltable — multi-sort + autofilter + resize
Every column table in the classifier now has the same three powers: multi-column
sort, per-column autofilters, and drag-resizable widths. Two of the three tables
were each missing one; the fix is to make the shared seltable the single engine.

- shared/seltable.js: add multi-column sort (click a header to sort; shift/ctrl-
  click ADDS a secondary key; asc→desc→off cycle; ▲/▼ + priority indicator) and
  self-contained drag-resizable columns (a .seltable__resizer on each title th —
  no dependency on the classifier-only resize.js, since the tables tool shares
  seltable). New opt-in opts.persistKey persists widths + sort to localStorage.
- By-tracking grid → seltable (target-tree.js): the bespoke merged-cell table is
  replaced by a seltable (status badge, original-name preview link, editable
  tracking/rev/title inputs, ✕). It inherits sort + autofilter + resize for free.
  The Columns ▾ chooser now rebuilds the seltable; widths + sort persist under the
  same prefs key. Grid is self-correcting — a column-set change rebuilds on render.
- Worklist (already seltable): gains sort + resize automatically; the derived
  Source column is marked non-sortable/non-filterable.
- The Rename-in-place spreadsheet already had all three (sort.js + filter.js +
  resize.js) — no change needed there.
- seltable.css: .seltable__resizer / .seltable__sortind / sortable-header cursor.
- tests: seltable multi-sort (header click, shift-add, indicators) + resize
  (drag widens + persists via persistKey); the grid's selectors move off the old
  .ttable--grid onto .seltable__table. 66 classify + 56 classifier/tables green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 08:09:35 -05:00
..
fonts ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
vendor ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
base.css ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
build-lib.sh ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
cap.js feat(server,shared): tell denied users who can — subtly, before wasted effort 2026-06-12 14:58:20 -05:00
context-menu.css ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
context-menu.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
diff.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
elevation.css ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
elevation.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
favicon.svg ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
fonts.css ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
hash.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
help.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
icons.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
logo.css ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
logo.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
preview-lib.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
profile-menu.css ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
profile-menu.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
seltable.css feat(classifier): unify all tables on seltable — multi-sort + autofilter + resize 2026-06-16 08:09:35 -05:00
seltable.js feat(classifier): unify all tables on seltable — multi-sort + autofilter + resize 2026-06-16 08:09:35 -05:00
theme.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
toast.css ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
toast.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
zddc-filter-test.html ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
zddc-filter.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
zddc-source.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
zddc-test.html ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
zddc.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
zip-source.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00