t Claude (claude-opus-4-5-thinking) commited on
Commit
6d16370
·
1 Parent(s): c3812ef

ux: replace skip page confirm dialog with non-intrusive toast

Browse files

- Remove blocking confirm("Skip this page?") dialog
- Show brief "Skipping page..." toast instead
- Add small delay for toast visibility before proceeding
- Much better UX for quick page navigation

Co-Authored-By: Claude (claude-opus-4-5-thinking) <noreply@anthropic.com>

Files changed (1) hide show
  1. templates/cropv2.html +6 -2
templates/cropv2.html CHANGED
@@ -1300,8 +1300,12 @@
1300
  }
1301
 
1302
  async function processPage() {
1303
- if (!boxes.length && !confirm("Skip this page?")) return;
1304
-
 
 
 
 
1305
  ProgressBar.show(0.3);
1306
  document.getElementById('loader-overlay').style.display = 'flex';
1307
 
 
1300
  }
1301
 
1302
  async function processPage() {
1303
+ if (!boxes.length) {
1304
+ // Show non-intrusive toast and continue
1305
+ toast('Skipping page...');
1306
+ await new Promise(r => setTimeout(r, 300)); // Brief delay for toast visibility
1307
+ }
1308
+
1309
  ProgressBar.show(0.3);
1310
  document.getElementById('loader-overlay').style.display = 'flex';
1311