Rob Dawson
93af95f968
Minimal fix to the TokenSearch story to ensure it compiles and works. ( #13623 )
3 years ago
Ariella Vu
a5b114c4f9
Use ActionableMessage for ConfirmAddSuggestionToken warnings ( #13402 )
...
* ConfirmAddSuggestedToken: update duplicate logic
* ConfirmAddSuggestedToken: update duplicate fn names
* ConfirmAddSuggestedToken: add ActionableMessage
- fixes #13347
* base-styles.scss: deprecate .warning
* ConfirmAddSuggestedTokens: update @param desc
Co-authored-by: Alex Donesky <adonesky@gmail.com>
* ConfirmAddSuggestedTokens: update @param desc
Co-authored-by: Alex Donesky <adonesky@gmail.com>
* ConfirmAddSuggestedTokens: update @param desc
Co-authored-by: Alex Donesky <adonesky@gmail.com>
* ConfirmAddSuggestedTokens: update @param desc
Co-authored-by: Alex Donesky <adonesky@gmail.com>
* ConfirmAddSuggestedToken: clean JSDoc comments
- following GitHub suggestion commits
* ConfirmAddSuggestedToken: warning Learn More btn
* add zendesk-url constants
- use for ConfirmAddSuggestedToken & ImportToken pages
* storybook: add ConfirmAddSuggestedToken controls
* stories: add ConfirmAddSuggestedTokens states
* stories: rm unused args ConfirmAddSuggestedToken
* rn ZENDESK_URL -> ZENDESK_URLS
* AddSuggestedToken: check case-insensitive symbols
Co-authored-by: Alex Donesky <adonesky@gmail.com>
3 years ago
Alex Donesky
f087e501a1
Add modal with directions to re-add token as NFT ( #13291 )
...
* Add modal pop for NFTs previously added as tokens - with directions to re-add as NFTs
3 years ago
Alex Donesky
f7849a0b7c
Add error that redirects users to Import NFT page when they attempt to add an NFT on the Import Token page ( #13271 )
...
* Add error that redirects users to Import NFT page when they attempt to add an NFT on the Import Token page
3 years ago
David Walsh
10dc686505
Dark Mode Part 1: Switch to Using CSS Variables ( #13147 )
3 years ago
dragana8
fc185e3139
mainnet tokens autopopulate add token form fields when on custom networks #12087 ( #12800 )
...
Co-authored-by: Alex Donesky <alex.donesky@consensys.net>
3 years ago
Mark Stacey
7226357422
Fix `isMainnet` propType error ( #12951 )
...
A propType error was showing up during e2e tests with a `testDev`
build. It was caused by `process.env.IN_TEST` being treated as a
boolean, when in fact it is either the string `'true'` or a boolean.
`IN_TEST` has been updated to always be a boolean. `loose-envify` has
no trouble injecting boolean values, so there's no reason to treat this
as a string.
3 years ago
George Marshall
854fc71ae7
Organizing storybook to echo app folder structure ( #12796 )
...
* Organizing storybook to echo app folder structure
* Updating new stories to follow new convention from develop
3 years ago
Niranjana Binoy
3f8cbd5202
Removing the token detection announcement when the token detection is ON ( #12776 )
3 years ago
ryanml
54f57826c4
Fixing invalid prop type for ActionableMessage (ImportToken) ( #12377 )
3 years ago
Niranjana Binoy
9929820b88
Adding a Token detection announcement in Search tab ( #12152 )
3 years ago
kumavis
f472c2615a
CI - add metamaskbot comment "highlights" section for showing relevant storybook changes ( #12095 )
...
* ci/announce/highlight - add bot announcement section for "highlights" showing off important diffs + storybook highlights
* ci/announce/highlight - fix announcement message
* Update index.js
* xxx tmp xxx
* ci/announce/highlight - fix dirty file calculation
* ci/announce/highlight - try/catch wrap highlight generation for build stability
* ui - put fox emojis in the mascot component
* ci/announce/highlight - start storybook permalinks
* ci/announce/highlight - fix storybook permalink util
* ci/announce/highlight - fix storybook permalink util
* ci/announce/highlight - small styling fix
* storybook - use any easily predictable story id
* ci/announce/highlight - revert sample commit
* ci/announce/highlight - minimal documentation
3 years ago
Niranjana Binoy
49ddc48592
Adding search tab in import tokens for custom networks ( #12110 )
3 years ago
ryanml
069ebaf463
Using design system breakpoint values across ui/
3 years ago
Niranjana Binoy
05aadb38f2
Adding fake token warning and replacing `Add Token` labels with `Import Tokens` ( #11798 )
3 years ago