Skip to content

feat: add registry export controls - #143

Merged
dubemoyibe-star merged 1 commit into
stenion-lab:devfrom
Fhatu12:feat/140-current-state-export-ui
Aug 31, 2026
Merged

dubemoyibe-star merged 1 commit into
stenion-lab:devfrom
Fhatu12:feat/140-current-state-export-ui

Conversation

@Fhatu12

@Fhatu12 Fhatu12 commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

What this changes

Adds CSV and JSON export controls to the registry page for the current-state export introduced in #139.

The controls use native links to the existing export endpoint because it already returns Content-Disposition: attachment with deterministic filenames. Registry search/filter/sort state is intentionally not included in export URLs.

Closes #140.

Verification

  • pnpm format:check
  • pnpm lint — passes with the existing unrelated scripts/capture-fixture.mjs unused-URL warning
  • pnpm typecheck
  • focused registry/export tests — 60 passed
  • pnpm test
  • pnpm build
  • pnpm build:dashboard
  • git diff --check

Independent QA also validated the exact candidate against an ephemeral PostgreSQL 16 database with all migrations applied:

  • CSV download: HTTP 200
    • Content-Type: text/csv; charset=utf-8
    • Content-Disposition: attachment; filename="stenion-registry-current.csv"
  • JSON download: HTTP 200
    • Content-Type: application/json; charset=utf-8
    • Content-Disposition: attachment; filename="stenion-registry-current.json"
  • omitted format defaults to JSON
  • unsupported format returns HTTP 400
  • filtered registry query parameters do not alter export output
  • native CSV/JSON anchors remain independent of registry filter/search/sort state
  • desktop and narrow/mobile registry layouts were visually checked
  • anti-vacuity mutation proved the new export-link assertions fail when the format mapping is wrong

Checklist

  • Base branch is dev, not main.
  • pnpm build, pnpm lint, pnpm typecheck, and repository validation pass.
  • On-chain method/field confirmation: N/A — no adapter or on-chain changes.
  • *Safety factors: N/A — no scoring changes.
  • No fabricated numbers — no scoring/data computation changes.
  • methodology/ update: N/A — no methodology change.
  • No new dependencies.

@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown

@Fhatu12 is attempting to deploy a commit to the Oyibe's projects Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Aug 31, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
stenion Ready Ready Preview Aug 31, 2026 10:49pm

@dubemoyibe-star

Copy link
Copy Markdown
Contributor

Nice work bro 🔥🔥
I'll do a minimal review 🕊️

@dubemoyibe-star dubemoyibe-star left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work
Merging!!!!!

@dubemoyibe-star
dubemoyibe-star merged commit e870b38 into stenion-lab:dev Aug 31, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — 4129bdab Deployed Aug 31, 2026 by vercel[bot]
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