Jaco
b4098280d0
Upgrade to latest react-router ( #9230 )
...
* Upgrade to latest react-router
* Additional
* Adjustment to tabs, dedupe routes
* Adjust for Route element={...} usage
* Align (soon-to-be-removed) gilt routing
* Change path='' to index
2023-03-28 09:35:15 +03: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
d44ce108ac
Bump deps ( #8993 )
...
* Bump deps
* Ensure .catch is applied to promises
* Adjust code style
2023-02-09 19:13:26 +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
47748f0cf5
Preimage length for current-gen council + external ( #8899 )
2023-01-31 12:51:55 +02:00
Jaco
3565edfb0f
Adjust TC/Council prop display ( #8869 )
2023-01-23 16:13:23 +02:00
Jaco
4cdad63117
Align council/tech-comm layouts ( #8832 )
2023-01-17 14:35:11 +02:00
Jaco
a4c9706c29
Return nay flag from votes ( #8805 )
...
* Return nay flag from votes
* Add comments around calcs
2023-01-14 22:42:43 +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
Peter White
357d969b60
Small fixes to provide council page compatibility ( #8791 )
...
* small fixes to provide council page compatibility
* Suggestions to get CI to lint
* Update packages/page-democracy/src/Overview/ProposalCell.tsx
Co-authored-by: Jaco <jacogr@gmail.com>
2023-01-14 10:52:01 +02:00
Jaco
0bf67023d0
Adjust InputBalance label positions ( #8790 )
...
* Adjust InputBalance label positions
* Allow null values
* Fix undefined params
2023-01-14 09:46:26 +02:00
Jaco
32a25009f5
Cleanup file headers (some mis-named locations) ( #8789 )
...
* Cleanup file headers (some mis-named locations)
* Update packages/page-council/src/Motions/Motion.tsx
2023-01-14 08:43:40 +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
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
ed513de9f0
Minor placeholder adjustments ( #8738 )
...
* Minor placeholder adjustments
* placeholders for explorer block view
* Weight graph
* Misc class fixes
* Drive-by LinkExternal label fix
* StakeOther changes
2023-01-09 18:57:33 +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
8123d65969
Adjust default (non-locked) vote size ( #8719 )
2023-01-07 13:13:55 +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
4929b1c6fd
Update headers for 2023 ( #8665 )
...
* Update headers for 2023
* Adjust env-config
2023-01-01 10:32:05 +02:00
Jaco
f55b0ddc05
Adjust list + badges with overlay ( #8643 )
...
* Adjust list + badges with overlay
* Adjust
2022-12-28 12:47:12 +02:00
Jaco
b3917bd36e
Adjust council/staking accounts tables ( #8632 )
2022-12-26 09:16:57 +02:00
Jaco
023844f2e3
Adjust council proposeExternal (basic, non-optimal detect) ( #8403 )
...
* Adjust council proposeExternal (basic, non-optimal detect)
* Democracy propose
* Check for notePreimage
2022-11-23 17:47:36 +02:00
Jaco
38e228083e
Adjust extrinsics using v2/v1 weights ( #8193 )
...
* Adjust for v2 weights
* readability
* Remove unused param
* Renaming system events
* useWeight adjustment
* Remove (now) misplaced comment
* Adjust tests
2022-10-04 13:14:56 +03:00
Jaco
53faefd1a8
Adjust useWeights results (prepare for conv.) ( #8192 )
2022-10-03 10:46:54 +03:00
Jaco
2c69be6ebc
Introduce alliance motions ( #7925 )
...
* Introduce alliance motions
* Quick-and-dirty motion import
* Adjust motion submission with filtering
* Adjust hooks
* Thresholds
* Align tech comm threshold
* Adjust threshold calcs
* Display announcements
* Adjust incomplete
* url calc
* Display encoded ipfsCid
* useIpfsLink with rule link
* Adjust tags
* Cleanups
* Adjust for prime type
2022-07-29 12:08:00 +03:00
Jaco
6980e1ebeb
Add alliance join ( #7915 )
2022-07-27 08:45:50 +03:00
Jaco
c55a15dc53
Extract Latency/API stats reusable chart ( #7679 )
...
* Extract Latency/API stats reusable chart
* Adjust
2022-06-02 11:54:47 +03:00
Jaco
aa7207b66d
Bump API ( #7677 )
2022-06-02 07:10:12 +03:00
Jaco
057f6c10d5
Adjust all LinkExtrenal to icons ( #7513 )
2022-05-03 15:17:21 +03:00
Jaco
7fcade014a
Display council voters via ExpanderScroll ( #7386 )
2022-04-18 13:59:14 +03:00
Jaco
006cdc6eb4
Add ExpanderScroll to council ( #7385 )
2022-04-18 12:26:04 +03:00
Gilles Barnier
aa928f10b4
Fix display issues on the democracy dashboard page ( #7360 )
...
* PR7304
* Update packages/page-democracy/src/Overview/ReferendumVote.tsx
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com>
* Update packages/page-democracy/src/Overview/ReferendumVote.tsx
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com>
* Update packages/page-democracy/src/Overview/Referendums.tsx
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com>
* Update packages/page-democracy/src/Overview/Referendum.tsx
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com>
* Update packages/page-democracy/src/Overview/Referendum.tsx
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com>
* Update packages/page-democracy/src/Overview/Referendum.tsx
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com>
* PR7304 after Jegor s comments
* aligned the donut in democracy and fixed the 100% bug on the pie chart
* - fixed the 100% issue with the donut
- fixed the remaining horizontal alignment
- removed the horizontal scrollbar in the votes table
- fixed the vertical alignment of the donut
* - added min and max height to the listed tables (referendum and proposal)
- added the same table listing as referendum to proposals
* Update packages/react-components/src/CallExpander.tsx
Co-authored-by: Jaco <jacogr@gmail.com>
* Update packages/react-components/src/Expander.tsx
Co-authored-by: Jaco <jacogr@gmail.com>
* Update packages/page-democracy/src/Overview/Proposal.tsx
Co-authored-by: Jaco <jacogr@gmail.com>
* Update packages/page-democracy/src/Overview/Proposal.tsx
Co-authored-by: Jaco <jacogr@gmail.com>
* Update packages/page-democracy/src/Overview/Proposals.tsx
Co-authored-by: Jaco <jacogr@gmail.com>
* Update packages/page-democracy/src/Overview/Proposals.tsx
Co-authored-by: Jaco <jacogr@gmail.com>
* Update packages/page-democracy/src/Overview/Referendum.tsx
Co-authored-by: Jaco <jacogr@gmail.com>
* Update packages/page-democracy/src/Overview/Referendums.tsx
Co-authored-by: Jaco <jacogr@gmail.com>
* Update packages/react-components/src/TxButton.tsx
Co-authored-by: Jaco <jacogr@gmail.com>
* Update packages/react-components/src/LinkExternal.tsx
Co-authored-by: Jaco <jacogr@gmail.com>
* Auto-lint fixes (after master merge)
* Use Progress component for democracy (#7376 )
* Apply suggestions from code review
* Centering
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com>
Co-authored-by: Jaco <jacogr@gmail.com>
2022-04-15 08:00:40 +03:00
Jaco
5f7662a60c
Consolidate *--hidden classes ( #7359 )
...
* Consolidate *--hidden classes
* Additional
2022-04-12 09:48:06 +03:00
Jaco
5174f5ffbe
Bump API & common ( #6797 )
...
* Bump API & common
* BN imports
* Root imports
* Bump
2022-01-07 17:37:36 +02:00
Jaco
51835328db
2022 ( #6764 )
2022-01-01 09:30:15 +02:00
Jaco
0a26f52103
Bump @polkadot deps ( #6514 )
...
* Bump @polkadot deps
* Bumps
2021-11-07 12:09:50 +02:00
Jaco
b957353d22
Hooks (most, no generic) via createNamedHook ( #6451 )
2021-10-30 17:30:43 +03:00
Jaco
2da9af03ba
Require proposalWeight/Length for close ( #6398 )
2021-10-24 17:38:49 +03:00
Jaco
2be66d6a81
Allow collective close from any account ( #6120 )
2021-09-14 11:50:33 +02:00
Jaco
a7fade8724
Jest config cleanup ( #6053 )
...
* Jest config cleanup
* auto-lint fixes
2021-09-01 21:38:45 +03:00
Jaco
b8daf379e7
Bump dev (w/ lint fixes) ( #6006 )
...
* Bump dev (w/ lint fixes)
* Additional
* Bump ui/extension
2021-08-26 12:16:11 +02:00
MiZiet
9ac3d6a095
Replace sui modal with a custom one ( #5914 )
...
* Remove SUI modal
* Update modal positioning
* Clean up imports
* Restore removed size
* Add tests for Modal component
* Add border radius to actions
* Disable global scroll
* Introduce ESC_KEYCODE const
* Arrange props
* Change components definitions
* Change styled components to functional
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-08-24 12:14:34 +03:00
Jaco
93719487b7
Don't show council elections with no module ( #5765 )
2021-07-05 10:01:23 +02:00
Jaco
97d2866e6e
Use useCollectiveModule for all collective locations ( #5762 )
...
* Use useCollectiveModule for all collective locations
* staking useCollectiveModule
* Bounties useCollectiveModule
* Mock collective
* Adjust
* useMember -> useCollectiveMembers
2021-07-05 08:03:27 +02:00
Jaco
42cb6b84d3
Rework collective queries ( #5732 )
...
* Rework collective queries
* members derive
* All via derive
* Adjust society useMembers
* Adjust optional consts
* Detect council module locations
* Adjust tech comm with module locations
* Rework loading
* Unused type import
2021-07-02 10:42:13 +02:00
Jaco
8a95b1a93b
Handle BN type-only imports correctly ( #5428 )
...
* Handle BN type-only imports correctly
* lint fixes
2021-06-03 10:41:55 +02:00
Jaco
7d1c12a0d4
Adjust slash creation for staking pages ( #5311 )
2021-05-18 12:06:35 +02:00
Jaco
11f213c6b5
Cater for prev-gen council votes ( #5301 )
2021-05-16 17:02:16 +02:00
Jaco
c6f398ca4f
Cater for phragmenElection ( #5284 )
...
* Cater for phragmenElection
* Bump API
2021-05-14 18:31:53 +02:00
Jaco
3a36f54342
Show council reserved voting amount ( #5179 )
2021-05-01 06:46:23 +02:00