Commit Graph

104 Commits

Author SHA1 Message Date
Jaco Greeff
7ba7339d96
SPDX (#3705) 2020-09-17 16:46:46 +02:00
Jaco Greeff
ccfee50c2f
Split democracy dispatch into tab (#3486) 2020-08-23 15:08:29 +02:00
Jaco Greeff
f955a4b7ac
Adjust unit sizing (#3485) 2020-08-23 13:22:03 +02:00
Jaco Greeff
d268871f12
Small unit format adjustment (#3483) 2020-08-23 12:34:39 +02:00
Jaco Greeff
0b9c8c6d76
Loading adjustments (#3469) 2020-08-21 12:41:15 +02:00
Jaco Greeff
33892a2e31
Nav re-imagined (#3422)
* Playthrough with top navigation

* Sycky, but navigation works...

* Adjust

* grouping

* It works, but is not great

* Cleanups

* Cleanups

* hover color

* Highlights

* Highlights, part 2

* Background to body

* Small adjustments (size, items)

* Localize Modal/route switching

* Remove light/full mode

* Flatter single-entry menus

* Adjustments for single-enrties (e.g. Kulupu)

* Display NodeInfo

* Misc

* Content & Tabs sizing

* Tab counters as bubbles

* Alignment

* Tabs styling

* Adjust font color to defaults

* Small tabs menu color adjustments

* ... the previous, again, adjusted

* Display Wiki/Github links

* ar motions

* Adjust Endpoints location

* Ensure content grows to available height

* Adjust tabs

* Menu background adjustment

* Adjust popup colors

* Adjust highlights

* Sligh breathing room

* Adaptive header background

* 2/3

* Adaptive is ok... for now.

* Back to black... erm, gray

* Lighten

* Touchups. Stop playin, it is ok...

* Sides readability

* Cleanups.

* Adjust.

* Overall adjustments (theme). Fix Tag yellow.

* Ok. Done.

* Ship it.
2020-08-20 17:50:30 +02:00
Jaco Greeff
f505ef41b2
Remove conviction genesis override (#3440)
* Remove conviction genesis override

* Ordering

* Simplify unit formatting
2020-08-19 09:59:52 +02:00
Jaco Greeff
cc3af6e05c
Add countdown for redenom (#3434)
* Add countdown for redenom

* in

* Rework countdown ordering

* Remove at
2020-08-18 09:05:24 +02:00
Jaco Greeff
ebad8635f7
Adjust useCall options (#3430)
* Adjust useCall options

* Extract useCall options

* typo

* Apply suggestions from code review

* Adjust param creation in calls
2020-08-17 12:24:51 +02:00
Jaco Greeff
77eecc03c8
Align time format with balance format (units) (#3426)
* Align time format with balance format (units)

* keys
2020-08-15 21:34:23 +02:00
Jaco Greeff
b47bbab428
Balance unit alignment (#3406)
* Balance unit alignment

* Small formatting updates
2020-08-12 16:14:24 +02:00
Jaco Greeff
7bc5c314c4
HACK for Polkadot old/new DOTs (#3402)
* HACK for Polkadot old/new DOTs

* Format M balances
2020-08-12 14:20:16 +02:00
Thibaut Sardan
4486532534
Fix council voting balance (#3363)
* fix council voting balance

* locked balance as default

* Update packages/react-components/src/VoteValue.tsx

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

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-08-07 14:37:41 +02:00
Jaco Greeff
cc217ef7e1
Link button hover color (#3326) 2020-08-03 22:07:09 +02:00
Jaco Greeff
c085125dd7
Endpoint toggle adjustments (#3319) 2020-08-02 11:40:38 +02:00
Jaco Greeff
7af66875b9
Proper angle/percentage calc from BN (#3261) 2020-07-24 19:38:14 +02:00
Jaco Greeff
7c9ed82251
API bump for votingBalance (#3240) 2020-07-20 20:45:07 +02:00
Jaco Greeff
413db9fca4
All children (e.g. toolips) on FormatBalance (#3227) 2020-07-18 10:23:32 +02:00
Jaco Greeff
927c1d02f9
Flatten recurring events (same block) (#3201)
* Flattn recurring events (same block)

* Same-height event filter

* Display adjust

* Filter {balances, treasury}.Deposit
2020-07-15 16:11:21 +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
17a3deb04c
Polkadot poll app (#3162)
* Polkadot poll app

* Bump deps

* Fix vanitygen dep

* Small formatting adjustments

* Adjust padding consistency

* Value align

* Show end blocks & time remaining

* Disable toggles on votend

* Countdown & close

* Uppercase millionand billion

* long-form million/billion

* Hide toggle when not voting
2020-07-10 23:25:50 +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
b78cc3fa2f
Adjust button rounding (#3051)
* Adjust button rounding

* ReferendumInfo icon
2020-06-25 15:34:35 +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
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
592dd4b2a3
Links from events to blocks (#2761) 2020-05-17 10:06:02 +02:00
Jaco Greeff
029b5c6c80
Adjust deps for new hooks rules (#2757) 2020-05-16 10:45:54 +02:00
Jaco Greeff
217b94a5e4
Add blockHash & blockNumber to keyed event context (#2756) 2020-05-16 09:12:06 +02:00
Jaco Greeff
1e69ed13c7
Re-add unclosed proposals (#2594)
* Re-add unclosed proposals

* Treasury checks end
2020-04-21 07:18:44 +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
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
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
4024fd7f8f
Bump API (faster previous-gen rewards retrievals) (#2545) 2020-04-10 12:47:21 +02:00
Jaco Greeff
c0f6e84e0d
Update amount display (with hover info) (#2535)
* Update amount display (with hover info)

* css lint

* It is getting late... and the linter is notiving m being slow...
2020-04-08 22:46:32 +02:00
Jaco Greeff
dad564ce68
Voting toggle update (#2533)
* Voting toggle update

* Staking availability fix
2020-04-08 18:00:26 +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
087a124b37
Adjust staking unlock/redeemable (#2487) 2020-03-30 18:44:20 +02:00
Jaco Greeff
fda189f15f
Adjust for new elections (use API derives) (#2485) 2020-03-30 14:25:53 +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
e2744a92b1
Graphs avg. only on > 0 (#2443) 2020-03-23 14:38:49 +01:00
Jaco Greeff
5e28be4c18
Convert react-query to React.memo (#2405) 2020-03-17 13:41:51 +01:00
Jaco Greeff
e97868348b
React.memo-ize more func. components (#2389)
* React.memo-ize more func. components

* Rework status display determination

* isApiReady &&

* ApiSigner private class interface

* readonly #

* Remove isPrimary on council vote
2020-03-15 12:11:59 +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
ac8c7cc410
Add global reward alert for payouts (#2370) 2020-03-11 17:30:01 +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
65eb970bbc
Democracy time countdown (#2359) 2020-03-09 17:11:02 +01:00
Jaco Greeff
11fd332554
Bump deps (#2357) 2020-03-09 15:53:50 +01:00
Jaco Greeff
8165033991
Displays countdowns in time (#2339)
* Displays countdowns in time

* Lint
2020-03-07 13:59:20 +01:00