[object Object]

← back to Rejected Prompts Viewer

rejected-prompts-viewer: href-to-deeper-data — category chips + badges + project = real drill anchors, URL-synced view/q/sort/bl/cats (deep-link/back-button)

05dd469255a4c833bcc314ad851db54ebf497303 · 2026-08-24 07:19:57 -0700 · steve

Files touched

Diff

commit 05dd469255a4c833bcc314ad851db54ebf497303
Author: steve <steve@designerwallcoverings.com>
Date:   Mon Aug 24 07:19:57 2026 -0700

    rejected-prompts-viewer: href-to-deeper-data — category chips + badges + project = real drill anchors, URL-synced view/q/sort/bl/cats (deep-link/back-button)
---
 public/index.html | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/public/index.html b/public/index.html
index 8b82f9d..0acab89 100644
--- a/public/index.html
+++ b/public/index.html
@@ -280,6 +280,8 @@ document.addEventListener('click', e=>{
 });
 
 restore();
+try { readURL(); } catch(_) {}
+window.addEventListener('popstate', () => { try{readURL();}catch(_){} el('viewseg').querySelectorAll('button').forEach(b=>b.classList.toggle('on', b.dataset.v===VIEW)); buildCatChips(); render(); });
 fetch(location.origin + '/api/rejections').then(r=>r.json()).then(d=>{
   ALL = d.items||[];
   el('gen').textContent = d.generated ? `Generated ${fmt(d.generated)} · scanned ${d.scanned_files||'?'} transcripts · ${d.confirmed_count||0} confirmed policy refusals` : '';

← 4f6cb19 wire drill.js: category badges and project names are now fil  ·  back to Rejected Prompts Viewer  ·  auto-data-snapshot: 2026-08-24T08:30:43 (1 data files) — dat a89f236 →