ZDDC/shared
ZDDC cfdf0f6db9 fix(classifier): fit-to-content catalog columns + sorted Folder Tree
Two UI fixes:

- "By existing" catalog columns were far too wide. The seltable forced the
  table to width:100% (auto-layout then stretches columns) and — in the
  classifier's copy — the per-column filter <input>s had no styling, so each
  fell back to its ~170px intrinsic width and dictated the column width. Set
  the table to width:auto (cells are already nowrap → fit header/longest cell)
  and style .seltable__colfilter to fill its column (min-width:2rem,
  box-sizing:border-box) so the inputs never widen a column. Applied to both
  the classifier copy and shared/seltable.css (same fix for the tables tool's
  "Add from archive" table).
- The left Folder Tree rendered folders and files in raw scan order. Sort both
  at render — case-insensitive, natural (so "Rev 2" precedes "Rev 10") — via a
  non-mutating slice().sort() at each render point in tree.js.

Tests: a new spec asserts the natural/case-insensitive tree order; 62 classify
+ classifier green (108 across classify/classifier/tables/tables-mdl).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-12 10:00:23 -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 ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -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 fix(classifier): fit-to-content catalog columns + sorted Folder Tree 2026-06-12 10:00:23 -05:00
seltable.js refactor(seltable): promote to shared/ with per-column autofilters 2026-06-11 14:40:56 -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