From afcba81e61043eaa7711cc3b538ff54e12c3e2a1 Mon Sep 17 00:00:00 2001 From: ZDDC Date: Tue, 9 Jun 2026 15:23:26 -0500 Subject: [PATCH] ux(classifier): default to Classify & copy; relabel the mode toggle The top-level toggle is a tool choice, not the two classification axes (those are the By-tracking / By-transmittal tabs inside Classify & Copy). Default to the Classify & copy workflow and relabel the toggle 'Classify & copy' / 'Rename in place' so its purpose is clear; the in-place spreadsheet stays one click away. 'Use Local Directory' now opens in Classify mode too. Co-Authored-By: Claude Opus 4.8 (1M context) --- classifier/js/app.js | 3 +++ classifier/template.html | 14 +++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/classifier/js/app.js b/classifier/js/app.js index 329ff80..3afc440 100644 --- a/classifier/js/app.js +++ b/classifier/js/app.js @@ -378,6 +378,9 @@ async function openDirectory(dirHandle) { app.rootHandle = dirHandle; enterAppShell(); + // Default to Classify & Copy (the primary workflow). The user can switch + // to "Rename in place" via the toggle for the spreadsheet. + setMode('classify'); // Now scan directory (this will trigger store updates and renders) await app.modules.scanner.scanDirectory(dirHandle); } diff --git a/classifier/template.html b/classifier/template.html index 36f3843..c53be4f 100644 --- a/classifier/template.html +++ b/classifier/template.html @@ -31,8 +31,8 @@
- - + +
@@ -69,8 +69,8 @@
- -
+ +

Files

@@ -131,8 +131,8 @@
- -
+ +
@@ -189,7 +189,7 @@
-

— or — rename a folder of files in place: click Use Local Directory above (quick, no workspace).

+

— or — click Use Local Directory above to open a folder without saving a workspace (good for a quick look or an in-place rename via the “Rename in place” toggle).