Guillaume Roux
c9dc59ea2a
[FLASK] Snaps Insight ( #15814 )
...
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Co-authored-by: Hassan Malik <41640681+hmalik88@users.noreply.github.com>
2 years ago
Ariella Vu
93c609b117
Update reset.scss to revive <b> element font-weight ( #15784 )
...
* reset.scss: add comment
* reset.scss: revive <b> element font-weight
* scss: rm unused b {} style
* scss: rm .text b style
Co-authored-by: ryanml <ryanlanese@gmail.com>
2 years ago
Thomas Huang
ece5901b40
Unit tests for first time flow/new account and onboarding flow. ( #15625 )
2 years ago
Maarten Zuidhoorn
a52c6a4908
[FLASK] `snaps-skunkworks@0.19.0` ( #15619 )
...
* Bump snaps-skunkworks to 0.19.0
* Improve snap_getBip32Entropy UI
* Remove console.log
* Update LavaMoat policy
* Dedupe Yarn lock
* Update LavaMoat policy again
* Fix tests
* Update policies and e2e tests
* Update policy again
* Update iframe-execution-environment
* Dedupe yarn.lock
* Update snapshots
* Fix PR comments
* Add TODO
* Trigger CI
2 years ago
George Marshall
092189cb5b
Adding polymorphic 'as' prop to Box component and updating Typography component to use the same ( #15518 )
...
* Adding polymorphic as prop to Box component
* Updating Typography component to use 'as' as the polymorphic prop instead of 'tag'
* Fixing linting
2 years ago
Hassan Malik
a7179a6b88
[FLASK] Add update snap UI ( #15143 )
...
* added snap-update folder
* addded update route, snap update component, updated permissions connect components
* added actions and selectors
* updated permissions selectors and updated permissions connect container to have update snap logic
* updated translations, added selector, updated request object
* updated translations, added update snap permission list component
* more fixes
* added CSS, redid some HTML
* lint fixes
* Add missing grantPermissions action
* updated button padding
* fixes
* removed prop type
* fix Update & Install wrapping
* made changes for forthcoming snap controller PR
* removed ununsed imports
* updated css
* re-added padding rule and removed unused translation messages
* addressed comments
* add subtext for new permissions
* lint fix
* removed unused translations
* some more changes
* fix e2e tests
* lint fix
* added in delay for e2e tests
* Revert "added in delay for e2e tests"
This reverts commit 095962a2c0c9de0b0b343d3134bb0787044dd8ce.
* fixed routing logic
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Co-authored-by: Guillaume Roux <guillaumeroux123@gmail.com>
2 years ago
Guillaume Roux
9ce4a8f987
[FLASK] Fix key management permission copy ( #14849 )
2 years ago
Brad Decker
c72199a1a6
update prettier ( #15360 )
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
Hassan Malik
1f943a7d69
[FLASK] Fix snaps authorship pill ( #15190 )
...
* add truncation
* add title to show complete package name
* Remove hardcoded max-width
* truncation
* reduced max-width
* final changes
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Co-authored-by: eriknson <eriks@mail.se>
2 years ago
Dan Miller
bc6c60cde1
Revert "Merge pull request #15063 from MetaMask/revert-v10.16.0"
...
This reverts commit 4d42715220
, reversing
changes made to f09ab88891
.
2 years ago
Dan Miller
24662963c5
Revert "Merge pull request #15063 from MetaMask/revert-v10.16.0"
...
This reverts commit 4d42715220
, reversing
changes made to f09ab88891
.
2 years ago
Mark Stacey
925a19fa4a
Revert "Merge pull request #14912 from MetaMask/Version-v10.16.0"
...
This reverts commit f09ab88891
, reversing
changes made to effc761e0e
.
This is being temporarily reverted to make it easier to release an
urgent fix for v10.15.1.
2 years ago
Frederik Bolding
239f5f7fa6
Include snap version in pill ( #14803 )
...
* Include snap version in pill
* snaps authorship styling
* styling
* Fix linting
* Fix linting
Co-authored-by: eriknson <eriks@mail.se>
3 years ago
Frederik Bolding
5b8a69c721
Remove site origin on snap install ( #14752 )
...
* Remove site origin on snap install
* Fix linting + storybook
* Update local snap icon
* Fix storybook build
3 years ago
Hennadii Ivtushok
72d2977e72
Warn about multiple MetaMask instances running ( #13836 )
...
* Add text warning on startup page
* Try to detect extensions with browser API
* Setup messaging between different versions of extension
* Cleanup
* Cleanup
* Simplify check for multiple instances running
* Fix a doc string + use webextension-polyfill
* Fix test
* Mock webextension-polyfill
* Mock correctly
* Catch error and show warning in both extensions
* Mock as promise
* Address comments
* Rename build ids
* Run detection code only if Chrome
* Add Firefox warnings
* Cleanup imports
* Update connection ids
* Run detection code for Firefox
* Add test
* Add missing await
* Update tests
* Cleanup
* Cleanup
* Improve testing
* Improve tests
* Log errors from sendMessage
* Cleanup
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
3 years ago
Guillaume Roux
57818fabbe
Dark Mode: Remove ui colors ( #14184 )
3 years ago
Guillaume Roux
974491a3cf
Dark Mode: Remove white, black and gray color tokens ( #14186 )
...
* remove white, black and gray color tokens
* Update ui/pages/first-time-flow/seed-phrase/reveal-seed-phrase/reveal-seed-phrase.component.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Add RevealSeedPhrase story
Co-authored-by: George Marshall <george.marshall@consensys.net>
3 years ago
Frederik Bolding
29e083c4c4
Show snap version on install ( #13931 )
...
* Add version to Snap install page
* Fix text sizing inconsistency
* Use a localized string for shorthand versions
3 years ago
Hennadii Ivtushok
0461bbcded
Snap removal confirmation ( #13619 )
...
* Add Snap removal confirmation
* Add styling for Snap removal confirmation
* Update styling
* Update button margin
* Re-use styling code
* Address comments
* Update Popover props
* Lint
* Lint
Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com>
Co-authored-by: Erik Marks <rekmarks@protonmail.com>
3 years ago
Hassan Malik
e795c29b3f
Update snap install warning per designs and fix for popover component ( #13844 )
...
* updated snap install warning per designs, hotfix for popover component to remove box styles from it's scss file and introduce them as default props
* small fix
3 years ago
Frederik Bolding
c81912f6c5
Show snap version on install ( #13931 )
...
* Add version to Snap install page
* Fix text sizing inconsistency
* Use a localized string for shorthand versions
3 years ago
Hennadii Ivtushok
c666849c31
Snap removal confirmation ( #13619 )
...
* Add Snap removal confirmation
* Add styling for Snap removal confirmation
* Update styling
* Update button margin
* Re-use styling code
* Address comments
* Update Popover props
* Lint
* Lint
Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com>
Co-authored-by: Erik Marks <rekmarks@protonmail.com>
3 years ago
Hassan Malik
2bc7aab402
Update snap install warning per designs and fix for popover component ( #13844 )
...
* updated snap install warning per designs, hotfix for popover component to remove box styles from it's scss file and introduce them as default props
* small fix
3 years ago
George Marshall
395806943f
Updating colors in various components js and css ( #13831 )
3 years ago
Erik Marks
35ac762e10
Add Snaps via Flask ( #13462 )
...
This PR adds `snaps` under Flask build flags to the extension. This branch is mostly equivalent to the current production version of Flask, excepting some bug fixes and tweaks.
Closes #11626
3 years ago
Shane
bac20099e5
Removed memo status from snap-settings-card ( #13458 )
3 years ago
Mark Stacey
0aad0d55a4
Update the copy for the Flask welcome page ( #13223 ) ( #13244 )
...
* Update the copy for the Flask welcome page (#13223 )
* Update the copy for the Flask welcome page
The copy for the Flask Welcome page has been updated to better dissuade
users who are not the target audience, and to better explain the risks
of using Flask.
* Fix typo
* Suggested edits (#13225 )
* Suggested edits
* fixup! Suggested edits
Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com>
* Update app/_locales/en/messages.json
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com>
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
3 years ago
Mark Stacey
57e83ff82a
Fix a propType warning on the Flask welcome screen ( #13224 ) ( #13246 )
...
The first page of the Flask onboarding was causing a propType warning
to appear in the console. It was caused by the array of React Fragments
used to construct the ASCII fox; they were missing the `key` prop.
These fragments are static content, so React doesn't really need to
worry about what to do in the event they are re-ordered. The array
index has been used as the key to silence the warning.
3 years ago
David Walsh
10dc686505
Dark Mode Part 1: Switch to Using CSS Variables ( #13147 )
3 years ago
Hassan Malik
79867bcebe
Adding snaps authorship pill ( #12740 )
...
* added npm icon
* added snaps-authorship-pill component and story
* updated npm icon
* added classname
* added comments
* changed label to an h7
* updated default label, removed unnecessary font-weight prop
* moved npm icon to flask/icons and added storybook file
* added hover/focus logic
* updated hover logic
* updated hover logic
* added authorship pill scss to app-components, removed unnecessary handlers
* removed npm icon, added font-awesome icon, added font-awesome brands to scss imports
* removed icons directory, updated scss file to use the proper color for npm icon, updated component with correct size and added class to change color
* fixed linter errors
* added link to pill and its story, changed title of story
* changed link to open in new tab, moved classname to root element and made it inline-block
* fixed proptype comment
* fixed linter error
3 years ago
George Marshall
eb4f051b23
Adding SnapSettingsCard ui component ( #12655 )
...
* parent d89e5336a6
author georgewrmarshall <george.marshall@consensys.net> 1636692862 -0800
committer hmalik88 <hassan.malik@consensys.net> 1637342043 -0500
Initial SnapSettingsCard component
Updates to styles but having specificity issues so increased specificity
Updates to styles but having specificity issues so increased specificity
added overflow fix and added tests
lockfile update
prettier fix
added stylelint ignore
yarn.lock fixed
* merge conflict fix
* package/yarn fix
* fixed package.json
* updated lockfile...
* removed comment
* removed unnecessary key/val for chip status indicator color
* bumped lattice to 0.4.0 in package json, fixed yarn lock
* removed dupe entry in yarn lock
* ran yarn setup to update lock file
* updated chip label prop
* parent d89e5336a6
author georgewrmarshall <george.marshall@consensys.net> 1636692862 -0800
committer hmalik88 <hassan.malik@consensys.net> 1637342043 -0500
Initial SnapSettingsCard component
Updates to styles but having specificity issues so increased specificity
Updates to styles but having specificity issues so increased specificity
added overflow fix and added tests
lockfile update
prettier fix
added stylelint ignore
yarn.lock fixed
* merge conflict fix
* package/yarn fix
* fixed package.json
* updated lockfile...
* removed comment
* bumped lattice to 0.4.0 in package json, fixed yarn lock
* removed dupe entry in yarn lock
* ran yarn setup to update lock file
* Using IconWithFallback instead of SiteIcon, fixing icon prop, and adding status story and docs page
* Updating to follow storybook folder convention
* Updates to styles
* Adding localization
* added todo comment
Co-authored-by: hmalik88 <hassan.malik@consensys.net>
3 years ago
Olaf Tomalka
70386726f6
Implement Flask onboarding UI ( #12745 )
...
* Added Flask Experimental Area warning to OnboardingV2
* Added first time flow Flask Experimental Area warning
* Made both onboarding flows use one Experimental Area component
* Fix comments in React divs
* Fix unreachable code
* Fix build lint problems
* Changes after code review
* Added guards around route constants imports
* Code Review changes
* Update ui/components/app/flask/experimental-area/index.scss
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Code review changes
* Fix lint
* Update ui/components/app/flask/experimental-area/index.scss
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/app/flask/experimental-area/index.scss
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/app/flask/experimental-area/index.scss
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/app/flask/experimental-area/index.scss
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/app/flask/experimental-area/index.scss
Co-authored-by: George Marshall <george.marshall@consensys.net>
* fix lint
Co-authored-by: George Marshall <george.marshall@consensys.net>
3 years ago