ZDDC/tests
ZDDC 9ca24eb3f1 feat(classifier): By-transmittal is a per-file grid with a single folder-path input
Standardize the two classify tabs: By-transmittal drops the party→slot→bin
tree (and its multi-field "+ Transmittal" form) for a flat per-file grid that
mirrors By-tracking. Each file gets ONE editable text input — its full
transmittal folder path "<party>/<received|issued>/<YYYY-MM-DD_TN (STATUS) -
Title>". Committing it find-or-creates the party/slot/bin; structure stays
derived, never stored.

Drag-and-drop (from the source tree onto the grid):
- plain drop on a routed row → the dropped files JOIN that row's folder;
- ⌘/Ctrl-drop on a routed row → a prompt prefilled with that folder's path
  lets you edit it into a NEW transmittal the files go to (the original is
  untouched; an unedited path dedups via find-or-create);
- drop on empty space / an unrouted row → files are added as blank rows to fill.

Model (classify.js): adds a `transmittalWorkset` (parallel to trackingWorkset)
plus addToTransmittalGrid / removeFromTransmittalGrid / transmittalGridKeys and
setTransmittalPath(keys, path) — the single parser for "<party>/<slot>/<folder>"
that also prunes any bin a re-route empties. app.js importPaths now reuses
setTransmittalPath for its route axis (one parser, less duplication).

Removes the now-dead tree rendering/CRUD (party/bin nodes, binForm, the bin
filename editor, the bin drop zone). Tests updated to the grid model: tab
render shows the folder-path input; drop join/branch/empty; edit re-routes and
prunes the emptied folder; ✕ removes. 71/71 classify specs pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 09:03:42 -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 chore: clear tech debt — green the suite + delete dead code 2026-06-13 12:02:51 -05:00
build-label.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
cap.spec.js feat(server,shared): tell denied users who can — subtly, before wasted effort 2026-06-12 14:58:20 -05:00
classifier.spec.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
classify.spec.js feat(classifier): By-transmittal is a per-file grid with a single folder-path input 2026-06-18 09:03:42 -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 chore: clear tech debt — green the suite + delete dead code 2026-06-13 12:02:51 -05:00
tokens.spec.js chore: clear tech debt — green the suite + delete dead code 2026-06-13 12:02:51 -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