Commit Graph

401 Commits

Author SHA1 Message Date
Jaco Greeff
e775b350af
Revert spinner margin adjustments (#2996)
* Revert spinner marging adjustments

* Remove extra div
2020-06-20 08:52:39 +02:00
Jaco Greeff
0f18e88022
Introduce signer busy (QR dupes) (#2994) 2020-06-20 08:23:42 +02:00
Jaco Greeff
1ee06b7c82
Improve status display via context (#2992) 2020-06-19 17:45:20 +02:00
Jaco Greeff
16eaca36f6
Suggest max values in bonding (leaving existential) (#2985) 2020-06-19 11:48:57 +02:00
Jaco Greeff
5460da3a48
Extend fund bonding warnings (#2980)
* Extend fund bonding warnings

* Fix warning display
2020-06-18 14:28:16 +02:00
Jaco Greeff
519af249f3
Disable QR seed import on IPFS (#2979) 2020-06-18 12:52:23 +02:00
Jaco Greeff
18bd0a6472
Bubble API extrinsic construction errors in extrinsics app (#2978)
* Display API extrinsic construction errors

* CHANGELOG
2020-06-18 09:03:24 +02:00
Jaco Greeff
a49093962e
Add i18n apply button (#2968) 2020-06-16 16:14:38 +02:00
Jaco Greeff
9da6b40024
Add proxied accounts, fix multisig cancel (#2958)
* Add proxied accounts, fix multisig cancel

* Multi toggle hides input

* Modal description
2020-06-15 15:51:55 +02:00
Jaco Greeff
fc5e75f01e
Alert for multisig approvals (#2953)
* Alert for multisig approvals

* Trigger on multisig events

* Allow display/submission of call data
2020-06-15 09:23:40 +02:00
Jaco Greeff
601ae6da08
Toss creaky signer Modal, revamp (#2933)
* Toss creaky signer Modal, revamp

* WIP

* WIP

* WIP

* WIP

* Basics seem working

* Adjust layout

* WIP

* Cleanups for unsigned

* Unsigned

* Start at signing-only

* Signing should be ok

* Signing operational

* Remove old modal

* Update packages/react-signer/src/Modal/TxSigned.tsx

* JS app integration

* Small styling adjustments

* Prelim proxy support

* Proxy on/off switch

* isProxyActive

* Multi + Proxy ordering (& testing)

* Proxy with multisig

* Remove debug logs

* Qr with 2 column layout

* Padding adjustments

* Cleanups

* Cleanup PaymentInfo

* Generic asset cleanup

* flatten

* Don't save latest values when filter is active
2020-06-14 18:59:22 +02:00
Jaco Greeff
15260c7369
Bump deps (UI & API) (#2946)
* Bump deps (UI & API)

* Adapt for new QR interface

* QueryableStorageEntry<'promise'>

* API bump
2020-06-13 00:11:19 +02:00
Jaco Greeff
3bbf2ab3be
Adjust external table links (collapse if none) (#2932) 2020-06-11 09:54:56 +02:00
Jaco Greeff
f44345dbd6
Disabled buttons in tables (#2926) 2020-06-10 20:06:26 +02:00
Jaco Greeff
63139f1519
0.44 (#2917) 2020-06-10 11:34:11 +02:00
Jaco Greeff
a9c1b08441
Withdraw with slashing spans (#2918)
* Withdraw with slashing spans

* prior length
2020-06-10 11:19:33 +02:00
Jaco Greeff
349a503b28
Button styling in tables (incl. spacing) (#2914) 2020-06-10 08:41:51 +02:00
Jaco Greeff
4b243c9ae9 Slight table css adjustments 2020-06-09 20:35:43 +02:00
Keith Ingram
2081464de8
Rewrite & update to page-contracts (#2873)
* first commit

* finish

* InputMegaGas, use BN consts'

* update util'

* tags issue

* manifest

* import bn_zero

* rm

* restore contract tags

* fix tags onClose

* sec to ms

* ms -> sec

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-06-09 14:56:10 +02:00
Jaco Greeff
3edbd726b5 Table borders (subtle) 2020-06-09 09:38:56 +02:00
Jaco Greeff
f5cf7a080a
Small table styling adjustments (#2904) 2020-06-09 09:20:53 +02:00
Jaco Greeff
8edc133af7
Remove password visibility indicators (#2903) 2020-06-08 21:36:55 +02:00
Jaco Greeff
b33af37fec
Use Inputaddress lastValue from state (no lookup when done) (#2902) 2020-06-08 16:06:03 +02:00
Jaco Greeff
51d7cd9a0b
Remove Button divider (#2899) 2020-06-08 07:51:16 +02:00
Thibaut Sardan
0091fc6e57
Add attestation to claims (#2734)
* init

* Attest component

* Add top notification bar

* better english

* back to 3 steps

* clean up

* in the middle of the refactoring

* Make TS pass

* Clea up some comments

* isPreclaimed

* isOldClaimProcess

* Attest vs Claim (#2737)

* Choose between Claim and Attest

* fix lint

* fix flow between claim and attest (#2738)

* Jaco's comments + Fetch StatementKind (#2741)

* Fix small bug in flow

* Add condition for the warning banner (#2742)

* prevent crash for older chains

* with useEffect

* should work

* back to something simple

* remove hoc

* fix CI

* Add ETH address field for non preclaimed addresses (#2746)

* Eth field

* fix

* remove stray logs

* Update packages/page-claims/src/index.tsx

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

* Update packages/page-claims/src/index.tsx

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

* Update packages/apps/src/overlays/Attest.tsx

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

* Show the amount of token that will be claimed (#2747)

* show amount in attest

* fix isApiReady

* fix lint

* Use counter instead of overlay (#2750)

* Use counter instead of overlay

* Add warning to claim (#2752)

* add warning

* css cleanup

* fix unused const

Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>

* Update packages/page-claims/src/Warning.tsx

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

* Update packages/page-claims/src/index.tsx

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

* Update packages/page-claims/src/index.tsx

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

* Update packages/page-claims/src/index.tsx

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

* Update packages/page-claims/src/index.tsx

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

* address comment shortcut

* set Ethereum address outside transfor and fix typos

* lint

* extract claims.preclaims to a hook

* address comments EthereumAddress type and avoid casting

* Missing isUnsigned

* use AddressMini in warning

* use a proper step for eth address field

* Add loading state

* remove log

* unwrapOrNull

* Update packages/page-claims/src/Warning.tsx

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

* fix for account plural translation

* lint

* Add getStatement function

* nits

* Fix lint

* Update packages/page-claims/src/Warning.tsx

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

* add statement

* statement component

* address comment unWrapOr

* test styling with long md

* add md to jest

* Update packages/page-claims/src/Statement.tsx

Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>

* copy text before

* lint

* Remove EthreumAddress type to avoid unexpected behaviors (#2796)

* remove EthreumAddress type

* createType when needed

* revert

* typo

* Enhance UX for claim process (#2797)

* update content

* init

* comment

* Add HTML components for statements (#2798)

* Add HTML components for statements

* Update packages/page-claims/src/statements/saft.tsx

* Update to final statements

* More nits

* Nits

* OnSuccess

* prevent display of empty statement when attested

* Small fixmes

* Update packages/page-claims/src/index.tsx

* fix isError not being red as expected

* remove word-break

* statement text in black

* attestation for -> accounc balance

* Update packages/page-claims/src/Statement.tsx

Co-authored-by: Logan Saether <x@logansaether.com>

* margin left instead of space

* I agree

* Use iframe

* update saft to QmXEkMahfhHJPzT3RjkXiZVFi77ZeVeuxtAjhojGRNYckz

* remove hash and duplications (#2814)

Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
Co-authored-by: Logan Saether <x@logansaether.com>
2020-05-26 11:49:12 +02:00
Jaco Greeff
e9f7b547fd
Extract state interfaces (#2805) 2020-05-25 10:05:14 +02:00
Jaco Greeff
c60ba8708a
Bumps w/ eslint (#2802)
* Bumps w/ eslint

* Additional

* Additional

* Additional

* Additional

* Remove style props

* Additional

* Additional

* Additional

* Additional (< 100)

* eslint passes, tsc next

* tsc fixes

* Update deps

* Update i18n
2020-05-24 19:41:14 +02:00
Jaco Greeff
023487e574
Tabs aliasses (#2773)
* Tabs aliasses

* Dummy build:electron & release steps

* Bump UI
2020-05-19 12:30:48 +02:00
Jaco Greeff
deeb8b11de
InputBalance default formatting with 3 decimals (#2766)
* InputBalance default formatting with 3 decimals

* Cleanup reformatting
2020-05-18 12:31:55 +02:00
Jaco Greeff
029b5c6c80
Adjust deps for new hooks rules (#2757) 2020-05-16 10:45:54 +02:00
Jaco Greeff
7b711316e9
Bump deps (#2753)
* Bump deps

* Fixes
2020-05-15 16:19:06 +02:00
Jaco Greeff
4e6824f272
Swap media query classes to numbers (lists) (#2733) 2020-05-13 11:17:45 +02:00
Jaco Greeff
baf29e7bc6
Display turnout (#2732) 2020-05-13 09:45:12 +02:00
Jaco Greeff
259af2bc11
Clearing of democracy votes (#2721)
* Clearing of democracy votes

* Indicate ongoing referendums
2020-05-12 13:02:18 +02:00
Jaco Greeff
9355efbe29
Adjust button sizes consistently (#2711) 2020-05-08 22:13:42 +02:00
Jaco Greeff
b5c2d9b239
Adjust IdentityIcon defaults (#2710) 2020-05-08 17:01:18 +02:00
Jaco Greeff
e31791563f
Multisig info in sidebar (#2702) 2020-05-07 15:38:32 +02:00
Jaco Greeff
e9ce2a88c5
Adjust button layouts (consistency) (#2697) 2020-05-07 09:53:52 +02:00
Jaco Greeff
783beb45e0
Small table background adjustments (#2682) 2020-05-03 10:13:03 +02:00
Jaco Greeff
f21ae871f3
Load all namespaces up-front (no indv. queries) (#2680)
* Move i18n app to settings (discoverability)

* Load all namespecas up-front (no indv. queries)
2020-05-03 08:53:59 +02:00
Jaco Greeff
ea3f342da5
Move i18n app to settings (discoverability) (#2679) 2020-05-02 13:46:10 +02:00
Jaco Greeff
3cdd78f31e
Custom i18n loader (with caching) (#2678)
* Custom i18n loader (with caching)

* Just the basics, cache on language identifier
2020-05-02 11:32:48 +02:00
Jaco Greeff
70045a9b85
Adjust i18next options for current (#2672) 2020-05-01 22:16:53 +02:00
Jaco Greeff
8cdb813255
InputNumber fix (#2669)
* InputNumber workaround for edit bug

* defaultValue robustness checks
2020-05-01 18:55:55 +02:00
Jaco Greeff
5b8894d167
Allow voting to use locked balance (#2668)
* Allow voting to use locked balance

* Update linting

* i18n strings
2020-05-01 14:46:57 +02:00
Jaco Greeff
92a6af7983
Adjust council modals with column layout (#2666)
* Adjust council modals with column layout

* Adjust to council icon

* Tip endorsement columns, remove duplicated Transfer modal
2020-05-01 11:39:03 +02:00
Jaco Greeff
30fac8c052
Adjust modal header (a change is as good as a holiday) (#2660)
* Adjust modal header (a change is as good as a holiday)

* Linting (memoizee types)
2020-04-30 11:50:48 +02:00
Jaco Greeff
fdd8374646
Small modal columns adjustment (#2659)
* Small modal columns adjustment

* Remove Button.Or

* Modal shadow
2020-04-29 23:32:39 +02:00
Jaco Greeff
c2d9a90eac
Adjust Treasury proposal modals (#2658)
* Adjust Treasury proposal modals

* Adjust styl;ing for disabled InputAddress
2020-04-29 17:59:59 +02:00
Jaco Greeff
bcd8287d99
Additional dialogs with helpers (democracy) (#2657)
* Additional dialogs with helpers (democracy)

* Balance button opacity
2020-04-29 15:08:13 +02:00