feat(frontend): add a welcome guide for connecting with Wallet Gateway - #229
Merged
Merged
Conversation
First-time visitors see a three-step dialog that shows how to connect the demo through Wallet Gateway: pick it in the wallet picker, sign in with the `unsafe` client secret, then change the primary party. - `TopBar/ConnectGuide.tsx` renders the `?` button before the connect button and the dialog, built on `Modal` and Ark's steps. - The dialog opens once on first load. Closing it saves `vesting.connectGuideSeen` in `localStorage`; the `?` button opens it again. - The gateway link uses `WALLET_GATEWAY_UI_URL`, the origin of `VITE_WALLET_GATEWAY_URL`, so deployments link to their own gateway. - `StepBar` moves to `components/` now that `CreateGrant` and the guide both use it. - `ThemeToggle` exports `roundButtonClass` so both header buttons share one look. Closes #222
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Summary
Closes #222
New visitors to the demo do not know which wallet to use or how to sign in. A short guide shows them the way.
Changes
?button before the connect button opens it again at any timeunsafecan be copied with one clickVITE_WALLET_GATEWAY_URLNotes
Acceptance criteria
?buttonTest plan
Automated tests
pnpm installpnpm -C dapp/frontend testManual verification
./scripts/dev-stack.sh up?in the header; expect the dialog again at step 1Breaking changes
None.
Checklist
Screenshots
Screen.Recording.2026-09-23.at.17.42.20.mov