Commit Graph

335 Commits

Author SHA1 Message Date
Jaco Greeff
d57908ead8
Remove staking badge tooltips (#2603) 2020-04-22 22:07:24 +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
4e6ba0dacd
Add list footer with total summaries (free, bonded, payout) (#2600) 2020-04-22 11:18:49 +02:00
Jaco Greeff
f48581dfef
Cleanup external display (#2591) 2020-04-20 15:23:11 +02:00
Jaco Greeff
9aaeb1dcf4
Expand calls (non optimally) to council external (#2590)
* Expand calls (non optimally) to council external

* Adjust CHANGELOG
2020-04-20 12:13:28 +02:00
Jaco Greeff
a1fd6e90ba
Header cleanups (#2586) 2020-04-20 08:39:44 +02:00
Jaco Greeff
eb6b27750a
Remove unneeded InputBalanceBonded indirection (#2585) 2020-04-20 08:30:16 +02:00
Jaco Greeff
75bceaadf1
Expander header without nowrap (#2582)
* Expander header without nowrap

* Adjust overflows
2020-04-17 23:01:17 +02:00
Jaco Greeff
22a278428e
Bump API (Identity display, latest Substrate types) (#2574) 2020-04-16 13:38:54 +02:00
Jaco Greeff
1a69e1e35c
Simplify IdentityIcon (#2568)
* Simplify IdentityIcon

* Bump API

* Linting
2020-04-14 14:38:53 +02:00
Jaco Greeff
f127c2a6b1
Optimize Transfer dialog (no useEffect) (#2567) 2020-04-14 13:56:35 +02:00
Jaco Greeff
4950250b0d
Static output formatting adjustments (#2566) 2020-04-14 10:05:14 +02:00
Jaco Greeff
92bb1ef893
Skip Tooltip on noLookup in AccountName (#2562) 2020-04-13 08:48:04 +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
73eb4e284c
Address info expander (#2560)
* AddressInfo expander cleanups

* Mapping of BalanceLock reasons
2020-04-12 15:07:32 +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
386a78c319
Use element cache in AddressName (#2558) 2020-04-12 11:51:26 +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
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
a3ee0e3ee3
Link to Payout tab from actions (#2544) 2020-04-10 07:57:30 +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
e07cb5a9a9
Fix table.isFixed (#2529) 2020-04-07 17:55:20 +02:00
Jaco Greeff
8fcf2d8864
Adjust ErrorBoundary with trigger, cleanup InputAddress outer icon (#2528)
* Adjust ErrorBoundary with trigger, cleanup InputAddress outer icon

* Remove extra fluff
2020-04-07 17:12:04 +02:00
Jaco Greeff
4d17d5236d
Additional useCallback (close to 100%) (#2527) 2020-04-07 16:07:11 +02:00
Jaco Greeff
c906794397
Store/use parentAddress alongside derivation (#2526)
* Store/use parentAddress alongside derivation

* Show actual parent relationships

* Tooltip for address
2020-04-07 15:04:02 +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
a7217bd9d5
Extrinsic app selection as functional (#2523)
* Extrinsic app selection as functional

* td .ui--Spinner spacing

* Remove staking counter
2020-04-07 08:16:55 +02:00
Lowhearth
f991c2d949
Swap yes/no (voting) to Toggle (#2519)
* Swap yes/no voting to Toggle #1624

* Ordering Imports

* Explicit vote Button label

* Modal opening Vote Buttons with default background
2020-04-07 07:03:51 +02:00
Jaco Greeff
00e0498ce2
Swap council voting away from TxModal (#2521)
* Swap council voting to non-TxModal

* No fat spinner

* Use bundled node
2020-04-06 12:29:00 +02:00
Jaco Greeff
dc0f71b272
Adjust Spinner (using sui Loader) (#2518) 2020-04-05 08:59:50 +02:00
Jaco Greeff
286944cc9d
Disable staking actions in elections (#2516) 2020-04-04 21:45:15 +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
6c86eea578
Toolbox RPC adjustments (#2505) 2020-04-02 10:05:54 +02:00
Jaco Greeff
67b70b075e
Rewrite yarn.lock (#2504) 2020-04-01 23:34:51 +02:00
Jaco Greeff
9a6c55a40b
Bump dev (incl. eslint fixes) (#2502) 2020-04-01 21:31:36 +02:00
Jaco Greeff
82d53d1af3
useCallback in Extrinsic & Proposal components (#2501) 2020-04-01 16:23:00 +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
f6e6bf76c2
Remove expander width: 100% (#2494)
* Remove expander width: 100%

* Show vote balance & conviction

* ReferendumVote component
2020-04-01 08:31:08 +02:00
Jaco Greeff
529e253d39
Revert "Add extra Input types to the UI (#2324)" (#2493)
This reverts commit 7a159976f4.
2020-04-01 07:35:11 +02:00
Jaco Greeff
cbe5e455ca
Explorer extrinsics with fixed table (#2492) 2020-03-31 20:42:46 +02:00
Jaco Greeff
ed9112dbcb
Bump deps (#2491) 2020-03-31 15:50:49 +02:00
Jaco Greeff
16f1d2de20
Rework explorer with events -> extrinsics (#2490)
* Rework explorer with events -> extrinsics

* Nonce adjust

* Adjust unsigned
2020-03-31 12:18:27 +02:00
Jaco Greeff
fd4ae0ae51
Small table layout cleanups (#2489) 2020-03-31 11:19:53 +02:00
Jaco Greeff
087a124b37
Adjust staking unlock/redeemable (#2487) 2020-03-30 18:44:20 +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
703bcad246
Cleanup expander use (#2483) 2020-03-30 09:53:27 +02:00
Jaco Greeff
5dc1f908f4
Cleanups on explorer Forks (#2482)
* Cleanups on explorer Forks

* Small opts
2020-03-30 09:01:59 +02:00