Repository navigation
Add a first-visit welcome guide to the trading dashboard - #279
Open
pythonyx135793 wants to merge 3 commits into
Open
pythonyx135793 wants to merge 3 commits into
pythonyx135793 wants to merge 3 commits into
Conversation
This branch has not been 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.
Closes #13.
Adds the instructions-only welcome guide on the first visit to the trading dashboard. It explains CAP and the dashboard, links to official instructions for transfers from Arbitrum, and includes the separate funding-to-Arbitrum path. The Ethereum withdrawal delay and token/network checks are covered; the guide does not initiate transfers.
Dismissal is remembered separately from trading preferences, and the header’s ? button reopens the guide. Escape, backdrop and explicit dismissal controls work on desktop and narrow screens. The guide waits for the existing country check and preserves restricted-country handling.
Validation:
npm testpasses all 9 policy tests on Node 24.19/npm 11.17; the production Rollup build passes. Controlled Chromium checks cover first visit, dismissal/reload, Escape after focus leaves the dialog, reopening/focus restoration, 390px and 320px layouts, dashboard tabs and the existing leverage modal. These use the real components with synthetic local market/country fixtures and disabled wallet/API boundaries. No live wallet or bridge transaction was tested; cross-market navigation is unverified. Original and fixed builds retain the same 213 existing warnings.For the advertised $500 bounty, my preferred payout methods are PayPal, Wise bank transfer and USDC. Other wallets, currencies or crypto work too if you pay a different way, and I'm happy to share details privately.