From b0e04cefea3b028e1316dd90cd571849d7c6595a Mon Sep 17 00:00:00 2001 From: busya Date: Mon, 27 Jul 2026 19:40:05 +0300 Subject: [PATCH] docs: compact buttons and full sidebar navigation --- docs/design/dashboard-testing-ux-prototype.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/design/dashboard-testing-ux-prototype.html b/docs/design/dashboard-testing-ux-prototype.html index 29bedb389..05226e3f4 100644 --- a/docs/design/dashboard-testing-ux-prototype.html +++ b/docs/design/dashboard-testing-ux-prototype.html @@ -16,7 +16,7 @@ Superset Tools · Dashboard testing UX
- +
◫
Superset Tools
QA
@@ -60,7 +60,7 @@ const pages=[...document.querySelectorAll('[data-page]')],crumbParent=document.querySelector('#crumbParent'),crumbCurrent=document.querySelector('#crumbCurrent'),live=document.querySelector('#live'); const labels={dashboard:['Dashboards','FI-0080'],agent:['AI Assistant','Scenario · FI-0080'],verification:['Git','Verify · release/1.4'],'load-profile':['Dashboards','New load profile'],'load-run':['Load testing','LR-2026-071'],dataset:['Datasets','dataset_finance_debt']}; document.querySelector('#variationMatrix').innerHTML=''.repeat(30); -function route(id){pages.forEach(p=>p.classList.toggle('active',p.dataset.page===id));document.querySelectorAll('.nav-item').forEach(n=>n.classList.toggle('active',n.dataset.route===id||(id==='load-profile'&&n.dataset.route==='dashboard')));if(labels[id]){crumbParent.textContent=labels[id][0];crumbCurrent.textContent=labels[id][1]}window.scrollTo(0,0)} +function route(id){pages.forEach(p=>p.classList.toggle('active',p.dataset.page===id));document.querySelectorAll('.nav-item[data-route]').forEach(n=>n.classList.toggle('active',n.dataset.route===id||(id==='load-profile'&&n.dataset.route==='dashboard')));if(labels[id]){crumbParent.textContent=labels[id][0];crumbCurrent.textContent=labels[id][1]}window.scrollTo(0,0)} function notify(text,tone='ok'){live.textContent=text;live.dataset.tone=tone;live.classList.add('show');clearTimeout(window.__toast);window.__toast=setTimeout(()=>live.classList.remove('show'),5000)} function reveal(id){const el=document.querySelector(id);el.classList.remove('demo-hidden');el.classList.add('demo-visible');el.scrollIntoView({behavior:'smooth',block:'center'})} function dagSet(stepId,state){const el=document.querySelector(`[data-dag="${stepId}"]`);if(!el)return;el.classList.remove('done','active','pending','skipped');el.classList.add(state);const icons={done:'✓ ',active:'● ',pending:'○ ',skipped:'⊘ '};el.textContent=(icons[state]||'')+el.textContent.replace(/^[✓●○⊘]\s/,'')}