Jaco
7fcade014a
Display council voters via ExpanderScroll ( #7386 )
2022-04-18 13:59:14 +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
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
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
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
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
Jaco Greeff
d34bd33568
useBestNumber hook ( #4846 )
...
* useBestNumber hook
* Cleanups
2021-03-14 15:12:53 +01:00
Jaco Greeff
a86bc3284a
Flatten modal columns ( #4841 )
...
* Flatten modal columns
* Additional
* Additional
* Additional
* Additional
* Additional
* Adjust tests
* No bids outside ending
* s/winners/bids/
* Adjust
* lease offsets
2021-03-14 14:36:49 +01:00
Jaco Greeff
6dbb188a1a
2021 ( #4310 )
2021-01-03 11:33:39 +01:00
Jaco Greeff
5830e5eab6
Pass explicit function through to TxButton tx prop ( #4251 )
...
* Pass explicit function through to TxButton tx prop
* Updates
* Claim adjust
* Allow null on tx
* Adjust
* Apply suggestions from code review
* Adjustments after merge
2020-12-24 10:01:42 +01:00
Ewa Kowalska
541213f233
Ek extract type only imports into separate group ( #4168 )
...
* Plug new beta of eslint plugin simple import sort
* Apply new configuration to existing imports
2020-12-07 16:04:05 +01:00
Ewa Kowalska
87505b1c59
Eslint imports ( #4037 )
...
* Add eslint configuration
* Patch eslint plugin for sorting imports
* Apply eslint rules for imports
2020-12-01 14:40:42 +01:00
Jaco Greeff
e6d3c61176
Use type imports from @polkadot/types/interfaces ( #4103 )
...
* Move chain params to apps-config
* Use type imports from @polkadot/types/interfaces
2020-11-29 19:03:06 +01:00
Jaco Greeff
a0b82d88a4
Use import type { ... } ( #4052 )
...
* Use import type { ... }
* value imports
* TypeDefInfo
* Apply suggestions from code review
* fixes... am going blind.
2020-11-19 16:20:14 +01:00
Jaco Greeff
7ba7339d96
SPDX ( #3705 )
2020-09-17 16:46:46 +02:00
Jaco Greeff
fab8c86dfa
Expander adjustment (right-align, icons) ( #3668 )
...
* Expander adjustment (right-align, icons)
* Alignements
* caret
* caret alignment
2020-09-12 12:14:47 +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
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
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
7c9ed82251
API bump for votingBalance ( #3240 )
2020-07-20 20:45:07 +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
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
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
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
53c9f5587f
Council submit candidacy ( #2722 )
...
* Council submit candidacy
* Pass electionsInfo to SubmitCandidacy
2020-05-12 15:43:47 +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
Jaco Greeff
fdd8374646
Small modal columns adjustment ( #2659 )
...
* Small modal columns adjustment
* Remove Button.Or
* Modal shadow
2020-04-29 23:32:39 +02:00
Jaco Greeff
284f7a667d
useMemo for table headers/footers/filters ( #2601 )
...
* useMemo for table headers/footers/filters
* contacts mishap
2020-04-22 14:44:54 +02:00
Jaco Greeff
a8d6ba7863
Use system_chainType ( #2559 )
...
* Use system_chainType
* Formatting cleanups
* Alignment of Expander -> BalanceFormat
* Formatting
2020-04-12 13:32:43 +02:00
Jaco Greeff
d677d64817
UI support for simple payouts ( #2509 )
...
* UI support for simple payouts
* payout modal
* Adjust with era filtering
* Slow as molasses, but seems working
* Adjust th vertical alignment
* Bump API
* Update
* Cleanup reward retrievals
* linting
* Bumps
* Some rendering optimizations
* Re-add counter
* Fix new header linting
* Actual API bump
* Bumps
* Adjustments
* Adjust payouts as stand-alone tab
* Adjust nominations
* rm unused style
* change offsets
* Adjust
2020-04-08 16:39:32 +02:00
Jaco Greeff
00e0498ce2
Swap council voting away from TxModal ( #2521 )
...
* Swap council voting to non-TxModal
* No fat spinner
* Use bundled node
2020-04-06 12:29:00 +02:00
Jaco Greeff
b8df3dc8f4
Compact table markup ( #2514 )
...
* Compact table markup
* Motions tweak
* Small fixes
2020-04-04 08:15:36 +02:00
Jaco Greeff
9a6c55a40b
Bump dev (incl. eslint fixes) ( #2502 )
2020-04-01 21:31:36 +02:00
Jaco Greeff
9fde464c11
Bump dev, JSX prop rules ( #2499 )
2020-04-01 15:30:08 +02:00
Jaco Greeff
fda189f15f
Adjust for new elections (use API derives) ( #2485 )
2020-03-30 14:25:53 +02:00
Jaco Greeff
c9cf0581a0
Adjust all table layouts with headers ( #2480 )
...
* Some small CSS adjustments
* Adjust all table layouts with headers
* Adjust... somewhat
* Adjust
* Ok, enough for now...
* Adjust extrinsic from display
* header adjustments
2020-03-29 18:44:39 +02:00