Skip to content

Show Theme Tokens and BitPlan documents correctly in the wallet - #108

Merged
rohenaz merged 1 commit into
omegafrom
codex/ordinal-document-cards
Aug 31, 2026
Merged

rohenaz merged 1 commit into
omegafrom
codex/ordinal-document-cards

Conversation

@rohenaz

@rohenaz rohenaz commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

What changed

  • uses one batched OrdFS metadata lookup to recover canonical origin, content type, app, and name when wallet tags are sparse
  • recognizes Theme Token packages, shows their real artwork and name, and opens the canonical Theme Token preview
  • labels encrypted application/x-bitplan assets as BitPlan Documents instead of unknown content
  • makes the wallet and Ordinals skeletons match the final page shell, toolbar, and square card grid

Why

The wallet should explain the assets it holds without guessing that opaque application data is an image. The supplied Nightrider token is an OrdFS package whose identity lives in indexed MAP metadata; BitPlan is an encrypted document MIME type.

Verification

  • 139 tests pass
  • Biome and TypeScript pass
  • production build passes
  • route integrity passes
  • React Doctor changed-files scan: no issues
  • Shadscan: pass on /, /wallet, and /wallet/ordinals at 320x820 and 1440x1000
  • authenticated browser: Nightrider artwork loaded at 1200x630; three BitPlan cards rendered and canonical links verified

Scope boundary

The remaining Refresh required badge is separate: legacy outputs without the wallet-owned id: tracking tag remain non-actionable. Display metadata must not silently become spend authority.

Linear: OPL-4042

@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
1sat-website Ready Ready Preview Aug 31, 2026 4:58am

Request Review

@rohenaz
rohenaz merged commit cfa1c2e into omega Aug 31, 2026
3 checks passed
@rohenaz
rohenaz deleted the codex/ordinal-document-cards branch August 31, 2026 04:59
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.

1 participant