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> |
||
|---|---|---|
| .. | ||
| app.js | ||
| classify.js | ||
| copy.js | ||
| dnd.js | ||
| excel.js | ||
| filter.js | ||
| persist.js | ||
| preview.js | ||
| resize.js | ||
| scanner.js | ||
| selection.js | ||
| sort.js | ||
| spreadsheet.js | ||
| store.js | ||
| target-tree.js | ||
| tree.js | ||
| utils.js | ||
| validator.js | ||
| workspace.js | ||