Thibaut Sardan
967b69ffde
Refactor seed import and add explicit derivation path field ( #619 )
...
* refactor import from seed
* stray import
* clean up duplicates
* remove unneeded global suri
* wip use AccountNamePassword component
* AccountNamePasswordCreation component and tests
* use in Derive and enhance test
* extract SeedAndPath in dedicated component
* fix disabled button
* pass address
* keep address in component
2021-01-13 10:31:26 +01:00
Jaco Greeff
297b2af14c
2021 ( #605 )
2021-01-03 11:33:53 +01:00
Thibaut Sardan
722fc4bf1a
Website access management ( #589 )
...
* list websites
* persist in local storage
* with filter and styling
* cleanup
* styling for long list
* fix icon alignment and lint
* Apply suggestions from code review
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
* add return ( )
* lint
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-12-17 14:02:53 +01:00
Thibaut Sardan
9b33cc579c
Use nunito fonts ( #530 )
...
* use nunito
* set to 400 (or remove since 400 is default)
* style.
Co-authored-by: Github Actions <action@github.com>
2020-10-30 09:55:09 +01:00
Thibaut Sardan
e7fb3651ab
Style component global cleanup ( #518 )
...
* ButtonArea
* List
* Box and Welcome screen
* Svg
* remove single used Title
* ValidateInput
* VerticalSpace
* View
* Export
* Forget
* DropdownAddress
* Accounts
* Request
* Authorize
* SelectParent
* Header
* Menu item spacing
* fix tests
* Apply suggestions from code review
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
* Refactor Request into smaller components (#519 )
* refactor into smaller components
* stray component
* Update packages/extension-ui/src/Popup/Signing/Request/SignArea.tsx
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
* lint
Co-authored-by: Github Actions <action@github.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
Co-authored-by: Github Actions <action@github.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-10-23 20:26:14 +02:00
Thibaut Sardan
91cfad0c0e
Add error boundaries with fallback component to show any error ( #471 )
...
* add error boundaries with fallback component
* use own ErrorBoundaries
* fix build
* simplistic implementation
* Update packages/extension-ui/src/components/ErrorBoundary.tsx
* keep fragments
* at the root only
* weird svg error
* double click needed
* remove trigger
* demove errorDisplay and move goHome to class
* cleanup and button
* Update packages/extension-ui/src/Popup/ImportSeed.tsx
* use trigger
* remove intentionnal error
* Update packages/extension-ui/src/Popup/index.tsx
* Update packages/extension-ui/src/components/ErrorBoundary.tsx
* fix build
* Update packages/extension-ui/src/Popup/index.tsx
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-10-10 10:42:35 +02:00
Jaco Greeff
bc4e57e353
SPDX ( #459 )
2020-09-17 16:12:32 +02:00
Jaco Greeff
837e1ecedd
Updates for JSON v3 ( #393 )
...
* Updates for JSON v3
* Bump ui
* isBusy markers
* isBusy button
* Spinner button
* Update tests
* Update packages/extension-ui/src/Popup/Export.tsx
* Adjust busy indicator
* Spinner colors
2020-07-22 13:59:42 +02:00
Jaco Greeff
99b9596bdd
Menu for adding accounts ( #366 )
...
* Menu for adding accounts
* Cleanup menu, remove buttons
2020-06-07 09:27:18 +02:00
Shawn Tabrizi
256c5d975f
Restore Account with JSON Backup ( #336 )
...
* initial mockup
* it works!
* forgot a file
* refactor a bit
* fix lint
* fix styling, refactor
* fix lint
* Apply suggestions from code review
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
* Open message rename
* Go back to root on import
* Only open in new when not in a window, add back
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-05-30 08:59:55 +02:00
Ivan Rukhavets
ed36ed24bb
Create new account as a child of a master account by default ( #318 )
...
* derive accounts for master account
* Add master field to account context (#75 )
* add master field to account context
* add tests for buildHierarchy function
* Fix selection master account
* Add path numeration for derived accounts (#76 )
* add path numeration for derived accounts
* Fix PR notices. Add util for Path generation.
* Correct test
Co-authored-by: Ivan Rukhavets <ivanruch@gmail.com>
Co-authored-by: VladStarostenko <vlad@DESKTOP-V12SRE8.localdomain>
* Add arrows to buttons (#77 )
* Add parent label (#80 )
* refactor parent label
* refactor parent label
* refactor parent label
Co-authored-by: Ivan Rukhavets <ivanruch@gmail.com>
* Implement new create account flow (#78 )
* Add copied snackbar (#83 )
* refactor parent label
* Add "Copied" snackbar
* Add "Copied" snackbar
* Hide suri input behind a spoiler (#84 )
* Disallow changing parent account when 'Derive' option is clicked (#82 )
* Add lock to path input (#85 )
Co-authored-by: VladStarostenko <38181661+VladStarostenko@users.noreply.github.com>
Co-authored-by: VladStarostenko <vlad@DESKTOP-V12SRE8.localdomain>
2020-05-11 12:27:00 +02:00
Jaco Greeff
c6d019fe3c
Cleanup some UI import locations ( #308 )
...
* Cleanup som UI import locations
* Remove content.inject (from elsewhere)
* Update index.tsx
2020-04-03 12:20:36 +02:00
Ivan Rukhavets
1af44b4264
Add validation to text inputs ( #299 )
...
* Add validation to text inputs (#56 )
* [CI Skip] 0.24.0-beta.3
skip-checks: true
* Change imports
* Refactor ValidatedInput.tsx to stop cloning elements
* Fix linter
* Fix lint
Co-authored-by: Github Actions <action@github.com>
2020-04-02 11:19:42 +02:00
Jaco Greeff
c9f4c2e4a6
Provide metadata from external source ( #288 )
...
* Provide metadata from external source
* Listing via metadata interface
* Updates
* UI update
* Storage & end-to-end
2020-03-26 11:01:33 +01:00
Jaco Greeff
7efd915506
Bump deps ( #216 )
2020-01-06 15:27:25 +01:00
Ivan Rukhavets
85db56cd0f
Redesign ( #203 )
...
* Inject theme using styled-components' ThemeProvider (#3 )
* Apply colors from design, styles refactoring (#5 )
* Add new tip and accounts screen without accounts (#7 )
* Sync with upstream (#10 )
* Use Nunito font (#11 )
* Create account first page (#14 )
* Customizable identicon (#13 )
* Inline buttons (#16 )
* Welcome screen styling (#17 )
* Account creation second step (#15 )
* Add new header (#20 )
* change welcome screen (#19 )
* Account screen (#18 )
* Update from upstream (#21 )
* Window title (#25 )
* New authorize (#24 )
* Refactor and remove unnecessary stuff from theme (#22 )
* refactor add accounts screen (#29 )
* Export and forget screens, change general padding to 24px (#27 )
* Signing screen (#26 )
* Import account screens (#31 )
* Change header with settings (#28 )
* Refactor button and mnemonic (#30 )
* Restyle checkbox (#33 )
* Remove opacity from background; add borders (#32 )
* Code style polishing (#34 )
* Move fileMock to __mocks__ (#35 )
* Add light theme (#36 )
* Small design changes (#38 )
* Change background color (#39 )
* Sync with upstream (#41 )
* Update screenshots in readme
* [CI Skip] 0.14.0-beta.7
skip-checks: true
* fix error for display menu (#42 )
* fix display of authorization (#43 )
* firefox scrol (#45 )
* small change for rename account (#44 )
* Sync with upstream
* Print and back button (#48 )
* delete print button and change cancel to back button
* Set body color (#49 )
* Fix the fix of account rename (#52 )
* Update generic sign screen (#47 )
* Improve UI/UX design (#53 )
* [CI Skip] 0.14.0-beta.10
skip-checks: true
* Improve QR code recognition on dark theme (#54 )
* Add proper tx/sign texts and headers (#55 )
Co-authored-by: Kamil Dąbrowski <kamil@ethworks.io>
2019-12-20 10:06:43 +01:00
Jaco Greeff
1154525111
Remove unicode icons (crappy on FF) ( #138 )
2019-09-05 16:00:25 +02:00
Jaco Greeff
d40f61d0b3
Add network prefix settings ( #97 )
...
* Add nework prefix settings
* Use setAddressPrefix
* Align dependencies (aka resolutions)
2019-07-18 12:51:27 +02:00
Jaco Greeff
d8728e473e
Display requests with Iconbox ( #32 )
...
* Display requests with Iconbox
* Make (X) clickable
* Remove cc-test-reporter
2019-05-26 14:56:18 +02:00
Jaco Greeff
f241e7191d
Introduce the enable() interface (prompts user) ( #20 )
...
* Introduce the enable() interface
* Provider
* Add auth requests to state
* injector comments
* Background extension list, spprove & reject
* Cleanups
* Untested, but the UI parts are there (test next)
* linting
* Not pretty, but seems to auth
* Small styling adjustments
* Adjust Box layout slightly
* Small styling adjustments
* signing -> transactions
* isDanger for links
* Styling defaults
2019-05-23 12:43:55 +02:00
Jaco Greeff
cdf5579b8e
Rework context with HOCs ( #16 )
...
* Rework context with HOCs
* Type for signing requests list
2019-05-21 17:25:39 +02:00
Jaco Greeff
0b6bcd2bb9
Initial commit aka code from heaven
2019-05-20 12:40:44 +02:00