ZDDC/classifier/js
ZDDC 5f1df08077 fix(classifier): keep everything after "_" as one leaf when parsing a path
parseFolderLevels split the whole string on "-" and only looked for "_" in the
last segment, so a date revision shattered: "LKU-123456-PM-SCH-0001_2025-11-17
(IFI)" became …/0001_2025/11/17 (IFI). Split on the "_" first instead — the
tracking number (before "_") nests by "-", and everything AFTER the "_" is one
leaf kept whole, hyphens and all.

Test: the date-revision path yields …/0001/"2025-11-17 (IFI)".

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 14:56:12 -05:00
..
app.js ux(classifier): relabel the two JSON surfaces so their purpose is clear 2026-06-10 13:56:09 -05:00
classify.js fix(classifier): keep everything after "_" as one leaf when parsing a path 2026-06-10 14:56:12 -05:00
copy.js feat(classifier): persist & copy files inside .zip archives 2026-06-10 13:27:00 -05:00
dnd.js feat(classifier): drag-and-drop assignment (phase 3) 2026-06-09 12:23:38 -05:00
excel.js feat(shared): non-blocking toast helper available to every tool 2026-05-09 19:04:41 -05:00
filter.js Initial commit 2026-04-27 11:05:47 -05:00
persist.js feat(classifier): workspaces — scan-once, resume from snapshot (phase 6) 2026-06-09 15:07:40 -05:00
preview.js feat(classifier): persist & copy files inside .zip archives 2026-06-10 13:27:00 -05:00
resize.js Initial commit 2026-04-27 11:05:47 -05:00
scanner.js feat(classifier): zips are single files by default, toggle to expand as a folder 2026-06-10 14:34:25 -05:00
selection.js Initial commit 2026-04-27 11:05:47 -05:00
sort.js Initial commit 2026-04-27 11:05:47 -05:00
spreadsheet.js fix(classifier): drop vestigial Save-All delays that masked a fixed await bug 2026-05-21 17:07:28 -05:00
store.js Initial commit 2026-04-27 11:05:47 -05:00
target-tree.js feat(classifier): live filter box above each file tree (reveals matches + path) 2026-06-10 12:37:36 -05:00
tree.js feat(classifier): zips are single files by default, toggle to expand as a folder 2026-06-10 14:34:25 -05:00
utils.js Initial commit 2026-04-27 11:05:47 -05:00
validator.js Initial commit 2026-04-27 11:05:47 -05:00
workspace.js ux(classifier): relabel the two JSON surfaces so their purpose is clear 2026-06-10 13:56:09 -05:00