Commit Graph

105 Commits

Author SHA1 Message Date
Abdulaziz Kamil
3cb5fc3020
Update index.tsx (#10035)
typos correction
2023-11-16 15:32:01 +02:00
G. Kami Ekbatanifard
02e9cf489f
Fixes #9260 (#10002) 2023-11-03 12:06:18 +02:00
Jaco
e23c8cf152
Bump pjs deps (#9794)
* Bump pjs deps

* Some cleanups

* Additional fixes

* Additional fixes

* kilt

* Additional fixes

* Headers

* Additional headers

* Additional

* Additional

* Additional

* Additional

* It seems to lint... locally.

* It seems to build... locally.

* Review adjustments
2023-08-19 09:38:42 +03:00
Jaco
4d329a1e88
Adjust i18n types (prepare for i18next-react update) (#9688) 2023-07-13 09:54:48 +03:00
Jaco
5497195f99
Apply useBatchTx to gov2 delegation (#9606) 2023-06-19 12:37:22 +03:00
Thibaut Sardan
97406d895f
Fix delegation with x0.1 conviction and typo (#9599)
* typo, conviction, activityFrom

* Update packages/page-referenda/src/Referenda/Delegate/index.tsx

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

* Update packages/page-referenda/src/Referenda/Delegate/index.tsx

* Update packages/page-referenda/src/Referenda/Delegate/index.tsx

---------

Co-authored-by: Jaco <jacogr@gmail.com>
2023-06-18 13:09:23 +03:00
Jaco
e0e2605564
Bump dev (w/ eslint config updates) (#9472) 2023-05-21 09:04:36 +03:00
Jaco
26bcc6073d
Switch on tsconfig composite (#9465)
* Switch on tsconfig composite

* Rebuild locales

* Fix CallExpander import
2023-05-19 15:11:59 +03:00
Jaco
4bfda46580
Swap TS resolution to base config (#9194)
* Swap TS resolution to base config

* Run build fixup before lint

* Adjust with specific comment on fixup
2023-03-17 12:55:10 +02:00
Jaco
2422145a24
Adjust spec with references (not able to bump ts 5 as of yet) (#9190)
* Bump to TS 5.0

* Revert TS bump (needs investigation)
2023-03-17 08:34:43 +02:00
Jaco
eacf028ba6
Use .js imports in src (#9132)
* Use .js imports in src

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Add WP extension aliases

* Bump dev

* Additional

* Additional

* Adjust extensionAlias order
2023-03-09 12:11:03 +02:00
Jaco
27098f34b8
Bump deps (#9040)
* Bump deps

* Bumps

* Adjust

* Adjust

* Adjust test imports

* Adjust

* Re-adjust

* Fix frequency package name

* Adjust build

* Adjust

* Fix before import

* Adjust

* require script

* Adjust checks

* Linting fixes

* Fix json alongside other tests

* Move fixup script

* Remove main type: "module"

* Adjust (some) tests

* Adjust chartjs imports

* Bump deps

* Adjust

* Bump deps

* Adjust styled imports

* Bump deps

* Adjust
2023-02-20 11:38:52 +02:00
Jaco
9e12f02b26
Adjust Reciprocal calculations (#8940) 2023-02-05 11:34:24 +02:00
Jaco
7d24f50c38
Bump deps (incl. TS) (#8931)
* Bump deps (incl. TS)

* Adjust ESM packages for Jest

* Yet more Jest hacks

* Make horrible jest config slightly prettier

* Unbump electron

* Fix external package deps
2023-02-03 15:01:45 +02:00
Jaco
7d1e037fdb
Add missing inline preimage conditions (#8882) 2023-01-25 13:19:59 +02:00
Jaco
61cde148b8
Align Line chart titles (#8874) 2023-01-24 08:46:59 +02:00
Jaco
3a8ea22d4b
Conviction voting delegation (#8721)
* Conviction voting delegation

* Extract option creation

* TrackDropdown (& component consolidation)

* Adjust option extraction

* Adjust

* "a" modal

* Retrieve voting activity for persons of interest

* Debug logs ... all is ok

* Adjust check ordering

* Really make identity optional

* Extract voting details

* Add delegation targets to hooks

* Use param types

* Apply master font changes

* WIP, start populating

* Some progress in the UI stuff

* Adjust

* The pieces are mostly in-place

* Seems to do the trick...

* Correct pallet for voting

* Use palletVote
2023-01-23 16:41:02 +02:00
Jaco
d12280cb1b
Make usePreimage deal with inline calls (#8843)
* Make usePreimage deal with inline calls

* Ongoing adjustment for hash extraction
2023-01-21 09:18:52 +02:00
Jaco
4cdad63117
Align council/tech-comm layouts (#8832) 2023-01-17 14:35:11 +02:00
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