Preview Contract Explorer design directions - #60
Draft
willemneal wants to merge 3 commits into
Draft
Conversation
Keep preview flags out of live environments; document Cloudflare setup.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Review the directions
This PR includes isolated Cloudflare hosted-preview support. The one-time Cloudflare GitHub connection is still required before a hosted URL appears; see Hosted preview setup. Until then, the full-size screenshots below and local interactive preview remain available.
Run the interactive preview
Open
http://localhost:5173/explorer-preview. The comparison page links to all three directions:/explorer-preview/continuum/explorer-preview/workbench/explorer-preview/consoleThe fixtures are deterministic and do not make network calls, request real signatures, or submit transactions. Use the fixture picker, screen tabs, theme toggle, and mobile control to exercise each direction.
01 — Registry Continuum
Quiet and provenance-first; the screen unfolds from identity to code to interaction.
02 — Focused Workbench
Task-first, dense, and closest to the current Registry UI language.
03 — Collaborative Console
Execution and Nido approval state are peers when a call becomes a proposal.
Responsive example (320px)
Current design lean
Use Focused Workbench as the structural foundation, import Registry Continuum provenance hierarchy, and reveal Collaborative Console approval state when an invocation becomes a proposal.
Included behavior
/explorer-previewHosted preview support
wrangler.preview.jsoncenables preview URLs on the dedicatedregistry-uiWorkernpm run build:previewuses Testnet endpoints, clears inherited named environments, and validates the generated upload configurationValidation
npm ciwith the repository-required npm 10.9.0npm run typechecknpm run lintnpm run buildnpm run build:previewCLOUDFLARE_ENV=stellarThe same gallery and instructions live in
docs/contract-explorer-previews/README.md.