ZDDC/tests
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
..
data ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
fixtures ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
lib ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
archive-cascade.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
archive.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
browse.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
build-label.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
classifier.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
classify.spec.js fix(classifier): fit-to-content catalog columns + sorted Folder Tree 2026-06-12 10:00:23 -05:00
conflict.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
diff.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
form-safety.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
landing.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
logo.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
schema.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
tables-mdl.spec.js feat(tables): "Add from archive" on the project MDL rollup 2026-06-11 15:48:22 -05:00
tables.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
toast.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
tokens.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
transmittal-drag-drop.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
transmittal-init-check.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
transmittal-validation.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
transmittal.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
zddc-filter.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
zddc-source.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
zddc.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00