Commit Graph

97 Commits

Author SHA1 Message Date
Jaco Greeff
0af86e2e5f
Explicit aye/nay buttons (no toggle) (#3524)
* Explicit aye/nay buttons (no toggle)

* Extract isDisabled

* Remove DOT banner

* Updates

* s/New DOT/DOT/

* Bump API

* .eslintrc
2020-08-26 13:37:00 +02:00
Jaco Greeff
71ab4c3d04
Rework votes display (#3489) 2020-08-23 18:57:57 +02:00
Jaco Greeff
96aa37f646
Small threshold adjustments (#3473) 2020-08-22 09:42:50 +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
Wei Tang
f5832feb02
Add Kulupu council config, logo and fix display of block time (#3448)
* Add KULUPU_GENESIS constant

* Add Kulupu-specific thresholds

* Add support for targetBlockTime

* Styling fix

* Init Kulupu logo

* Fix endpoint icon for Kulupu

* Fix linting
2020-08-19 15:39:37 +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
8f47873942
useRef for table headers (no changes) (#3429)
* useRef for table headers (no changes)

* Cleanup Tabs hidden (constants)
2020-08-16 16:29:10 +02:00
Jaco Greeff
9e664246ed
Parameterize treasury proposal (#3418) 2020-08-14 16:26:06 +02:00
Jaco Greeff
6a5f37fd07
Link to extension upgrade, cater for non-existing case (#3401) 2020-08-12 12:49:45 +02:00
Jaco Greeff
e3e63e1fa5
Cumulative slash, desiredRunnersUp (#3389)
* Cumulative slash, desiredRunnersUp

* era cumulative
2020-08-11 18:16:36 +02:00
Thibaut Sardan
922092b337
Add a "clear all" button to council vote (#3382)
* add clear all to council vote

* add parrentheses

* disabled rather than hidden

* Update packages/page-council/src/Overview/Vote.tsx

Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-08-10 18:40:50 +02:00
Jaco Greeff
7b64762478
Bumps, yarn stale (#3352)
* Bumps, yarn stale

* Bump berry

* WIP

* Rewrite
2020-08-06 15:47:43 +02:00
Jaco Greeff
964341ca57
Threshold calc fix when members not (yet) retrieved (#3331)
* Threshold calc fix when members not (yet) retrieved

* numbers
2020-08-04 12:27:09 +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
49ea94ab29
Adjust slash threshold for Polkadot (#3283) 2020-07-29 10:48:30 +02:00
Jaco Greeff
a068d03db0
Fix council slash params (#3276) 2020-07-27 14:43:37 +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
bb846baa71
Slight button ordering adjustments (#3271) 2020-07-26 18:00:17 +02:00
Jaco Greeff
f9290a007f
Split council num votes (#3270)
* Split council num votes

* Reformat candidates
2020-07-26 16:34:57 +02:00
Jaco Greeff
0d6a904144
Adjust staking split displays (#3268)
* Adjust staking split displays

* Additional
2020-07-26 10:36:03 +02:00
Jaco Greeff
9003d32c85
Remove unused Button props (#3267)
* Remove unused Button props

* Bump deps
2020-07-25 15:30:40 +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
493e49eda6
Nay threshold display adjust (#3246) 2020-07-21 16:10:36 +02:00
Jaco Greeff
7c9ed82251
API bump for votingBalance (#3240) 2020-07-20 20:45:07 +02:00
Jaco Greeff
f0ed07dc8a
Update council params (genesisHash) (#3239) 2020-07-20 19:53:34 +02:00
Jaco Greeff
d428b6b4d7 60% for Polkadot 2020-07-20 18:35:46 +02:00
Jaco Greeff
3056b1f341
Remove hedare for candidate backing (#3233) 2020-07-18 20:29: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
cb9abbdabb
Adjust asteriks layouts (#3068) 2020-06-27 15:11:01 +02:00
Jaco Greeff
dc8a77e1e4
Rewok council voting display (#3067) 2020-06-27 14:33:59 +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
fe99a4c883
Display council candidacy bond (#3023) 2020-06-22 09:23:07 +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
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
f1076b5596
Don't allow votes when motion is closeable (#2937) 2020-06-11 17:42:42 +02:00
Jaco Greeff
3bbf2ab3be
Adjust external table links (collapse if none) (#2932) 2020-06-11 09:54:56 +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
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
c385a8afad
Close on proposal failing (#2808) 2020-05-25 15:21:47 +02:00
Jaco Greeff
fbbc1dd7fd
Council propose/close with length & weights (#2807)
* Council propose/close with length & weights

* Adjust for consistency

* Retrieve weight via paymentInfo

* Closing and voting in conjunction
2020-05-25 13:51:52 +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
029b5c6c80
Adjust deps for new hooks rules (#2757) 2020-05-16 10:45:54 +02:00
Jaco Greeff
7b711316e9
Bump deps (#2753)
* Bump deps

* Fixes
2020-05-15 16:19:06 +02:00
Jaco Greeff
53c9f5587f
Council submit candidacy (#2722)
* Council submit candidacy

* Pass electionsInfo to SubmitCandidacy
2020-05-12 15:43:47 +02:00
Jaco Greeff
e571df6371
Adjust all council modals with columns (#2714) 2020-05-09 09:28:47 +02:00
Jaco Greeff
9c80d4bc3b
Allow council motion with non-existing end (old) (#2709)
* Allow council motion with non-existing end (old)

* Update packages/page-council/src/Motions/Motion.tsx
2020-05-08 14:20:56 +02:00
Jaco Greeff
82cd508584
Some spelling fixes (#2677) 2020-05-02 11:03:56 +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