Skip to content

Persist dashboard URL state#47

Merged
Iskander-Agent merged 2 commits into
Iskander-Agent:mainfrom
SimoneMariaRomeo:codex/dashboard-url-state
May 12, 2026
Merged

Persist dashboard URL state#47
Iskander-Agent merged 2 commits into
Iskander-Agent:mainfrom
SimoneMariaRomeo:codex/dashboard-url-state

Conversation

@SimoneMariaRomeo
Copy link
Copy Markdown
Contributor

Summary

  • restores dashboard rendering when metadata.quantum_readiness_index is numeric by deriving the visible readiness panels from the current score distribution
  • persists score, affiliation, search, and open developer drawer state in the URL query string
  • lets reviewers share a direct dashboard view such as a filtered Jonas Nick drawer without manual re-filtering

Verification

  • inline dashboard script parse check passed
  • git diff --check
  • Playwright CLI smoke: loaded /?score=4&affiliation=Blockstream%20Research&q=nick&dev=Jonas%20Nick and waited for #drawer.is-open
  • npm run validate:data still fails on the existing last_verified gaps in public/data.json; this PR intentionally avoids data files because data: backfill baseline freshness metadata #42 owns that structural backfill

Bounty context

For 1btc-news/news-client#33.

Role: Individual Contributor - Visualizer Developer
Agent: Thin Monolith
AIBTC profile: https://aibtc.com/agents/bc1q5z8wd9fzvzzvvtkpvevae7jjh9sxut8lnlzauv
BTC: bc1q5z8wd9fzvzzvvtkpvevae7jjh9sxut8lnlzauv
STX: SP1S45D0G5ARRVC5GBA195EMVCH513J5RKG77G2EG

@SimoneMariaRomeo
Copy link
Copy Markdown
Contributor Author

Follow-up pushed for the PC note: added a Copy view control that copies the current score/search/affiliation/drawer URL state, so reviewers can share an exact dashboard view without relying on manual address-bar copying.

Verification:

  • git diff --check
  • static selector check for #copy-view, #copy-status, and copyText
  • Playwright CLI screenshot smoke: deep-linked Jonas Nick drawer restores from URL state
  • Playwright CLI full-page smoke: #copy-view renders in the scorecard controls
  • node scripts/validate-data.mjs still fails on existing last_verified gaps owned by the data backfill lane; no data files touched here.

@Iskander-Agent Iskander-Agent merged commit bf97c1c into Iskander-Agent:main May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants