Daniel
2bd7127433
Swaps / STX improvements ( #14622 )
2022-05-09 18:48:14 +02:00
Frederik Bolding
9e401b14bf
Simplify removeSnap functionality after snaps-skunkworks update ( #14646 )
2022-05-09 18:19:34 +02:00
Brad Decker
564ad2f81b
Track send flow history on txMeta ( #14510 )
2022-05-04 11:54:46 -05:00
David Walsh
8a71f0f008
Add search information for Theme dropdown ( #14476 )
2022-05-04 09:57:01 -05:00
Daniel
9daab6aa59
Disable STX if a regular tx is in progress ( #14554 )
...
* Disable STX if a regular tx is in progress
* disableStxIfRegularTxInProgress : early return
* Fix UTs
* Trigger Build
2022-05-03 17:55:41 +02:00
Alex Donesky
12a088e638
Fix browser.tab.get call ( #14550 )
...
* update to expect promise from browser api polyfill rather than pass callback
2022-04-29 09:21:06 -05:00
George Marshall
ad1abaaef4
Updating text/muted to text/alternative for select text on home screen ( #14553 )
2022-04-28 06:03:12 -07:00
Guillaume Roux
6309d53650
Dark Mode : Add OS option in theme selection dropdown ( #14379 )
2022-04-28 14:36:28 +02:00
Frederik Bolding
27ad7279cd
Rename NotificationController to AnnouncementController ( #14389 )
...
* Rename NotificationController to AnnouncementController
* Fix test
* Add test for missing NotificationController state
* Bump controllers
* Move test to correct file
* Rename config key
* Add migration 71 to list of migrations
* Fix selector after migration
2022-04-27 10:36:32 +02:00
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
2022-04-26 12:08:14 -07:00
ryanml
0c49bc14d4
Fixing 'Learn more' casing on import token screen ( #14529 )
2022-04-26 10:25:07 -07:00
Alex Donesky
cf2c6a3164
show token approval details on confirm approve screen by default ( #14523 )
2022-04-26 10:21:52 -05:00
amerkadicE
8fef9fd8df
Update display of switching current network ( #13450 )
...
Co-authored-by: Amer Kadic <amerkadic@Amers-MacBook-Pro.local>
Co-authored-by: George Marshall <george.marshall@consensys.net>
2022-04-25 13:28:52 -05:00
Ariella Vu
78f4684b2a
MetaMetrics: Add EVENT.CATEGORIES const ( #14474 )
...
* MetaMetrics: add EVENT.CATEGORIES const
* MetaMetrics: add EVENT.CATEGORIES.INPAGE_PROVIDER
* MetaMetrics: add EVENT.CATEGORIES.AUTH
* MetaMetrics: add EVENT.CATEGORIES.ACCOUNTS pt. 1
* MetaMetrics: add EVENT.CATEGORIES.ACCOUNTS pt. 2
confirm we want to use 'Accounts' instead of 'Account'
* MetaMetrics: add EVENT.CATEGORIES.MESSAGES
* MetaMetrics: add EVENT.CATEGORIES.RETENTION const
* MetaMetrics: add EVENT.CATEGORIES.SETTINGS
* MetaMask: add missing EVENT.CATEGORIES.SNAPS
* MetaMetrics: add EVENT.CATEGORIES.WALLET const
* MetaMetrics: add EVENT.CATEGORIES.ONBOARDING const
* MetaMetrics: add EVENT.CATEGORIES.ONBOARDING
& EVENT.CATEGORIES.TRANSACTIONS consts
* MetaMetrics: use EVENT.CATEGORIES
* ducks/swaps: revert slice name
* MetaMetrics: add missing EVENT.CATEGORIES.NETWORK
2022-04-22 13:09:10 -03:00
Alex Donesky
fbeae57247
Add testnet name as prefix for native currency of preloaded testnets ( #14454 )
...
* add testnet name as prefix for native currency of preloaded testnets
2022-04-21 14:09:41 -05:00
Olusegun Akintayo
095cc94ed0
Add new token added event (duplicating the existing event structure) when collectible is manually added ( #14279 )
...
* Add new token added event (duplicating the existing event structure) when auto detection occurs for NFTs
Set source property to detected on the new token added event,
2022-04-21 13:29:39 -05:00
Dan J Miller
3ecc04e42d
Fix the alerts toggles in settings ( #14498 )
2022-04-21 09:48:03 -07:00
Hassan Malik
308c6e4fe3
Add snaps view search ( #14419 )
...
* add snaps view search
* add snaps view search
* fix to add in settings constants
* removed spread
* remove unused import
* add fencing
* more fencing
* ternary refactor, updated settings tests
* refactor
2022-04-19 11:08:09 -04:00
VSaric
e702da2194
Modify import SRP page ( #14425 )
...
* Modify Import SRP page
2022-04-18 15:12:16 -05:00
David Walsh
bcdd52f55a
Dark Mode: Implement Metrics ( #14455 )
2022-04-18 11:31:44 -05:00
Daniel
eed6ae2b8c
Swaps: Sort "token_from" dropdown tokens by their fiat value first and "token_to" by top tokens ( #14436 )
2022-04-15 14:57:58 +02:00
Dan J Miller
e768119dd0
Remove duplicate gas simulation error messages ( #14409 )
...
* Remove duplicate gas simulation error messages
* Fixing locales
* Fixing unit tests
* Fixing e2e
Co-authored-by: ryanml <ryanlanese@gmail.com>
2022-04-13 08:00:10 -07:00
Frederik Bolding
637a960d3c
Use correct casing for "learn more" ( #14412 )
2022-04-08 18:21:41 +02:00
Niranjana Binoy
89ce0cee85
Updating info ActionableMessage type to default ( #14385 )
2022-04-07 13:11:42 -04:00
George Marshall
9ce966ba1d
Storybook housekeeping 🧹 ( #14331 )
...
* Removing argTypes that are related to static props and don't have anything to do with the component. Also some general house keeping
* updates
2022-04-07 08:14:22 -07:00
Hassan Malik
e0e466490e
Settings search refactor ( #14350 )
...
* removed unnecessary eslint disable and removed key prop from SettingsSearchList
* removed unnecessary function, refactored settings pages to use only handleSettingsRefs
* simplified utils, removed unnecessary test
* updated usage of util functions
* fixed type error, allow for ampersand in search input
* removed unnecessary var
* fixed test
* fixes per comments
* fixed var name
* fixed property name
* changed some properties in SETTINGS_CONSTANTS to accept t param
* redid util functions
* changed from multiline comment to single line
* replace empty descriptions
* updated util logic
* fix undefined issue
2022-04-06 16:27:08 -04:00
Niranjana Binoy
07231e42b2
Update token detection logic to only control auto-detection ( #14251 )
2022-04-06 13:59:16 -04:00
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
2022-04-05 10:48:03 -07:00
Frederik Bolding
0556feb142
Add snap version to details page ( #14110 )
...
* Start to add snap version to details page
* Show install date
* Clean up
* Address PR comments
2022-04-04 19:40:24 +02:00
ryanml
7e7b97d7c9
Improving identicon settings accessibility ( #13760 )
...
* Improving identicon settings accessibility
* Make settings keyboard accessible
2022-04-04 10:36:56 -07:00
Daniel
fc17fbe1ad
Swaps timer improvements, optional refresh rates and fix for a notification UI ( #14300 )
...
* Set up correct timer value for fetching new quotes
* Show red timer in Swaps if quotes fetching will happen in less than 10s (previously it was 30s)
* Fix a UI issue with the notification close button
* Make stx refresh rates optional, since not every network supports them
2022-04-04 15:14:50 +02:00
George Marshall
dfd3e233e8
color fix for hover on swaps quote ( #14334 )
2022-04-02 06:40:33 -07:00
filipsekulic
8cb1f4af2e
Renamed metametrics.new.js to metametrics.js ( #14327 )
2022-04-01 14:11:12 -05:00
George Marshall
e62678464c
Fix/14302 about fox logo ( #14308 )
2022-04-01 07:00:33 -07:00
George Marshall
8edeb9a281
Fix/14230 dark mode fixes ( #14305 )
...
* Dark mode fixes
* removing unused icon svg
2022-03-31 13:11:06 -07:00
Pieter Tolsma
cb1890d928
Convert knobs and actions to controls/args for CountdownTimer ( #14222 )
...
Co-authored-by: Pieter Tolsma <pietertolsma@Pieters-MacBook-Air.local>
2022-03-31 13:31:31 -05:00
filipsekulic
59131f5da5
Deleted the old metametrics.js ( #14292 )
2022-03-31 12:10:19 -05:00
VSaric
8184b150cb
Redesign screen/page "List of networks" ( #13560 )
...
Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
2022-03-31 09:41:39 -05:00
Niranjana Binoy
8174aaa6b5
Adjusting the padding in Alert / error state ( #13819 )
2022-03-31 10:02:47 -04:00
George Marshall
4bb2582200
Swaps select quote highlight fix ( #14270 )
2022-03-31 08:58:09 -05:00
Niranjana Binoy
9f7c4eb658
Enable Token search functionality on supported networks ( #14034 )
2022-03-31 09:48:05 -04:00
Olusegun Akintayo
3c2e4e9c9e
Add asset_type to 'Tokens Added' event. ( #14252 )
...
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
2022-03-31 11:43:26 +04:00
David Walsh
00025afe4c
Dark Mode: Remove unwanted background for price quote ( #14278 )
2022-03-30 15:42:18 -07:00
David Walsh
9d7f4d2005
Ensure proper color for swaps edit link ( #14273 )
2022-03-30 14:54:25 -07:00
Olusegun Akintayo
4ac0f82125
Add token standard to Token Added event. ( #14253 )
...
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
2022-03-31 00:25:49 +04:00
ryanml
085c9753de
Ensure Metafox follows cursor on Fetching quotes screen ( #14261 )
2022-03-30 10:54:01 -07:00
BoxedFruits
950de390b3
GasModalPageContainer story: convert knobs and actions to controls / args ( #13516 )
2022-03-30 08:46:37 -05:00
Daniel
69d7c51c56
Show STX switch for wrapping / unwrapping ( #14225 )
2022-03-30 10:02:55 +02:00
jesseharte
4f1cee4b87
Change over ImportToken stories to use controls instead of knobs, update props in stories ( #14246 )
2022-03-29 15:20:19 -07:00
Jurriaan Den Toonder
1521e63913
Change over FeeCard stories to use controls instead of knobs, update props in stories ( #13766 )
...
This PR changes over the deprecated knobs and actions in `fee-card.stories.js` to controls.
I attempted to create a `README.mdx`, but unfortunately the `<ArgsTable of={FeeCard} />` refused to render out any of the documentation comments I added to the `FeeCard.propTypes`, thus that has not been included (and no documentation has been added to the propTypes of FeeCard).
_Please note:_ currently nested arg types are not possible in StoryBook, but discussions are open: https://github.com/storybookjs/storybook/issues/11486 . This means that the StoryBook shows `primaryFee`, `primaryMaxFee`, `secondaryFee` and `secondaryMaxFee`, but these are mapped to the 2 `primaryFee` and `secondaryFee` props of the component. This is visible if the developer clicks on the `Show code` button at the docs page in StoryBook.
Signed-off-by: Jurriaan Den Toonder <1493561+Fastjur@users.noreply.github.com>
2022-03-29 16:13:00 -06:00