Commit Graph

86 Commits

Author SHA1 Message Date
Jaco
2bf56dbf11
Adjust styled injection (final round) (#8814)
* Adjust styled injection (final round)

* Fix (some) build issues

* Fix (some more) build errors

* ... it builds (... ship it!)
2023-01-15 19:53:55 +02:00
Jaco
e190e5fb20
Adjust ref displays (split for completed) (#8807) 2023-01-15 10:35:06 +02:00
Jaco
c3172ef8dd
Rework governance (1 & 2) styled injection (#8798)
* Rework governance (1 & 2) styled injection

* Remove unneeded styles
2023-01-14 14:33:00 +02:00
Jaco
8edbedd5a5
Move usePreimage to react-hooks (#8796)
* Move usePreimage to react-hooks

* Adjust import

* Additional
2023-01-14 12:45:47 +02:00
Jaco
e1727917d1
Remove label help tooltips (#8767)
* Remove label help tooltips

* Fix missed item

* Adjust

* adjust

* Back to defaults
2023-01-12 10:11:02 +02:00
Jaco
ff328328ac
Small update to menu sizing (#8769)
* Small update to menu sizing

* Additional

* Align all short address displays

* shor hashes, short addresses

* isLoading to inputs

* Adjust --tmp for Labelled

* jiggle endpoint display

* button sizes

* label sizing

* final label sizing

* column headers

* label padding

* parachain hashes
2023-01-12 09:36:21 +02:00
Jaco
9647a68b4a
Font styling (#8764)
* Font styling

* Additional adjustments

* Adjust

* Node headers & Table numbers

* Adjust

* mono size adjust

* Adjust upwards for headers

* Explicit label vars

* header font-weight

* .sub font-weight

* Adjust block headers

* Remove rx--updated
2023-01-11 20:09:13 +02:00
Jaco
9cb65d0560
Add check for inactiveIssuance (#8740) 2023-01-09 23:04:52 +02:00
Jaco
edc2bab238
Adjust handling of old-style preimages (#8739)
* Adjust handling of old-style preimages

* Adjust old columns

* Adjust

* Don't pass isLatest around ... will break when we change

* Cater for old-style preimage retrieval
2023-01-09 22:38:51 +02:00
Jaco
f495761c0b
Add a placeholder for full balance retrieval (#8734)
* Add a placeholder for full balance retrieval

* Adjust sidebar

* Add --placeholder class

* staking overview placeholder

* Adjust preimage & council

* Account Summary

* Additional

* Additionals

* Some more around staking

* Slight opacity adjustment

* Last remaining for this round

* One final for now
2023-01-09 17:37:40 +02:00
Jaco
ac2e910d8b
Adjust Table borders (w/ spacing) (#8729)
* Adjust Table borders (w/ spacing)

* Background only on cells
2023-01-08 15:54:26 +02:00
Jaco
f889abb7af
Overall adjustment to font styling (#8725)
* Overall adjustment to font styling

* Additional

* AccountName

* Table header

* One less font override

* Remove commented code

* Adjust menu sizing

* Adjust tab menu

* Adjust

* Adjust lightGreyColor
2023-01-08 12:53:43 +02:00
Jaco
0d918762b8
Default conviction to 1x (democracy & referenda) (#8715) 2023-01-06 22:22:31 +02:00
Jaco
8d5278f391
Display referendum enactment/confirmation ends (#8695)
* Disply referendum enactment/confirmation ends

* Adjust displays
2023-01-06 18:12:27 +02:00
Jaco
453a505d58
Predefine columns for Table favorites/expander (#8690)
* Predefine columns for Table favorites/expander

* Adjust header definition types

* Additional header typings

* lint override

* Add Table.Column.Id

* Use Table.Column.Favorite for staking
2023-01-05 17:39:02 +02:00
Jaco
86fc69f2a0
Minor link adjustments, Account/Address/Referendum (#8684) 2023-01-04 08:46:02 +02:00
Jaco
f683da30cb
Apply media queries on referenda (#8679) 2023-01-03 13:49:50 +02:00
Jaco
e299882fb4
Adjust accounts layout (#8677)
* Adjust accounts layout

* Adjust
2023-01-03 10:44:33 +02:00
Jaco
e3824c04c3
Adjust Table component spacing (#8674)
* Adjust Table component spacing

* px

* Add isExpanded

* Cleanup border placement

* Ref sizing
2023-01-02 19:49:25 +02:00
Jaco
d6c9a03037
Move external links to referendum expansion (#8671)
* Move external links to referendum expansion

* Additional ref info
2023-01-02 12:36:36 +02:00
Jaco
4929b1c6fd
Update headers for 2023 (#8665)
* Update headers for 2023

* Adjust env-config
2023-01-01 10:32:05 +02:00
Jaco
af51568305
Add isSplit on tables (unused) (#8659)
* Add isSplit on tables (unused)

* Remove unused styles
2022-12-31 12:18:12 +02:00
Jaco
089da62e3b
Adjust account table layouts (#8637) 2022-12-27 10:08:04 +02:00
Jaco
1b0b37e203
Adjust referenda shortHash display (#8609) 2022-12-23 15:49:07 +02:00
Jaco
685b6aa732
Always pass through voting lock period (#8601)
* Always pass through voting lock period

* const from voting pallet

* Only allow non-empty
2022-12-23 11:10:29 +02:00
Jaco
9d5171734a
Adjust all chart options (#8606)
* Adjust all chart options

* Expand loading check

* Reload on validatorId changes

* Formatting
2022-12-23 10:09:10 +02:00
Jaco
adec4a7fcb
Use convictionVoting votingPeriod in Vote display (#8599)
* Use per track enactmentPeriod in Vote display

* Pass track

* Adjust time text

* voteLockingPeriod pass-through

* Remove unused track pass-through
2022-12-22 09:15:43 +02:00
Jaco
364e289504
Extend confirmation referendum graph display (#8586)
* Extend confirmation referendum graph display

* Adjust

* ProposedAction with expander

* Expander with left arrow

* Adjust header
2022-12-20 17:50:45 +02:00
Jaco
19b399ddb0
Referenda graph overlaps (no explicit confirm) (#8581)
* Referenda graph overlaps (no explicit confirm)

* Crosshair for other charts

* Align all
2022-12-19 19:21:32 +02:00
Jaco
7b35db6422
Add crosshairs for referendum charts (#8577) 2022-12-19 14:26:37 +02:00
Jaco
078eec3855
Only fully calculate ref graphs on expand (#8576)
* Only fully calculate ref graphs on expand

* Confirmation overlay

* Display periods on tooltip
2022-12-19 12:45:45 +02:00
Jaco
6bb0eae625
Display time delays in referenda tooltip headers (#8575)
* Display time delays in referenda tooltip headers

* Adjust with estimated actual time
2022-12-19 09:54:02 +02:00
Jaco
1e3cf6094b
Adjust Call/Event display (known balance args) (#8569)
* Adjust Call/Event display (known balance args)

* Additional

* Adjust

* smooth

* adjust colors
2022-12-18 15:48:03 +02:00
Jaco
bcdca207ec
Bump api (#8567)
* Bump api

* Optional deposits
2022-12-17 14:49:40 +02:00
Jaco
2643f4f1c3
Referendum chart labels (#8564) 2022-12-17 11:43:01 +02:00
Jaco
4be4af5fdd
Slight dedupe on chart backgrounds (#8562) 2022-12-16 15:37:03 +02:00
Jaco
a66f37bf63
Adjust referendum chart backgrounds (#8561) 2022-12-16 15:20:07 +02:00
Jaco
b7a0ee7900
Gov2 lock calcs (per account) (#8537)
* Gov2 lock calcs (per account)

* Lock calcs

* Individual info

* Countdown display

* Adjust

* With conviction

* Optional modules

* Formatting adjustments

* Add abstain to total value

* WithAsbstain override type

* Linting

* Adjust

* Clear expired locks

* Check ids length
2022-12-16 13:30:07 +02:00
Jaco
6b07f923f9
Add elapsed overlays on referenda graphs (#8557)
* Add elapsed overlays on refernda graphs

* Adjust typings

* Adjust (optional point)
2022-12-16 11:13:00 +02:00
Jaco
b6802bfca0
Format track selection options (#8555)
* Format track selection options

* Adjust submit dialog
2022-12-16 10:06:35 +02:00
Jaco
1d2b693795
Reformat referendum columns (#8554) 2022-12-16 08:36:03 +02:00
Jaco
92960c935a
Display inactive issuance summary (#8534)
* Display inactive issuance summary

* Referenda issuance

* Adjust item availability

* active only on inactive availability

* optional explore inactive
2022-12-14 13:09:40 +02:00
Jaco
66992439f5
Adjust voting modal (buttons for non-conv.) (#8533) 2022-12-14 11:09:39 +02:00
Jaco
1ec47a71c8
Fix basic vote params (e.g. fellowship) (#8521) 2022-12-12 17:14:54 +02:00
Jaco
17196c4558
Rework voting modal with all type values (#8519) 2022-12-12 08:53:17 +02:00
Jaco
d9c5b05d93
Add abstain (#8516) 2022-12-12 07:49:24 +02:00
Jaco
72b0f96176
lastNonzeroSlash > submittedIn for chilled (#8518)
* lastNonzeroSlash > submittedIn for chilled

* Note on logic

* Cleanups
2022-12-12 07:44:07 +02:00
Jaco
58d9733d41
Confirming end block (#8512) 2022-12-10 13:44:15 +02:00
Jaco
8ed412950f
Start referendum charts at 0 (#8504) 2022-12-08 12:29:49 +02:00
Jaco
bf69fbb625
Calculations for referenda curves (#8417)
* Calculations for referenda curves

* clamping

* Curve tests

* Adjust

* Display actual time left

* totalEligible

* Protected div

* Remove decidingEnd override

* Calc full curve graph

* Full graph

* Display graphs

* Pass through eligibleIssuance

* Rename activeIssuance

* Dual graphs

* Adjust color interleave
2022-12-08 09:40:48 +02:00