Commit Graph

371 Commits

Author SHA1 Message Date
Jaco Greeff
818668e9de
Small CardSummary adjustments (#3263)
* Small CardSummary adjustments

* Adj.

* Spacing
2020-07-24 21:17:03 +02:00
Jaco Greeff
7af66875b9
Proper angle/percentage calc from BN (#3261) 2020-07-24 19:38:14 +02:00
Jaco Greeff
65db25b254
Firm up on change controller (#3214) 2020-07-16 18:11:42 +02:00
Jaco Greeff
0c5f2754cf
Native toggle component (#3209) 2020-07-16 13:30:34 +02:00
Jaco Greeff
b1def01f5b
Society bid modal (& unbid, bidder overview counter) (#3194)
* Society bid modal (& bidder counter)

* Add unbid button (when bidder)
2020-07-14 15:41:26 +02:00
Jaco Greeff
8ed93360d9
Rework Button (#3171)
* Rework Button

* Input dropdown buttons

* Adjust cursor & border (InputNumber SI, disabled)

* first/last-of-byte in Button.Group

* Cleanup classes

* Cleanup linting

* Small cleanups

* Swap to actual <button ...>

* Sidebar adjust

* Adjust className creation

* Adjust signer toggle

* Button disabled cursor

* Poll adjust loading

* Basic buttons, SideBar with theme

* Adjust button styling

* Adjust Button shadows
2020-07-13 21:25:12 +02:00
Jaco Greeff
7f519f73e3
Small usage cleanups (#3163)
* Small usage cleanups

* Adjustments for nodes

* Hopefully sort out Badge/Icon alignment

* ui--Icon pointers
2020-07-11 11:24:50 +02:00
Jaco Greeff
1c7865cf65
Adjust Badge to inline default (as used) (#3150)
* Adjust Badge to inline default (as used)

* Default to isTooltip with hover set
2020-07-09 13:40:46 +02:00
Jaco Greeff
f5efb7769b
Name query filter on targets (#3144)
* Name query filter on targets

* s/name/filter

* Apply ?filter=<string> on all Filtered wrappers
2020-07-08 13:03:35 +02:00
Jaco Greeff
ca5a5a95c1
Indicate own nominees on targets (#3133)
* Indicate own nominees on targets

* icon prop to Badge

* AddressName cachin cleanups
2020-07-07 07:55:54 +02:00
Jaco Greeff
a6d81c9530
Hide unbond funds when active is 0 (#3115) 2020-07-03 08:49:19 +02:00
Jaco Greeff
91261a0bc2
Add withdraw action to staking (#3113)
* Add withdraw action to staking

* Add action
2020-07-03 07:47:34 +02:00
Jaco Greeff
6a95966b88
Apply favorites consistently (#3105) 2020-07-01 17:32:03 +02:00
Jaco Greeff
6a393256a4
Bump API, cater for new OpenTip structure (#3096)
* Bump API, cater for new OpenTip structure

* Simplify assignment

* Cleanups after latest typescript-eslint breakages

* More...

* Last-ish round
2020-06-30 13:43:06 +02:00
Jaco Greeff
728c2f9837
Add missing t(...) wrapper (#3094) 2020-06-29 16:39:01 +02:00
Jaco Greeff
d24d2882e4
Don't allow re-{validate, nominate} with active 0 (#3080) 2020-06-28 21:23:33 +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
3d7c08c689
Loading on payout era toggle (#3045)
* Loading on payout era toggle

* Some in-place BN adjustments

* More in-place additions
2020-06-24 22:28:03 +02:00
Jaco Greeff
c19082a113
Toggle for recent vs full era queries on payouts (#3044) 2020-06-24 21:25:14 +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
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
028cabb9f6
Disable target nominations in election (#3014) 2020-06-21 10:02:21 +02:00
Jaco Greeff
f425edbceb
Shared staking filtering (#3009) 2020-06-20 22:24:16 +02:00
Jaco Greeff
67e9d8225f
Target toggles (#3008)
* Additional target toggles

* Adjust toggle bar
2020-06-20 21:33:52 +02:00
Jaco Greeff
26318a2d8f
Best only on elected (#3007) 2020-06-20 21:12:44 +02:00
Jaco Greeff
3e6a3ae23f
Add missing elected badge on staking waiting (#3006) 2020-06-20 20:52:31 +02:00
Jaco Greeff
9b07c14ae0
Display waiting in targets (#3000)
* Display waiting in targets

* Bondtotal filter re-add

* Bump API
2020-06-20 15:53:54 +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
60906c6391
Remove order counter (not useful anymore) (#2993) 2020-06-19 17:54:49 +02:00
Jaco Greeff
cf1b6f38b1
Filter waiting list (#2990) 2020-06-19 15:02:30 +02:00
Jaco Greeff
a393d2eae8
Fix targets with zero input (#2989)
* Fix targets with zero input

* Simpler or check
2020-06-19 14:53:06 +02:00
Jaco Greeff
e6ca9829a0
Check for funded controllers (#2987) 2020-06-19 13:28:20 +02:00
Jaco Greeff
16eaca36f6
Suggest max values in bonding (leaving existential) (#2985) 2020-06-19 11:48:57 +02:00
Jaco Greeff
767eb7c873
Handle isForceAlways for era lengths (#2981) 2020-06-18 15:31:06 +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
6ec846d25e
Sort payouts from oldest to newest (#2952) 2020-06-14 11:23:22 +02:00
Keith Ingram
b6d022e7ac
iadd fix (#2911) 2020-06-09 17:29:57 +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
dc7b4cb449
Multisig final detection (#2900) 2020-06-08 11:25:21 +02:00
Jaco Greeff
26b70cdf9f
Filter empty rewards (#2881)
* Filter empty rewards

* Keep to 40 eras
2020-06-04 17:37:35 +02:00
Jaco Greeff
644bfb00b3
API updates with exposures (#2845)
* API updates with exposures

* Rewrite yarn.lock
2020-05-28 13:38:10 +02:00
Jaco Greeff
9a62b7d857
Display free balance for bonding (#2844) 2020-05-28 09:44:09 +02:00
Jaco Greeff
5e36ab6fe1 Revert "Check ForceNone (#2835)"
This reverts commit 824bf2f61c.
2020-05-27 19:12:32 +02:00
Jaco Greeff
824bf2f61c
Check ForceNone (#2835)
* Check ForceNone

* type import

* Unneeded .?
2020-05-27 18:45:42 +02:00
Jaco Greeff
11d54e734a
Pass small commission (1 PerBill) (#2815)
* Pass small commission (1 unit)

* Bump API
2020-05-26 15:45:06 +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
ed84dfa53f
0.42 (#2793) 2020-05-22 08:39:17 +02:00
Jaco Greeff
4c63371318
Hide payouts on no accounts (#2779)
* Hide payouts on no accounts

* Redirect timeout
2020-05-20 13:36:04 +02:00
Jaco Greeff
41902fb93d
Sort payout eras for display (#2775) 2020-05-19 14:16:57 +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
892895b8fa
Disable batching usage without utility pallet (#2760)
* Disable batching usage without utility pallet

* Formatting
2020-05-17 09:17:47 +02:00
Jaco Greeff
2294f39ebf Nominations fix (via NominateInfo) 2020-05-16 17:24:36 +02:00
Jaco Greeff
029b5c6c80
Adjust deps for new hooks rules (#2757) 2020-05-16 10:45:54 +02:00
Jaco Greeff
1171fe6dfb Fix bonding errors 2020-05-15 20:41:34 +02:00
Jaco Greeff
401c147020
New stake steps (#2754)
* New stake steps

* Controller jiggle

* 2 step validation

* Fatal errors on validation

* Cleanups

* Fix auto-select before rewards
2020-05-15 17:05:27 +02:00
Jaco Greeff
7b711316e9
Bump deps (#2753)
* Bump deps

* Fixes
2020-05-15 16:19:06 +02:00
Jaco Greeff
e57e5eeb48
Ecdsa pair support (#2751) 2020-05-14 13:40:23 +02:00
Jaco Greeff
4e6824f272
Swap media query classes to numbers (lists) (#2733) 2020-05-13 11:17:45 +02:00
Jaco Greeff
b5c2d9b239
Adjust IdentityIcon defaults (#2710) 2020-05-08 17:01:18 +02:00
Jaco Greeff
517470fc0b
Align line splits along era boundaries (#2706) 2020-05-08 10:03:37 +02:00
Jaco Greeff
2667dbc56c
Adjust icons for more options (#2698) 2020-05-07 11:28:20 +02:00
Jaco Greeff
6241dfa97e
Adjust remaining staking modals with columns (#2696) 2020-05-07 10:15:36 +02:00
Jaco Greeff
be3b21cfea
Align payout page loading, display (#2685) 2020-05-04 14:12:54 +02:00
Jaco Greeff
783beb45e0
Small table background adjustments (#2682) 2020-05-03 10:13:03 +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
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
0d11423ea3
Split waiting/inactive nominees (#2655) 2020-04-29 12:40:47 +02:00
Jaco Greeff
2b2b7d3695
Modal columns for democracy modals (#2654) 2020-04-29 10:26:00 +02:00
Jaco Greeff
038d459e89
Modal column boxing (#2651) 2020-04-28 21:28:33 +02:00
Jaco Greeff
9e8709e4eb
Justify modal columns (#2650) 2020-04-28 17:11:31 +02:00
Jaco Greeff
b6f90bf4e4
Columar modals (currently starting in staking) (#2649) 2020-04-28 16:37:59 +02:00
Jaco Greeff
57d8bfc80e
Cleanup InputNumber, simplify (#2648) 2020-04-28 13:46:49 +02:00
Jaco Greeff
b04cac4427
Add the 64+ payouts display (#2647)
* Add the 64+ payouts display

* Re-add sorted filter for amount

* Count adjust
2020-04-28 11:43:09 +02:00
Jaco Greeff
dde3920ae2
Adjust target AddressMini padding (#2645) 2020-04-28 09:46:07 +02:00
Jaco Greeff
ee7c4fa45b
Allow pre-select option when nominating (#2644)
* Allow pre-select option when nominating

* Pre-select as default (faster initial operation)
2020-04-28 09:18:41 +02:00
Jaco Greeff
5e60d4d1e2
Pass targets from root (on-demand render) (#2643)
* Pass targets from root (on-demand render)

* Fix type import
2020-04-27 23:58:28 +02:00
Jaco Greeff
0e74acd19f
Add hook for targets (#2642) 2020-04-27 23:02:46 +02:00
Jaco Greeff
a32d7cf421
Hack around broken Kusama preimages (#2640) 2020-04-27 19:21:38 +02:00
Jaco Greeff
e410cc1473
Allow selectable targets (#2637) 2020-04-27 16:30:52 +02:00
Jaco Greeff
1f6ffea2b8
i18n linting script (missing, extra) (#2629)
* i18n linting script (missing, extra)

* Correct missing top-level check

* Cleanup dead keys, split apps-routing

* Working with all keys detected

* Update routes export

* Last hanging bits
2020-04-25 15:18:11 +02:00
dushaobindoudou
037f811af7
fix: small screen overflow x bug (#2620)
Co-authored-by: du <dushaobin@meishubao.com>
2020-04-24 11:43:48 +02:00
Jaco Greeff
47256058c6
migrationEra checks (after Westend test) (#2611) 2020-04-23 12:13:17 +02:00
Jaco Greeff
d57908ead8
Remove staking badge tooltips (#2603) 2020-04-22 22:07:24 +02:00
Jaco Greeff
284f7a667d
useMemo for table headers/footers/filters (#2601)
* useMemo for table headers/footers/filters

* contacts mishap
2020-04-22 14:44:54 +02:00
Jaco Greeff
4e6ba0dacd
Add list footer with total summaries (free, bonded, payout) (#2600) 2020-04-22 11:18:49 +02:00
Jaco Greeff
eb6b27750a
Remove unneeded InputBalanceBonded indirection (#2585) 2020-04-20 08:30:16 +02:00
Jaco Greeff
93575c60fc
Show time remaining to claim payouts (#2584) 2020-04-19 12:13:13 +02:00
Jaco Greeff
0d0b16f709
Adjust formatting of query outputs (JSON) (#2583) 2020-04-19 09:20:58 +02:00
Brandon Kite
805ee9dc5c
Support for optional usage of pallet_balance (#2578)
* Allow polkadot UI to function without having pallet_balance enabled

* Update packages/page-123code/src/SummaryBar.tsx

Co-Authored-By: Jaco Greeff <jacogr@gmail.com>

* formatting

* fix spacing

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-04-17 07:22:26 +02:00
KRogLA
178b241ac0
sub accounts search fix (#2572)
* sub accounts search fix

* bool type cast fix
2020-04-15 17:07:42 +02:00
Jaco Greeff
f127c2a6b1
Optimize Transfer dialog (no useEffect) (#2567) 2020-04-14 13:56:35 +02:00
Jaco Greeff
172df809c0
Remove ununsed modal, cleanup comments (#2561)
* Remove ununsed modal, cleanup comments

* Adjust info icon location
2020-04-13 07:52:55 +02:00
Jaco Greeff
a8d6ba7863
Use system_chainType (#2559)
* Use system_chainType

* Formatting cleanups

* Alignment of Expander -> BalanceFormat

* Formatting
2020-04-12 13:32:43 +02:00
Jaco Greeff
091934e69e
Display nominators in the waiting list (#2557)
* Display nominators in the waiting list

* Highlight mine
2020-04-12 11:01:46 +02:00
Jaco Greeff
66cba71e25
Create Nominate on-demand (#2556) 2020-04-12 09:31:33 +02:00
Jaco Greeff
73b979cb6b
Drop warning (#2554) 2020-04-11 21:19:21 +02:00
Jaco Greeff
0bcb0229f8
Small cleanups, spinners & useInactives (#2550) 2020-04-11 19:18:29 +02:00
Jaco Greeff
7e03898bb3
Cleanup "as any" on derive with useCall (#2549)
* Cleanup "as any" on derive with useCall

* Alignment
2020-04-11 11:43:21 +02:00
Jaco Greeff
52c04fc29d
Modal conversion, functional non-TxComponent (#2548)
* Modal conversion, functional non-TxComponent

* Fix duration calc
2020-04-11 09:05:00 +02:00
Jaco Greeff
b3113cdd79
Bump API, do payout calc based on avail. validators (#2547) 2020-04-10 18:27:24 +02:00
Jaco Greeff
a3ee0e3ee3
Link to Payout tab from actions (#2544) 2020-04-10 07:57:30 +02:00
Jaco Greeff
94137a3bb1
Move extra bonding to functional (#2541) 2020-04-09 15:08:14 +02:00
Jaco Greeff
2ff155bea5
Payout all stakers (#2540) 2020-04-09 13:18:16 +02:00
Jaco Greeff
d677d64817
UI support for simple payouts (#2509)
* UI support for simple payouts

* payout modal

* Adjust with era filtering

* Slow as molasses, but seems working

* Adjust th vertical alignment

* Bump API

* Update

* Cleanup reward retrievals

* linting

* Bumps

* Some rendering optimizations

* Re-add counter

* Fix new header linting

* Actual API bump

* Bumps

* Adjustments

* Adjust payouts as stand-alone tab

* Adjust nominations

* rm unused style

* change offsets

* Adjust
2020-04-08 16:39:32 +02:00
Jaco Greeff
4d17d5236d
Additional useCallback (close to 100%) (#2527) 2020-04-07 16:07:11 +02:00
Jaco Greeff
978c83d3e1
Add stylelint (testing impacts) (#2524)
* Add stylelint (testing impacts)

* "defaultSeverity": "warning"

* Cleanup Table styles

* Default parser
2020-04-07 10:49:30 +02:00
Jaco Greeff
286944cc9d
Disable staking actions in elections (#2516) 2020-04-04 21:45:15 +02:00
Jaco Greeff
5b4dee377f
NewStake as a self-contained unit (#2515) 2020-04-04 21:04:54 +02:00
Jaco Greeff
b8df3dc8f4
Compact table markup (#2514)
* Compact table markup

* Motions tweak

* Small fixes
2020-04-04 08:15:36 +02:00
Jaco Greeff
9a6c55a40b
Bump dev (incl. eslint fixes) (#2502) 2020-04-01 21:31:36 +02:00
Jaco Greeff
9fde464c11
Bump dev, JSX prop rules (#2499) 2020-04-01 15:30:08 +02:00
Jaco Greeff
35f8b3f94a
Cleanup staker percentage (#2496) 2020-04-01 10:44:32 +02:00
Jaco Greeff
d2a4182e09
Chart background via plugin (#2495)
* Chart background via plugin

* Sort democracy
2020-04-01 10:00:28 +02:00
Jaco Greeff
fd4ae0ae51
Small table layout cleanups (#2489) 2020-03-31 11:19:53 +02:00
Jaco Greeff
cebf17ab4d
Intention rendering non-cached (#2488)
* Intention rendering non-cached

* state updates
2020-03-30 20:44:01 +02:00
Jaco Greeff
2581d41470
Adjust bonding, unbonding & redeemable displays (#2486)
* Rework bonding amount layouts

* icon buttons

* Update redeem text
2020-03-30 16:17:40 +02:00
Jaco Greeff
5dc1f908f4
Cleanups on explorer Forks (#2482)
* Cleanups on explorer Forks

* Small opts
2020-03-30 09:01:59 +02:00
Jaco Greeff
c9cf0581a0
Adjust all table layouts with headers (#2480)
* Some small CSS adjustments

* Adjust all table layouts with headers

* Adjust... somewhat

* Adjust

* Ok, enough for now...

* Adjust extrinsic from display

* header adjustments
2020-03-29 18:44:39 +02:00
Jaco Greeff
3dfaf17ca8
Combine status event types (#2478)
* Combine status event types

* Adjust some tables

* Adjust targets
2020-03-29 10:04:21 +02:00
Jaco Greeff
50cc0b809b
Small table styling adjustments (#2476)
* Small table styling adjustments

* border reverts
2020-03-28 22:52:41 +01:00
Jaco Greeff
5126dbff93
Rework table layouts (#2472)
* Rework table layouts

* Additional

* Additional

* Accounts & Contacts

* Cleanup alignment

* Mini links

* Ordering adjustments

* Empty indicators
2020-03-28 21:01:47 +01:00
Jaco Greeff
06a6d1cc25
Cleanup staking list state (#2470)
* Cleanup staking list state

* Cleanup conversions
2020-03-28 08:47:23 +01:00
Jaco Greeff
fad6571b8a
Adjust address displays in democracy (#2469)
* Adjust address displays in democracy

* Additional adjustments

* Some settings tweaks
2020-03-28 07:28:39 +01:00
Jaco Greeff
cdd9b5bd56
Bump API (derived type naming updates) (#2465) 2020-03-27 16:05:20 +01:00
Jaco Greeff
e4c0cfd262
Exhaustive hooks (#2463)
* Exhaustive hooks

* selectUrl screw-up

* Adjust name badge

* Cleanup SideBar effects
2020-03-27 12:49:17 +01:00
Jaco Greeff
ca6348ceaa
Add .address class to Table (top & padding) (#2451) 2020-03-24 10:30:23 +01:00
Jaco Greeff
83ac8a99af
Adjust row padding with primary addresses (#2449)
* Adjust row padding (accounts)

* Expander padding
2020-03-24 09:37:49 +01:00
Jaco Greeff
3da6f3fbcf
Staking Address component breakdown (#2445)
* Staking Address component breakdown

* Share Favorite component
2020-03-23 16:56:49 +01:00
Jaco Greeff
e2744a92b1
Graphs avg. only on > 0 (#2443) 2020-03-23 14:38:49 +01:00
Jaco Greeff
2d80f58a7d
Adjust staking/democracy summaries (#2440)
* Adjust staking/democracy summaries

* Bump API

* Swap some to Expander
2020-03-23 12:16:38 +01:00
Jaco Greeff
55b8a60889
Cleanup some submission modals (#2439)
* Housekeeping, rename copyright headers

* Cleanup some submission modals
2020-03-23 09:03:27 +01:00
Jaco Greeff
7c7df9873c
Rework staking rendering (object passing) (#2425)
* Rework staking rendering (object passing)

* onlineCount check

* Rework reward sorting
2020-03-20 13:14:10 +01:00
Jaco Greeff
042e8a0a16
Majority propose shortcut (council) (#2423) 2020-03-20 08:09:17 +01:00
Jaco Greeff
b720cd1443
Hooks reworks with mounted refs (#2417) 2020-03-18 13:51:33 +01:00
Jaco Greeff
b21008af1a
Align comm percentage display (#2402) 2020-03-17 09:29:34 +01:00
Jaco Greeff
1ff83ff074
Remove unsafe chain detection, always warn (#2400) 2020-03-16 17:31:59 +01:00
Jaco Greeff
9a965bb047
Support new non-linked map stashes (#2395) 2020-03-16 11:49:40 +01:00
Jaco Greeff
fd533227b6 Update derive test 2020-03-16 10:21:27 +01:00
Jaco Greeff
bc6eea52c8
Add slash display, ownExposure (#2391) 2020-03-16 08:42:42 +01:00
Jaco Greeff
2209078f5c
Adjust UI highlights based on chain/node color settings (#2384)
* Adjust app hightlights

* Default fallback
2020-03-14 08:49:50 +01:00
Jaco Greeff
d1ef960c40
User latest era only for global staking counter (#2382) 2020-03-13 22:17:09 +01:00
Jaco Greeff
14183c611d
Bump API (#2379)
* Bump API

* Bump
2020-03-13 20:32:00 +01:00
Jaco Greeff
2b534fc1fb
Additional wrappers via React.memo (#2377)
* More React.memo

* Last non-memo functional components in staking
2020-03-12 15:45:59 +01:00
Jaco Greeff
83a2ddedd4
useCallback in all staking callbacks (#2376)
* Add React.emomo to some components

* Linting

* useCallback for callbacks

* Additional useCallback impl.
2020-03-12 12:59:09 +01:00
Jaco Greeff
304dab95cc
Add React.memo to some components (#2375)
* Add React.emomo to some components

* Linting
2020-03-12 11:15:38 +01:00
Jaco Greeff
d6ed67307f
Intentions render on demand (#2372) 2020-03-11 20:44:33 +01:00
Jaco Greeff
ac8c7cc410
Add global reward alert for payouts (#2370) 2020-03-11 17:30:01 +01:00
Jaco Greeff
80dfe9e1b5
Show actual available payouts for staking (#2368)
* Show actual available payouts for staking

* Linting for latest API

* Remaining watermark issues
2020-03-11 13:25:37 +01:00
Jaco Greeff
42aaa0dcf5
Re-add validator queries (#2362)
* Re-add validator queries

* Bumps

* Pending only

* Remove unused
2020-03-10 13:53:48 +01:00
Jaco Greeff
5adc040c19
Staking UI & performance rework (#2361)
* Staking UI & performance rework

* yarn.lock
2020-03-10 08:58:28 +01:00
Jaco Greeff
3d80718fdd Add loading spinner 2020-03-09 23:32:28 +01:00
Jaco Greeff
45265f7cd3 Optional call 2020-03-09 21:42:25 +01:00
Jaco Greeff
6f3ecdea16 Load accounts in bg 2020-03-09 20:52:30 +01:00
Jaco Greeff
28101e6248 Bump API 2020-03-09 20:25:35 +01:00
Jaco Greeff
4d1908ed4d Bump API 2020-03-09 19:23:39 +01:00
Jaco Greeff
5586692cd3
Show validator rewards over eras (#2355) 2020-03-09 11:02:04 +01:00
Jaco Greeff
d2e184b0cc
Add staking payout alert counter (#2354) 2020-03-09 09:08:04 +01:00
Jaco Greeff
a77bd85f27
Swap rewards from historic queries (#2352)
* Swap rewrds from historic queries

* Headers with key
2020-03-09 07:07:36 +01:00
Jaco Greeff
95471f42c4
Rework rewards with new staking (#2338)
* Rework rewards with new staking

* Bump api

* Bump API

* Disable buttons on no controller
2020-03-08 15:07:33 +01:00
Keith Ingram
b43c7dc593
Reordering in InputAddressMulti (#2337)
* Reorderable InputAddressMulti

* Styling

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-03-08 08:50:28 +01:00
Jaco Greeff
cde66e9556 favorites -> default highlight 2020-03-06 20:35:36 +01:00
Jaco Greeff
87910c435e
Per-chain color highlights (#2336)
* Color overrides

* Adjust

* Keep at default colors (for the time being)

* Swap color to top
2020-03-06 19:18:10 +01:00
Jaco Greeff
617fea34ac
Bump API (#2335)
* Bump API

* Cleanup staking Address render
2020-03-06 14:40:18 +01:00
Jaco Greeff
6a9bfd4b31
Claim staking rewards (#2332)
* Claim staking rewards

* setHasUnclaimedRewards

* Staking payouts are batched

* Rework signing dialog with summary

* Remove isFull on password

* Highlight important bits

* Bump api

* Bump

* Direct payout click

* Fix build
2020-03-05 21:53:57 +01:00
Jaco Greeff
315995d6bf
Rename app-* folders to page-* (#2318)
* Rename app-* folders to page-*

* Cleanup test paths
2020-03-01 19:56:31 +01:00