Commit Graph

382 Commits

Author SHA1 Message Date
Jaco
0036f31d55
Bump deps (#7824)
* Bump deps

* Bump common & API
2022-07-04 13:23:42 +03:00
Jaco
d13630bc9e
Fix multisig for >2 thresholds (#7589) 2022-05-16 14:34:55 +03:00
Jaco
650a4167ef
Disable multisig button is no weight retrieved (#7580) 2022-05-15 10:10:37 +03:00
Jaco
057f6c10d5
Adjust all LinkExtrenal to icons (#7513) 2022-05-03 15:17:21 +03:00
Jaco
fdc4dc3501
Silence React test warnings (#7429) 2022-04-23 09:10:02 +03:00
Jaco
374bb47335
Adjust Menu.Item with label prop (#7413) 2022-04-21 10:52:48 +03:00
Jaco
c77168960d
Bump deps (#7393)
* Bump deps

* Remove Rococo resets

* Additional bumps

* Bump concurrently

* Bump testcontainers

* Bump react-i18next

* React 18 (w/ SideBar test hack)

* react-markdown + rehype-raw

* Jest, 0, Jest ... get your ESM act together now.

* ... sprinkle awaits
2022-04-19 11:25:37 +03:00
Jaco
2f385280ea
Bump dev deps (#7375) 2022-04-14 14:47:13 +03:00
Jaco
0e54bb3643
Adjust options for useTxBatch (#7311) 2022-04-06 08:21:07 +03:00
Gilles Barnier
7429414fb6
Add "Copy" icon to the User Sidebar (#7235)
* PR 7209 fixes

* Update packages/page-accounts/src/Sidebar/AddressSection.tsx

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

* Update packages/page-accounts/src/Sidebar/AddressSection.tsx

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

* Update packages/page-accounts/src/Sidebar/AddressSection.tsx

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

* Update packages/page-accounts/src/Sidebar/AddressSection.tsx

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

* corrections on PR 7209

* corrections on PR 7209

* fixed based on Jegor s comments

* replaced donothing with NOOP function

Co-authored-by: Jaco <jacogr@gmail.com>
2022-04-04 11:05:13 +03:00
Jaco
7679546a76
Bump deps (#7249)
* Bump deps

* cryptoWaitReady()
2022-03-28 09:18:02 +03:00
Jaco
fc752f4bf8
Fix vanity readability (#7231) 2022-03-25 16:45:09 +02:00
Jaco
7f0a05ca67
Bump dev (#7212)
* Bump dev

* linting

* s/function//
2022-03-23 08:03:11 +02:00
Jaco
a3a57b9508
Unwrap active when field available (#7176)
* Unwrap active when field available

* || instead of ?? (less compile magic)
2022-03-17 12:00:58 +02:00
Jaco
e17a1725cd
Small cleanups (#7044) 2022-02-25 11:24:22 +02:00
Jegor Sidorenko
989e698698
Allow to upload a JSON file with the list of multisig signatories (#6911)
* Allow to upload a JSON file with the list of multisig signatories

* Fix linter errors

* Chore

* Toggle between signatories input modes
2022-02-04 07:03:11 +02:00
Jaco
c41139403e
Adjust treasury summary (only isApproved bounties) (#6898)
* Adjust tresury summary (only isApproved bounties)

* Update deps

* Adjust Ledger imports

* Adjust...
2022-01-29 12:08:31 +02:00
xnorly
0a313a277c
Fix plural/singular (#6319)
* Fix plural/singular

When upgradableCount is 1, the banner should use singular: "You have 1 extension that needs"
Otherwise the banner should use plural: "You have 2 extensions that need"

* move conditional outside and duplicate strings

* Update packages/page-accounts/src/Accounts/BannerExtension.tsx

Co-authored-by: Jaco <jacogr@gmail.com>
2022-01-17 14:27:35 +02:00
Squirrel
c7a8a6080b
Clearer proxy docs. (#6502)
* Clearer proxy docs.

* Apply suggestions from code review

Co-authored-by: Jaco <jacogr@gmail.com>
2022-01-17 14:27:04 +02:00
Jaco
5174f5ffbe
Bump API & common (#6797)
* Bump API & common

* BN imports

* Root imports

* Bump
2022-01-07 17:37:36 +02:00
Greg Hill
5a1d71a344
don't crash transfer model if balances is not available (#6787)
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
2022-01-05 13:29:28 +02:00
Jaco
51835328db
2022 (#6764) 2022-01-01 09:30:15 +02:00
Jaco
b36daf6c21
Bump deps (#6610) 2021-11-28 09:37:31 +02:00
Jaco
a1523209d9
No derivation on Ethereum (not implemented) (#6591) 2021-11-22 11:22:31 +02:00
Jaco
0a26f52103
Bump @polkadot deps (#6514)
* Bump @polkadot deps

* Bumps
2021-11-07 12:09:50 +02:00
Jaco
b957353d22
Hooks (most, no generic) via createNamedHook (#6451) 2021-10-30 17:30:43 +03:00
Jaco
c6e239b9f9
Use balances.transferAll as available & applicable (#6399)
* Use balances.transferAll as available & applicable

* Adjust with only ?:
2021-10-24 20:17:04 +03:00
Jaco
e8abc149b0
Take isEditable flag into account for account edits (#6397) 2021-10-24 17:15:55 +03:00
Jaco
64e3182ab2
Ensure disabled menuitems are shown as disabled (#6394) 2021-10-24 16:27:16 +03:00
Jaco
861c44dc91
Swap type mismatch to error (isEthereum networks) (#6391)
* Swap type mismatch to error (isEthereum networks)

* Don't import ethereum on non-isEthereum
2021-10-24 09:46:50 +03:00
Jaco
7ff500787d
Enable Ledger desktop via node-hid (#6385)
* Enable Ledger desktop via node-hid

* Node?

* Pass isElectron prop
2021-10-23 17:10:12 +03:00
Jaco
39a681cb27
Correct check depositor for multisig cancel (#6382) 2021-10-23 16:12:43 +03:00
Jaco
ba974c720c
Cater for Ledger 25 word mnemonics (#6380) 2021-10-23 14:39:52 +03:00
Jaco
dca2378d2b
Use *RuntimeProxyType from metadata v14 (#6359)
* Use *RuntimeProxyType from metadata v14

* Stub for registry.lookup
2021-10-21 08:23:45 +03:00
Jaco
f512c1a539
Bump de & api (w/ __Unused on enum) (#6326)
* Bump de & api (w/ __Unused on enum)

* Linting fixes

* tsc adjustments

* Api bump
2021-10-17 16:37:57 +03:00
xnorly
a3360a1e19
Fix Typo in Accounts/Account.tsx (#6318) 2021-10-16 08:40:52 +03:00
MiZiet
96266b21ff
Apply styles to the unbonding icon (#6314) 2021-10-15 17:54:14 +03:00
Krzysztof Jelski
2ee4019eb2
Increase UI test timeouts and mark interBTC unreachable (#6247)
* Mark Westend interBTC as unreachable

* Increase timeout when searching for component in UI tests

* Remove the Westend interBTC chain

* Restore the Westend interBTC chain
2021-10-06 20:48:15 +03:00
MiZiet
ca6c592349
Style redeemable balance (#6220)
Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
2021-10-06 14:53:17 +03:00
Ewa Kowalska
03a58ad8e7
Style badges in accounts list (#6208) 2021-10-06 11:48:47 +02:00
MiZiet
053e0efca2
Split registrars display (#6157)
* Add subs modal

* Add tests

* Add Translations

* Improve closing modal

* Improve tests

* Improve styles

* Style balances & identity

* Optimize imports

* Improve styles

* Set greater width to balance section

* Rename subs modal toggle

* Change 'amount' to 'count' in test name

* Set make modal header fixed while content is scrollable

* Style multisig

* Update multisig styles

* Capitalize headers

* Move sidebar tests to Sidebar.spec.tsx

* Remove duplications in tests

* Add UserIcon component

* Revert subs modal changes and add scrollable section in Sidebar

* Remove unused styles

* Use accountsPage clearAccount method

* Wrap subs into Expander

* Add useSubidentities hook

* Adjust api mock in tests

* WIP - split judgements

* Display judgements

* Handle no judgements case

* [WIP] Add popup test

* Extract JudgmentTag component

* Add popup test

* Refactor tests and remove pointer from no judgements tag

* Extract JudgementTag test class

* Close popup on scroll

* Remove old section

* Clean registration

* Clean up identity in useAccountInfo and mock in Page

* Remove fragment tag

* Fix imports

* Move SortedJudgements to /types

* Move Registrar interface to types

* Refactor clickRegistrar fcn

* Move hasAccount check to isRegistrar

* Add useJudgements hook

* Rename and move getJudgementColor to utils

* Fix import and casting in tests

* Sort imports

* Add review fixes

* Fix tests

Co-authored-by: Krzysztof Jelski <krzysztof@ethworks.io>
Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-09-29 10:45:34 +02:00
Ewa Kowalska
93091ba434
Fix colouring issue when filtering (#6166)
* WIP - fix coloring

* Fix row coloring

* Remove unnecessary test

* Apply review suggestions

* Update yarn lock file

* Apply review suggestion

* Restore row coloring in Extensions.tsx

* Remove unused field index in class Row

Co-authored-by: MiZiet <michalzietalak@o2.pl>
2021-09-22 15:52:14 +02:00
Ewa Kowalska
1e7dc8b399
Apply the same filter and buttons style to Contacts as in Accounts (#6155)
* Extract FilterInput component

* Apply filter input and buttons style as in accounts

* Remove filter--tags class name
2021-09-20 19:52:27 +02:00
Jaco
829830b83a
Adjust query type display (#6150)
* Adjust query type display

* linting

* Fix test page
2021-09-19 17:58:56 +02:00
MiZiet
42ef182879
Style identity and balance sections in sidebar (#6096)
* Add subs modal

* Add tests

* Add Translations

* Improve closing modal

* Improve tests

* Improve styles

* Style balances & identity

* Optimize imports

* Improve styles

* Set greater width to balance section

* Rename subs modal toggle

* Change 'amount' to 'count' in test name

* Set make modal header fixed while content is scrollable

* Style multisig

* Update multisig styles

* Capitalize headers

* Move sidebar tests to Sidebar.spec.tsx

* Remove duplications in tests

* Add UserIcon component

* Revert subs modal changes and add scrollable section in Sidebar

* Remove unused styles

* Use accountsPage clearAccount method

* Wrap subs into Expander

* Add useSubidentities hook

* Adjust api mock in tests

* WIP - split judgements

* Revert mistaken commit

Co-authored-by: Krzysztof Jelski <krzysztof@ethworks.io>
Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
2021-09-19 08:49:23 +02:00
Jaco
73e3a32aba
Support for v14 metadata (#5927)
* Support for v14 metadata

* sessionIds as map or array

* Cleanups

* Some storage page adjustments

* Arg mapping, no filterOrigin

* Use base64Encode in metadata

* Cleanups

* Storage cleanups

* Additional

* Use API types

* typo

* Storage historic compat

* Const input type

* Bumps

* Bumps

* Bumps

* Force salt to string
2021-09-18 08:18:51 +02:00
Krzysztof Jelski
ca8bbd1836
Reduce warnings in tests (#6132)
* Change i18next from wait to suspense (resolves console warning in app and in tests)

* Reduce error and warning output in fast tests
2021-09-16 15:08:53 +02:00
Krzysztof Jelski
59b9e7aae2
Change global jest setup and teardown from TS to CommonJS (#6129) 2021-09-16 12:20:15 +03:00
Ewa Kowalska
079ad21f6d
Extract input for filtering by name or tags (#6089)
* Extract input for filtering by name or tags

* Remove unnecessary div

* Change width of filter input and move group buttons
2021-09-16 07:06:48 +02:00
Ewa Kowalska
52b706ef14
Apply collapsible row styling for addresses (#6122)
* Apply collapsible row for addresses

* Apply merge improvements

* Style buttons

* Restore unused export

Co-authored-by: MiZiet <michalzietalak@o2.pl>
2021-09-15 08:54:48 +02:00