Commit Graph

127 Commits

Author SHA1 Message Date
Progress Ochuko Eyaadah
4d05ece466
Fix: Show referenda approval/support curves on Kusama, Paseo & Westend (no more blank charts) (#12168) 2026-02-20 10:29:04 -05:00
Bastian Köcher
aab016e9ee
Update copyright year to make CI happy (#12142) 2026-01-30 11:03:02 +01:00
Arjun Porwal
350a0af003
fix: referenda list collapse issue (#11796) 2025-12-02 14:29:58 +05:30
Arjun Porwal
46ee0f2859
fix: enhance RefEnd component with staking async APIs integration (#11970) 2025-11-05 13:31:40 +05:30
Arjun Porwal
104826b0d5
fix: curveThreshold function to handle zero length divisor case (#11953) 2025-10-29 20:15:44 +05:30
Arjun Porwal
68c45b91b6
Fix: Staking summary and Schedular remaining time (#11903)
* feat: enhance staking overview by combining data from multiple sources and add SummarySession component

* feat: integrate staking async APIs into Scheduled and Scheduler components

* fix: build

* feat: integrate staking async APIs into StakingUnbonding component

* feat: enhance SummarySession component with era progress calculation and improved API integration

* fix: chart timeline

* chore: comment
2025-10-13 22:00:06 +05:30
Arjun Porwal
5630635d4c
Refactor: Move Relay and Asset Hub API Connections to Context (#11891)
* feat: add StakingAsync context and hooks for improved staking API integration

* refactor: rename isStakingAsyncPage to isStakingAsync for consistency across components

* feat: introduce useBestNumberRelay hook for enhanced best number retrieval based on staking async state

* feat: add 'Kusama Asset Hub' link to Polkassembly and Subsquare configurations
2025-10-09 09:47:24 +05:30
Arjun Porwal
5872362120
Upgrade polkadot-js deps (#11702)
* chore: upgrade deps

* fix: build
2025-07-17 12:30:34 +05:30
Arjun Porwal
6a0e834727
Preserve referenda with missing info during grouping (#11651)
* fix: improve transformation logic in OPT_MULTI for referenda mapping

* fix: streamline OPT_MULTI transformation and improve referenda grouping logic
2025-06-26 08:53:37 +05:30
Arjun Porwal
628947eb1f
fix: update voting method to support runtime upgrade and prevent app breakage (#11344) 2025-02-28 08:57:48 -05:00
Tarik Gul
80fb4ad017
Ensure useReferenda doesnt cause a white screen (#11328) 2025-02-25 00:28:17 +02:00
Tarik Gul
894c2f90dd
Fix TracksInfo values being undefined and causing a whitescreen (#11320)
* Fix TracksInfo values being undefined and causing a whitescreen

* lint
2025-02-22 15:30:59 +02:00
Tarik Gul
384049fb6b
2025 (#11172)
* 2025

* update ci scripts to add access to scripts
2025-01-03 03:59:53 +02:00
Tarik Gul
3ddfcfec8f
Bump dev to 0.81.2 w/ typescript (#11050)
* Bump dev to 0.81.2 w/ typescript

* headerButton fix
2024-10-30 19:54:06 +02:00
Tarik Gul
1f3234c9b9
Allow reserved in voting balance (#10858)
* Allow reserved in voting balance

* convictionVoting check

* fix nit

* Fix nit logic
2024-08-26 10:16:08 -04:00
Tarik Gul
9e1af82fd9
Fix transferable balance (#10842)
* Fix transferable balance

* fix nits

* Fix all transferrable to transferable
2024-08-21 01:06:10 +03:00
Nikos Kontakis
f387340b37
Feature - introduce ambassador Base (Members and Referenda) (#10838)
* Ambassador Base (Members and Referenda)

* Minor fixes
2024-08-15 12:11:00 -04:00
Przemek Rzad
eb5574af17
Higher precision of referenda graphs (#10690)
* the fix

* same fix for extended graph as well

* lint
2024-06-28 11:03:21 -04:00
Tarik Gul
478cd03e7e
Use apiSystemPeople for identities on {relay | system} chains, and keep compat for parachains (#10598)
* Use apiSystemPeople for identities on relay chains

* Add apiIdentity support

* add config

* Fix nits

* Get working condition for all chains!

* add enableIdentity for correct support

* Add comments to EndpointOption type

* Add some inline comments
2024-05-21 21:28:03 +03:00
Przemek Rzad
a97dd7eaa1
Fix typo in condition check for a curve type (#10240) 2024-03-05 11:56:02 -05:00
Jaco
0649261a5d
2024 (#10152) 2024-01-08 15:06:30 +02:00
shuoer86
4b84add046
Fix typos (#10014) 2023-12-12 07:41:39 +02:00
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