Commit Graph

93 Commits

Author SHA1 Message Date
Jaco Greeff
9e664246ed
Parameterize treasury proposal (#3418) 2020-08-14 16:26:06 +02:00
Jaco Greeff
e16eb134aa
Validator-only payout toggle (#3386)
* Validator-only payout toggle

* ToggleButton consistency
2020-08-11 13:31:42 +02:00
Jaco Greeff
6aefdd9178
useLoadingDelay for large lists (#3310)
* useLoadingDelay for large lists

* Accounts with isLoading

* sortedAddresses afecting check
2020-08-01 15:29:52 +02:00
Jaco Greeff
43470277e7
Add slashing indicator (#3302)
* Add slashing indicator

* Display slashing on targets page

* Show chilled from before slash

* Sizing
2020-07-31 14:09:28 +02:00
Jaco Greeff
c680d25dd0
Fix pay toggle era filtering (#3291) 2020-07-30 15:21:02 +02:00
Jaco Greeff
1b6d2e9794
Adjust payout toggle with days (#3274)
* Adjust payout toggle with days

* Cleanups
2020-07-27 13:04:42 +02:00
Jaco Greeff
d35b1a1d10
Optional close on council motions (#3252)
* Optional close on council motions

* No close available short-circuit
2020-07-23 12:38:06 +02:00
Jaco Greeff
7531f01a39
Display accountIndex on SideBar (as available) (#3140)
* Display accountIndex on SideBar (as available)

* accountIndex cache

* Cleanup accountIndex re-renders

* Unneeded accountIndex effect dep
2020-07-08 00:17:59 +02:00
Jaco Greeff
e5e46accf6
Cleanup account menus (#3076) 2020-06-28 14:05:35 +02:00
Jaco Greeff
b78cc3fa2f
Adjust button rounding (#3051)
* Adjust button rounding

* ReferendumInfo icon
2020-06-25 15:34:35 +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
b408d68d63
Add treasury close tip button (#3010)
* Add treasury close tip button

* Check square to indicate done

* Display close at blocks
2020-06-21 09:38:30 +02:00
Jaco Greeff
2e427e90e7
Multisig calls with weight (#2957)
* Multisig calls with weight

* approveAsMulti args check
2020-06-17 12:49:56 +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
4ab3e73a3b
useWeight hook (collective and soon on multisig) (#2955)
* useWeight hook (collective and soon on multisig)

* zero address

* Remove debug log
2020-06-15 10:36:20 +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
63a3b6dd29
Allow for local IPFS gateway (#2925)
* Allow for local IPFS gateway

* Trim ports
2020-06-10 19:07:33 +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
26b70cdf9f
Filter empty rewards (#2881)
* Filter empty rewards

* Keep to 40 eras
2020-06-04 17:37:35 +02:00
Jaco Greeff
bea9e4f053
Allow ipns with chain specifier (#2868)
* Allow ipns with chain specifier

* fallback check

* Rename dns* to ipns*
2020-06-01 15:28:58 +02:00
Jaco Greeff
b2c3eb8fd6
Failed council close with 0 length/weight (#2839)
* Failed council close with 0 length/weight

* 0/0 close for tc
2020-05-28 20:22:14 +02:00
Jaco Greeff
0789371b71
Re-add tc with length & weights (#2840)
* Re-add tc with length & weights

* Apply fixes

* Move useVotingstatus
2020-05-28 08:54:01 +02:00
Jaco Greeff
61a1f323ea
0.43 (#2824)
* Polkadot RPCs

* Primary color

* 0.43

* accountinfo local name fix

* useAccountInfo update
2020-05-26 19:44:06 +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
029b5c6c80
Adjust deps for new hooks rules (#2757) 2020-05-16 10:45:54 +02:00
Jaco Greeff
f7c61f4698
Pull members from collective itself (isMember checks) (#2704)
* Pull members from collective itself (isMember checks)

* trigger stuck CI (hopefully)
2020-05-07 19:53:13 +02:00
Jaco Greeff
aa2074b20c
Slit Sidebar address Identity rendering (#2701) 2020-05-07 13:51:56 +02:00
Jaco Greeff
8074b31fca
Bump deps (#2693)
* Bump deps

* Optional tech comm
2020-05-06 16:10:56 +02:00
Jaco Greeff
cf32011976
Ledger confim address (#2686) 2020-05-04 15:39:56 +02:00
Jaco Greeff
a66db1f152
Multisig creation layout (#2674)
* Multisig creation layout

* Header cleanups

* Cleanup flag display
2020-05-02 08:56:16 +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
e410cc1473
Allow selectable targets (#2637) 2020-04-27 16:30:52 +02:00
Jaco Greeff
cfeb5c7f07
Fix lock-to-network, save with genesisHash (broken after useAccountInfo move) (#2628)
* Fix chain locks

* Save with meta

* Bumps

* i18n rebuild
2020-04-25 10:16:07 +02:00
Jaco Greeff
e3400f7206
Multisig support (#2623)
* Multisig support

* Testing, sorting with timepoints

* Re-add

* lint (import fix)

* case-sensitive import
2020-04-24 20:30:08 +02:00
Jaco Greeff
a6fc6c2190
Rework registrar dialog (account filter) (#2613) 2020-04-24 19:38:48 +02:00
Jaco Greeff
67b69dc976
Split Sidebar flags (& use <Tag /> component) (#2609)
* Split Sidebar flags (& use <Tag /> component)

* Fix Account flags expansion
2020-04-23 10:49:34 +02:00
Keith Ingram
9703811f8b
AddressMenu popup when clicking on address name (#2563)
* AddressMenu

* use menu

* refactor

* draft

* cleanup

* Sidebar

* Sidebar

* improvements

* redesign

* bump

* Small adjustments

* Layout adjustments, useCallbacks (not perfect...)

* Remove _setName with extra effect, re-add badges (edit missing)

* Missing useCallback in Address

* no withSidebar on AddressToggle

* useAccountInfo CPU spikes (split effects, no useCallback deps)

* Alway have underline (even on address)

* secondary button color

* Add name callback

* Make identity appear with displayname

* Adjust judgement button position

* UI adjustments

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-04-22 19:43:20 +02:00
Jaco Greeff
f3f3ade6ce
Council proposal to functional (#2553)
* Council proposal to functional

* Small cleanups
2020-04-11 20:44:10 +02:00
Jaco Greeff
936cc70d00
Treasury tipping (#2551) 2020-04-11 15:27:25 +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
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
9a6c55a40b
Bump dev (incl. eslint fixes) (#2502) 2020-04-01 21:31:36 +02:00
Jaco Greeff
fda189f15f
Adjust for new elections (use API derives) (#2485) 2020-03-30 14:25:53 +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
b4d0ff93a2
Bump API (dispatchQueue derive) (#2467)
* Bump API (dispatchQueue derive)

* with democracy.nextExternal
2020-03-27 21:26:23 +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
76b16913c2
Cleanups for AccountName (#2446)
* Cleanus for AccountName

* Remove unused toggle prop

* Re-add toggle
2020-03-23 17:18:31 +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