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
Thibaut Sardan
261e357bd5
with useEffect ( #609 )
2021-01-04 15:31:03 +01:00
Jaco Greeff
297b2af14c
2021 ( #605 )
2021-01-03 11:33:53 +01:00
Thibaut Sardan
f381fa1722
Some more tests for the Address component ( #599 )
...
* child accounts and network info with metadata
* typo
2020-12-24 10:46:12 +01:00
Thibaut Sardan
fb378d6f7b
Add tests for Address component ( #597 )
...
* generic test suite for ed, sr ecdsa and ethereum
* extend with account not from context
* stray comments
* with genesis hash and tiny bug fix!
* cleanup and external account name
* beforeEach -> beforeAll
2020-12-23 16:03:45 +01:00
Thibaut Sardan
3c43132cf0
Support ethereum accounts ( #560 )
...
* refactor restoration
* support eth icon
* hack with as any
* remove hack
* bump keyring
* recode and correctly import Json
* create and restore by seed
* lint
* glitch
* cleanup
* remove restoration and creation
* fix yarn.lock
* round icons
Co-authored-by: Github Actions <action@github.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-12-18 11:44:31 +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
07951f472b
hide too long names ( #581 )
...
Co-authored-by: Github Actions <action@github.com>
2020-12-12 10:44:44 +01:00
Thibaut Sardan
2ae1c6b86b
use account info to retrieve genesisHash ( #575 )
...
Co-authored-by: Github Actions <action@github.com>
2020-12-11 12:24:07 +01:00
Jaco Greeff
52505a9183
Dev bumps ( #576 )
2020-12-11 12:23:01 +01:00
Jaco Greeff
dec07f6e96
Bump dev (import sorting) ( #564 )
...
* Bump dev (import sorting)
* Bump dev
2020-12-08 11:20:57 +01:00
Jaco Greeff
58b1320d41
Use type import ( #556 )
...
* Use type import
* Small updates
2020-12-01 14:18:19 +01:00
Thibaut Sardan
10a7db7066
Fix error overlap and translation ( #557 )
...
* fix error overlap and translation
* translation
Co-authored-by: Github Actions <action@github.com>
2020-12-01 14:17:59 +01:00
Thibaut Sardan
1cb36bb73c
unify warning and error and add capslock warning ( #545 )
...
* unify warning and error and add capslock warning
* Update packages/extension-ui/src/Popup/Signing/Unlock.tsx
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
* Update packages/extension-ui/src/Popup/Derive/SelectParent.tsx
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
* check capslock using onKeyPress
* lint
* fix tests
* add test for caps-lock
Co-authored-by: Github Actions <action@github.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-11-25 13:20:07 +01:00
Thibaut Sardan
6b43954d05
Hide visibility button on signing popup ( #543 )
...
* hide visibility button
* Update packages/extension-ui/src/components/Address.tsx
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-11-24 12:12:58 +01:00
Thibaut Sardan
3aa54a081c
Ability to set account visibility from main screen ( #523 )
...
* set in/visibility on main screen
* change title
Co-authored-by: Github Actions <action@github.com>
2020-10-31 08:18:07 +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
6eb9c7ab31
Fix error field being shown before entering any name ( #522 )
...
* fix test and bug
* use useIsMounted hook
Co-authored-by: Github Actions <action@github.com>
2020-10-26 22:08:03 +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
34e16c2a04
Refactor password error in request pop up and remember checkbox ( #503 )
...
* error and remember checkbox refactoring
* make it build
* remove margin
Co-authored-by: Github Actions <action@github.com>
2020-10-20 16:34:48 +02:00
Thibaut Sardan
f4d705ed13
use overflow auto ( #511 )
...
Co-authored-by: Github Actions <action@github.com>
2020-10-20 15:18:10 +02:00
Thibaut Sardan
fe4148f12f
Use FontAwesome as much as possible ( #499 )
...
* header
* menuAdd
* bring in regular and ActionText
* settings menu
* replace arrow-left
* warning
* lock unlock derivation path
* fix test Header
* fix test Header
* alpha ordering
* neutral colors for menu icons
* Update package.json
* add a back button hover color (#502 )
Co-authored-by: Github Actions <action@github.com>
* Update package.json
* Apply suggestions from code review
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-17 17:03:01 +02:00
Thibaut Sardan
7d6542fba7
Use @polkadot/networks ( #504 )
...
* use @polkadot/networks
* address comments
* icon is set
* pull latest beta
* filtering out if no genesis
Co-authored-by: Github Actions <action@github.com>
2020-10-16 14:35:41 +02:00
Thibaut Sardan
a11244adf4
Show a specific icon on external account ( #484 )
...
* icon to show external account
* revert renaming
* lint
* use find instead of some
* before the name
* Update packages/extension-ui/src/Popup/Forget.tsx
* Update packages/extension-ui/src/components/Address.tsx
2020-10-10 12:01:05 +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
Thibaut Sardan
539a0a9c5f
fix back button ( #438 )
2020-09-07 17:38:40 +02:00
Jaco Greeff
206c0b4d85
Swap to actual react-i18next ( #431 )
...
* Swap to actual react-i18next
* Update i18n creation
2020-09-04 16:32:42 +02:00
Jaco Greeff
270930db9e
Plumbing for i18n (key -> key) ( #429 )
...
* Plumbing for i18n (key -> key)
* Update test text
* Apply suggestions from code review
* i18next-scanner for extraction
2020-09-04 15:34:15 +02:00
Jaco Greeff
8eae8a39b5
Small UI adjustments ( #428 )
...
* Small UI adjustments
* Bump api
2020-09-04 09:16:48 +02:00
Jaco Greeff
f215eb7d87
Asjust spinner buttons ( #427 )
2020-09-04 02:43:10 +02:00
Jaco Greeff
ae5d076de9
Display accounts first-and-foremost on all creations ( #426 )
...
* Display accounts first-and-foremost on all creations
* Fix tests
2020-09-03 22:36:49 +02:00
Jaco Greeff
91073cc8fb
Extend popup width ( #424 )
2020-09-03 17:30:21 +02:00
Jaco Greeff
a6a42fefed
Don't ask for the password for 15 minutes ( #421 )
...
* Don't ask for the password for 15 minutes
* lock-check logic
* only save expiry
* Adjust margin for unlock
* lock/password check
* CHANGELOG
2020-09-03 15:32:51 +02:00
Jaco Greeff
98f5088065
Bump dev ( #422 )
...
* Bump dev
* linting
* linting
2020-09-03 15:16:23 +02:00
Jaco Greeff
bb4f355ef6
0.32 ( #396 )
...
* 0.32
* Speed improvements for derivation (#397 )
* Speed improvements for derivation
* Cleanups
* Remove obsolete test
* Menu adjustments
2020-07-28 10:48:46 +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
e983cb5f6d
Add base known chain info to icon/ss58 display ( #386 )
...
* Add base known chain info to icon/ss58 display
* comment around ordering
* Adjust backgrounds
2020-07-07 14:30:16 +02:00
Jaco Greeff
cb8dd7d42d
Remove prop-types overrides ( #382 )
2020-07-02 11:20:19 +02:00
Jaco Greeff
baf9a7b0a1
Bump deps ( #381 )
2020-07-02 09:43:25 +02:00
Jaco Greeff
2b2d428868
Sort injected based on creation timestamp ( #368 )
...
* Sort injected based on creation timestamp
* Adjust shadow
2020-06-08 09:48:13 +02:00
Jaco Greeff
a7132a95aa
Adjust account menu position ( #367 )
2020-06-07 12:47:53 +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
Jaco Greeff
b21956f608
Use chain colors for badge display ( #357 )
2020-06-02 12:43:52 +02:00
Jaco Greeff
bda7f4aec1
Small adjustments in locations ( #356 )
...
* Small adjustments in locations
* Adjust banner location
* Test update
2020-06-02 11:05:15 +02:00
Jaco Greeff
f773342343
Tie account to genesis ( #355 )
...
* Tie account to genesis
* Allow (faster) partial retrieval
* Edit toggles menu
2020-06-01 17:46:30 +02:00
Jaco Greeff
3593bbe6d4
Allow accounts to be hidden, i.e. not injected ( #354 )
2020-06-01 15:49:05 +02:00
Jaco Greeff
56cc6b301a
JSON input styling via theme ( #352 )
2020-06-01 12:00:53 +02:00
Jaco Greeff
02a1837edb
Display address with current genesisHash ( #351 )
2020-06-01 11:15:48 +02:00
Jaco Greeff
6051ddc44c
Don't refesh on ss58 changes ( #350 )
2020-05-31 13:02:02 +02:00