Commit Graph
123 Commits
Author SHA1 Message Date
Thibaut Sardan 539a0a9c5f fix back button (#438) 2020-09-07 17:38:40 +02:00
Jaco Greeff 12ce4af694 Basic optimizations (#432)
* Basic optimizations

* CHANGELOG
2020-09-04 16:53:34 +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 2d16ecea5a Small cleanups (#425)
* Small cleanups

* CHANGELOG
2020-09-03 19:36:27 +02:00
Jaco Greeff 91073cc8fb Extend popup width (#424) 2020-09-03 17:30:21 +02:00
Jaco Greeff 10e1eee36c Protect against requestIndex over/under (#423) 2020-09-03 17:12:43 +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 4407ffb0ba Make import from seed, QR & JSON options available on first-start (#419)
* Make import from seed, QR & JSON options available on first-start

* Cleanups
2020-09-03 10:39:14 +02:00
Jaco Greeff 49f8e89eb5 Derive using parent genesisHash (#420) 2020-09-03 10:24:32 +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 f4fc547c7e Close the no-accounts import (JSON/seed) hole (#388)
* Close the no-accounts import (JSON/seed) hole

* Use accounts (not hierarchy)
2020-07-11 11:25:27 +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 e9fe113b29 Unlock error display (#373)
* Unlock error display

* Bumps
2020-06-24 10:54:23 +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 5bdc3aec3a More small css adjustments (#353) 2020-06-01 14:57:32 +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
Jaco Greeff ba3b0d3c77 Small css class adjustments (#342)
* Small css class adjustments

* Additional

* Adjustments

* Update packages/extension-ui/src/partials/AddAccount.tsx

* Additional css movements

* Minor adjustments
2020-05-31 12:18:54 +02:00
Jaco Greeff db0b7e0eb3 Display child when parent has been removed (#349)
* Display child when parent has been removed

* Update packages/extension-ui/src/Popup/index.tsx

* Small styling updates
2020-05-31 10:51:29 +02:00
Jaco Greeff 262bef7a56 Update CHANGELOG with all latest (#345)
* Update CHANGELOG with all latest

* Bump with ui-settings ss58 renames
2020-05-30 10:52:46 +02:00
Shawn TabriziandJaco Greeff 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
Jaco Greeff 1be5dceeec Bump deps (#344) 2020-05-30 07:30:34 +02:00
Jaco Greeff 45d75aede0 Re-enable lines between settings (#341) 2020-05-27 11:14:47 +02:00
Jaco Greeff fba0754633 Fix for settings UI layout (half-effeort in previous PR) (#340) 2020-05-27 10:30:43 +02:00
Jaco Greeff 837fb52a3a Bumps w/ eslint (#338)
* Bumps w/ eslint

* Additional

* Additional

* Additional

* Additional

* Additional

* Linting done, tsc fixes remain

* Final round
2020-05-24 12:17:53 +02:00
Jaco Greeff 98d6c66de5 Allow for variable signed extensions, as supplied (#328)
* Allow for variable signed extensions, as supplied

* Small text updates
2020-05-14 10:01:29 +02:00
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 526f2a2612 Additional useCallback on inputs (#320) 2020-04-20 18:23:14 +02:00
Jaco Greeff 25e0ea7530 Stylelint (testing, non-required) (#317)
* Stylelint

* Minor cleanups

* Default parser

* Header eslint rule
2020-04-07 11:10:14 +02:00
Jaco Greeff 6324999ff3 Bump deps (#315)
* Bump deps

* Pull in native AccountsStore

* Integrate own AccountsStore

* Bumps

* Bumps, fix build
2020-04-06 11:49:27 +02:00
Jaco Greeff 75f9109cf4 Remove extensionizer indirection (#309)
* Remove extensionizer indirection

* Slight duplication

* Chrome mock

* Update package.json

* chrome types, chrome import
2020-04-03 13:06:25 +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 53d3ebce37 Show labels of account parent (#306)
* Show derived accounts indentation

* Add parent labels

* Update branch

* styling

* CR requests

* Slightly reword derive documentation

* Remove derivation path from account metadata
2020-04-03 10:45:30 +02:00
Ivan RukhavetsandVladStarostenko e3407782ed Add address copy button (#300)
* Add address copy button

* CR requests implemented

* Fix lint

Co-authored-by: VladStarostenko <38181661+VladStarostenko@users.noreply.github.com>
2020-04-02 11:30:02 +02:00
Ivan RukhavetsandGithub Actions 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