ZDDC/classifier/js
ZDDC 8473ed3393 feat(classifier): Folder Tree count badge reflects the active filters
The per-folder "direct+total folders / files" badge always showed the raw
scanned totals, even while a filter narrowed the tree — so "9+1799 folders,
0+6203 files" stayed put no matter what you filtered to.

computeVisible already does a single filtered pass (applying the Show checkboxes
via classifyAllows and the autofilter via nameHit); accumulate per-folder visible
direct/total counts there and have populateCount use them whenever a filter is
active (raw totals otherwise). So the badge now shows the post-filter totals for
both the autofilter and the Show checkboxes — a collapsed folder's badge tells
you how many matching items are inside.

Test: a filtered tree's root badge drops from "2 folders, 0+3 files" to
"1 folder, 0+1 file". Classifier suites 69 green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 09:47:11 -05:00
..
app.js refactor(classifier): drop "MDL from archive" — it lives in the tables tool now 2026-06-11 15:50:16 -05:00
classify.js feat(classifier): paste a "current name" column → match files by name 2026-06-15 08:52:48 -05:00
copy.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
dir-picker.js feat(classifier): "By existing" tab + multi-select directory picker 2026-06-11 19:39:55 -05:00
dnd.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
excel.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
filter.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
persist.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
preview.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
resize.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
scanner.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
selection.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
sort.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
spreadsheet.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
store.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
target-tree.js feat(classifier): paste a "current name" column → match files by name 2026-06-15 08:52:48 -05:00
tree.js feat(classifier): Folder Tree count badge reflects the active filters 2026-06-15 09:47:11 -05:00
utils.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
validator.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00
workspace.js ZDDC: document-control tools + zddc-server 2026-06-11 13:32:31 -05:00