Niranjana Binoy
6e5c2f03bf
Token detection V2 Flag Removal and Re-introducing the use of legacy token list when token detection is OFF ( #15138 )
...
* addding the legacy tokenlist, tuning token detection OFF by default, adding new message while importing tokens
updating the controller version and calling detectNewToken on network change
fixing rebase error
Run yarn lavamoat:auto for updating policies
updating lavamoat
Deleted node modules and run again lavamoat auto
fixing rebase issues
updating lavamoat policies
updating lavamoat after rebasing
policies
updating custom token warning and blocking detectedtoken link when tpken detection is off for supported networks
to update the token in fetchTosync
updating the contract map object
Revert build-system lavamoat policy changes
Move token list selection logic from components to getTokenList selector
updating the tokenList
Update lavamoat
Fix error
updating lavamoat
lint fix
fix unit test fail
fix unit test fail
lint fix
fixing rebase locale error
rebase fix
Revert build-system policy changes
temp
addressing review comments
* rebase fix
2 years ago
George Marshall
0692f7bf25
Updating content to sentence case and updating tests ( #15285 )
2 years ago
George Marshall
cdc0fed828
Update media query instances ( #15068 )
2 years ago
Nidhi Kumari
7424e98416
Updated all instances of "Component API" to "Props" in storybook documentation ( #15324 )
...
* replaced Component API with Props
* replaced Component API with Props in DOCUMENTATION.stories.mdx
* removed base avatar component
2 years ago
George Marshall
5592687df1
Updating design tokens package and shadow values with new tokens ( #15264 )
...
* Updating design tokens v1.8 and shadows
* Adding missing stories
* Some fixes and updates to css and stories
* removing unneeded story
* Fixing story order
2 years ago
Filip Sekulic
7d321c48e0
Removed ui related code from shared directory ( #15252 )
2 years ago
Alex Donesky
09164dcabb
Bump controllers v30.0.2 ( #14906 )
...
* bump @metamask/controllers to v30.0.2 and adapt
2 years ago
daniba
085126d275
Move search icon and add to storybook ( #14940 )
...
* move search icon || update imports || add to story
* Optimized svg path, updated icon api and updating colors
* update other icons
* update snapshot
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2 years ago
Guillaume Roux
71d0873ded
Add token standard to custom token details ( #14506 )
...
* use getTokenStandardAndDetails to get token standard
* remove console.log and fix test
* remove console.log
3 years ago
Guillaume Roux
7a9662b88e
Add token standard to custom token details ( #14506 )
...
* use getTokenStandardAndDetails to get token standard
* remove console.log and fix test
* remove console.log
3 years ago
ryanml
0c49bc14d4
Fixing 'Learn more' casing on import token screen ( #14529 )
3 years ago
Niranjana Binoy
89ce0cee85
Updating info ActionableMessage type to default ( #14385 )
3 years ago
Niranjana Binoy
07231e42b2
Update token detection logic to only control auto-detection ( #14251 )
3 years ago
Thomas Huang
2cd1472e3a
Fix imported component name and change size proptype type to string ( #14237 )
...
* Fix imported component name and change size proptype type to string
* Change IconTokenSearch size prop back to number and change usage to number
3 years ago
Niranjana Binoy
9f7c4eb658
Enable Token search functionality on supported networks ( #14034 )
3 years ago
jesseharte
4f1cee4b87
Change over ImportToken stories to use controls instead of knobs, update props in stories ( #14246 )
3 years ago
Guillaume Roux
a7ac83f9d3
Dark Mode: Swap hex colors in ui/pages ( #14214 )
...
* swap hex colors in ui/pages
* update snapshots
3 years ago
George Marshall
cf0bc662c1
Dark mdoe: token search icon ( #14213 )
3 years ago
George Marshall
729e89015f
Dark mode: search icon ( #14201 )
3 years ago
David Walsh
d15de941e3
Dark Mode: Remove grays ( #14175 )
3 years ago
David Walsh
86fb8e3a41
Dark Mode: Remove Malibu ( #14176 )
3 years ago
Guillaume Roux
8683282a6f
Dark Mode: Replace color occurences ( #14112 )
3 years ago
Brad Decker
9cea401022
extract determineTransactionType from tx controller ( #13737 )
3 years ago
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