Commit Graph

425 Commits

Author SHA1 Message Date
Jaco Greeff
d24d2882e4
Don't allow re-{validate, nominate} with active 0 (#3080) 2020-06-28 21:23:33 +02:00
Jaco Greeff
e34fa8f741
Add vesting claims (#3079)
* Add vesting claims

* Bump API
2020-06-28 16:35:38 +02:00
Jaco Greeff
e5e46accf6
Cleanup account menus (#3076) 2020-06-28 14:05:35 +02:00
Jaco Greeff
cb9abbdabb
Adjust asteriks layouts (#3068) 2020-06-27 15:11:01 +02:00
Jaco Greeff
029a4d85b0
Simplify IdentityIcon (#3065) 2020-06-27 13:24:26 +02:00
Jaco Greeff
7b9fec292c
Rework tags dependencies (#3063)
* Rework tags dependencies

* Remove size param
2020-06-27 12:38:48 +02:00
Jaco Greeff
97bbf311e3
Simplify AccountName caching (#3057) 2020-06-26 18:52:52 +02:00
Jaco Greeff
cb0aa838f8
Small optimizations (#3053)
* Small optimizations

* Additional tooltip
2020-06-25 22:19:10 +02:00
Jaco Greeff
01c020f62a
Cleanup label help (#3052) 2020-06-25 17:38:22 +02:00
Jaco Greeff
b78cc3fa2f
Adjust button rounding (#3051)
* Adjust button rounding

* ReferendumInfo icon
2020-06-25 15:34:35 +02:00
Jaco Greeff
5d7f07eca5
Small icon adjustments (#3050) 2020-06-25 14:50:19 +02:00
Jaco Greeff
97150f82c2
Cleanup peer deps (#3048)
* Cleanup peer deps

* Fix spinner size
2020-06-25 12:53:48 +02:00
Jaco Greeff
9d7027d236
Swap to fa spinner (#3047) 2020-06-25 11:50:07 +02:00
Jaco Greeff
ede19891e1
Swap Icon to FAIcon wrapper (#3046)
* Swap Icon to FAIcon wrapper

* Small tweaks
2020-06-25 11:00:36 +02:00
Jaco Greeff
a9d91cd1c3
Max-height to ui--output with scroll (#3042) 2020-06-24 16:53:44 +02:00
Jaco Greeff
364d3b9071
Allow entries() on map/doublemap (#3039) 2020-06-24 15:38:19 +02:00
Jaco Greeff
7289f02c81
Align staking status icons (#3027)
* Align staking status icons

* No content
2020-06-22 14:00:34 +02:00
Jaco Greeff
176c7e9e8b
API bumps & small block display adjustment (#3025)
* API bumps & small block display adjustment

* Adjust for new multisig metadata

* Staking table badge class
2020-06-22 12:10:56 +02:00
Jaco Greeff
410d0dd092
Fix Badge min-width (isSmall) (#3024)
* Fix Badge min-width (isSmall)

* Move sidebar balances to top
2020-06-22 09:54:22 +02:00
Jaco Greeff
de370cfde6
Adjust AddressMini with media (#3020)
* Adjust AddressMini with media

* Payout tables
2020-06-21 21:15:34 +02:00
Jaco Greeff
5bae454865
Media adjustments with AddressSmall (#3019)
* Media adjustments with AddressSmall

* Update packages/page-staking/src/Targets/Validator.tsx
2020-06-21 18:30:48 +02:00
Jaco Greeff
38704a5029
Display referendum voting status (#3016) 2020-06-21 11:10:41 +02:00
Jaco Greeff
f425edbceb
Shared staking filtering (#3009) 2020-06-20 22:24:16 +02:00
Jaco Greeff
d30b88b7f4
Adjust staking targets/overview sorting displays (#2999)
* Adjust staking targets/overview sorting displays

* Removce whack eslint bug comment
2020-06-20 14:02:42 +02:00
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