Commit Graph

65 Commits

Author SHA1 Message Date
Jaco
ae9481c51d
Bump TS (#1009)
* Bump TS

* Adjust for TS
2022-03-01 10:27:46 +00:00
Jaco
607f4b3e3b
2022 (#957) 2022-01-01 09:26:35 +02:00
Jaco
fc76a8c4b6
Rename *.test.ts -> *.spec.ts (#948)
* Rename *.test.ts -> *.spec.ts

* *.test.tsx -> *.spec.tsx
2021-12-28 11:59:17 +02:00
Jaco
2884060027
Add tsconfig references (#929)
* Add tsconfig references

* Adjust

* tesconfig.eslint.json

* lint includes

* test paths
2021-12-14 08:44:38 +02:00
Thibaut Sardan
3d5d63b00a
Add account filtering feature (#832)
* add account filter

* Update packages/extension-ui/src/partials/Header.tsx
2021-11-07 13:38:55 +02:00
Jaco
c41566c461
Bump dev (w/ eslint 8 & fixes) (#855) 2021-10-18 08:11:26 +03:00
Jaco
5b61139bc8
Pass notification settings to background (#819)
* Pass notification settings to background

* Feedback
2021-09-15 07:39:16 +02:00
Jaco
8ea2d6fa4c
Condense menu (#818) 2021-09-14 14:45:52 +02:00
Shawn Tabrizi
e3221ca3ed
Add configurable notifications (#767)
* initial

* bump ui-keyring

* update names

* lint

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-09-06 10:57:36 +02:00
Jaco
6a9f58952e
Jest config cleanup (#807)
* Jest config cleanup

* jsx linting
2021-09-01 18:39:04 +02:00
Jaco
cf072c459b
Bump dev (w/ jsx linting) (#799) 2021-08-26 10:38:54 +02:00
雪霁
e37fdcf6f9
Batch export (#666)
* .

* finish export all

* finish export all

* .

* fix linting errors (warning is pending on password decision)

* .

* resolve conflicts

* .

* .
2021-03-16 15:14:28 +01:00
Thibaut Sardan
05e5d4d512
fix renaming position, enter and error background (#634) 2021-01-27 18:33:01 +01:00
Thibaut Sardan
8d351e06c4
Ledger nano support (#624)
* networks

* bump

* wip

* settings checkbox

* add @polkadot/networks and hw-ledger

* bump

* wip

* better error

* cleanup

* icon, cannot change genesis, tests for address and account

* clean workflow with refresh

* bump keyring

* I said bump keyring

* Add siging - unexpected call index

* can sign

* refactor

* refactor useLedger

* better error

* first time flow in a new window

* stray comments

* cleanup

* useless rerendering because of t :|

* Apply suggestions from code review

Co-authored-by: Jaco Greeff <jacogr@gmail.com>

* number casting after select

* Apply suggestions from code review

Co-authored-by: Jaco Greeff <jacogr@gmail.com>

* address comment

* parenthesis

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-01-21 15:22:28 +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
db23034502
Some more FR translations and fix a forgoten one (#600)
* translate and fix a forgoten one

* better translation
2020-12-24 15:13:52 +01:00
Thibaut Sardan
df88d6adab
Separate derivation and creation flow (#596)
* separate new and derived creation

* fix tests
2020-12-24 13:49:42 +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
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
a9dd655612
french translation (#529)
Co-authored-by: Github Actions <action@github.com>
2020-10-31 07:59:14 +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
Jaco Greeff
60fa6d2c33
Bump deps (#521)
* Bump deps

* linting

* React 17 support for enzyme
2020-10-23 14:12:11 +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
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
Thibaut Sardan
7c01b9e658
Refactor open window (#473)
* add mnemonic redirect like json

* undefined not allowed because request is a defined object

* Apply suggestions from code review

Co-authored-by: Jaco Greeff <jacogr@gmail.com>

* remove redirect

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-10-01 16:13:47 +02:00
Thibaut Sardan
d713f48a51
Fix missing translations (#475)
* fix fixmes

* fix translation generation
2020-10-01 15:51:06 +02:00
Thibaut Sardan
4fb1fd6067
Add i18n language change dropdown (#467)
* add dropdown and make it work

* clean up

* Update packages/extension-ui/src/util/languages.ts

* lint

* remove lang detection

* rename and clean up getLanguage options util
2020-09-30 21:19:29 +02:00
Jaco Greeff
bc4e57e353
SPDX (#459) 2020-09-17 16:12:32 +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
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
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
99b9596bdd
Menu for adding accounts (#366)
* Menu for adding accounts

* Cleanup menu, remove buttons
2020-06-07 09:27:18 +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
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
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
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
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
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 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
0d87b50a20
Rewrite yarn.lock (#305) 2020-04-01 23:24:07 +02:00