Commit Graph

889 Commits

Author SHA1 Message Date
Jaco
22df6366ae
Filter section/method options (#7881) 2022-07-18 07:35:54 +03:00
Jaco
1ad8c1bf5e
App for runtime calls (#7811)
* App for runtime calls

* Display typoe in outputs

* Adjust for released

* sorting

* dedupe
2022-07-02 09:56:06 +03:00
Jaco
c4eddfce40
Event data named fields (#7714)
* Event data named fields

* Bump API
2022-06-09 14:14:10 +03:00
Jaco
3cc705b970
s/enactment/duration/ (#7713) 2022-06-09 12:22:08 +03:00
Jaco
471e62fc3f
Expose API stats tab (#7678) 2022-06-02 08:29:11 +03:00
Jaco
fed6962ef5
API stats charts (#7671) 2022-06-01 16:25:08 +03:00
Jaco
3a08d2d98a
Split apiSystem connection (#7662)
* Split apiSystem connection

* Test init

* Remove unused

* typo
2022-05-31 09:43:02 +03:00
Jaco
89941ba3bf
Allow negative value inputs in InputNumber (#7540) 2022-05-10 08:15:47 +03:00
Jaco
fd8f485053
Add basic utilities app (#7541) 2022-05-06 13:11:38 +03:00
Jaco
59b1671075
HACK for both npols & nopls (#7527) 2022-05-05 07:44:01 +03:00
Jaco
5b088a8b5b
Fix InputAddress allPlus with 0x input (#7518) 2022-05-04 12:28:54 +03:00
Jaco
f628f8b9b6
Use path refs for combinations (#7509)
* Use path refs for combinations

* Adjust

* Adjust padding

* Path variable renames
2022-05-03 15:37:31 +03:00
Jaco
057f6c10d5
Adjust all LinkExtrenal to icons (#7513) 2022-05-03 15:17:21 +03:00
Jaco
a6bbefe600
Display link in encoded details (#7511)
* Display link in ecnoded details

* trigger
2022-05-03 13:15:03 +03:00
Squirrel
7e8895c2f6
calldata hyperlink (#7507)
* try to autofil calldata from url

* Kind help from a friend.

* fixing warnings

* space rearranging.

* Jarco awesomeness
2022-05-03 11:29:20 +03:00
Jaco
4fb02896b0
Ensure decode fills non-existent MultiAddress (allPlus) (#7506) 2022-05-02 21:25:56 +03:00
Jaco
c1add3f17f
Ensure Call values are correctly passed on decode (#7504) 2022-05-02 20:00:53 +03:00
Jaco
2c7a71fbfb
Nested Call decoded display (#7503)
* Nested Call decoded display

* Fix non-default case
2022-05-02 17:22:54 +03:00
Jaco
dce5865327
Chnage ExpandButton to inline (#7501) 2022-05-02 09:21:43 +03:00
Jaco
35f4fb95c8
Fix table button alignment (#7500) 2022-05-02 08:13:54 +03:00
Jaco
3bf0562a51
Collators support (#7495)
* Collators support

* Ordering

* Adjust

* Adjust icons

* Bump API

* Adjust

* Rebuild
2022-04-30 15:07:00 +03:00
Jaco
d831783009
Expand pool details (w/ all accounts) (#7469) 2022-04-27 17:14:59 +03:00
Jaco
47913892cd
Expansion to pools logic (#7384)
* Expansion to pools logic

* Add filtering

* Pass through own pools

* Allow pool nominate tx

* Start with account actions

* Asho pool nominees

* Nomination operational

* Adjust table rows

* BondExtra for pools

* use availableBalance in calcs (w/ existential)

* Re-use isAmountError check

* Pass through actual pool info

* s/id/poolId/

* Display payout stashes

* Display points balance

* OCD cleanups

* claimPayout

* Calculate pool claimable

* Unbond

* Fix Unbond max

* Display remaining witldrawal eras

* Stashed/Pooled selection

* Withdraw unbonded

* StakingRedeemable display

* Renames as per metadata

* Additional

* s/pool/pools/

* PoolInfo display hints

* Adjust usePoolInfo hook

* Ordering adjustments

* Additional dedupes

* Combine queries

* Combinations & renames

* Flatten transform

* Non-existent reward

* bnMax sub

* lint fixes

* Bump API
2022-04-26 18:21:38 +03:00
Jaco
b18fe93b6c
AccountName for parachain (#7448) 2022-04-25 16:59:30 +03:00
Jaco
fdc4dc3501
Silence React test warnings (#7429) 2022-04-23 09:10:02 +03:00
Jaco
1db1eb1b93
isOdd/isEven Table row classes (#7414) 2022-04-21 11:07:19 +03:00
Jaco
374bb47335
Adjust Menu.Item with label prop (#7413) 2022-04-21 10:52:48 +03:00
Jaco
cb32de6b46
Split pool into stash/reward namings (#7410) 2022-04-20 18:34:55 +03:00
Jaco
818ab80982
Use ExpanderScroll on staking lists (#7406) 2022-04-20 12:10:17 +03:00
Jaco
84e040d26f
Remove ExpanderScroll min-height (#7405)
* Remove ExpanderScroll min-height

* Adjusrt with rem

* Adjust
2022-04-20 10:07:19 +03:00
Jaco
e6d4d56a07
Make addr -> name checks more robust (#7403) 2022-04-20 08:41:44 +03:00
Jaco
d294a1f2d1
Swap to React 18 createRoot (#7397)
* Swap to React 18 createRoot

* npols\0
2022-04-19 15:02:55 +03:00
Jaco
473a600e1b
Allow for id extraction from AccountId (#7396) 2022-04-19 14:33:19 +03:00
Jaco
2e8fc91ae7
Align info banners on staking (#7395) 2022-04-19 12:48:54 +03:00
Jaco
c77168960d
Bump deps (#7393)
* Bump deps

* Remove Rococo resets

* Additional bumps

* Bump concurrently

* Bump testcontainers

* Bump react-i18next

* React 18 (w/ SideBar test hack)

* react-markdown + rehype-raw

* Jest, 0, Jest ... get your ESM act together now.

* ... sprinkle awaits
2022-04-19 11:25:37 +03:00
Jaco
da7d714a19
Render tippers via ExpanderScroll (#7387)
* Render tippers via ExpanderScroll

* Remove TODO
2022-04-18 14:13:29 +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
Jaco
26dc5120b1
Dedupe into ExpanderScroll (#7380)
* Dedupe into ExpanderScroll

* Fix naming

* Use renderChildren

* Remove unused prop

* Adjust

* Adjust empty render
2022-04-16 10:25:11 +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
2f385280ea
Bump dev deps (#7375) 2022-04-14 14:47:13 +03:00
Jaco
a5372949a3
Consolidate rebag operations (#7319)
* Consolidate rebag operations

* Don't pass stashNodes
2022-04-07 08:33:13 +03:00
Jaco
70ac44edfa
Ensure Bytes doesn't get double ellipsis (#7274) 2022-03-30 15:35:22 +03:00
Jaco
3882a970ff
Filter for own/all bags (#7271)
* Filter for own/all bags

* Initial Own/All depending on stashes
2022-03-30 12:44:29 +03:00
Jay
e8f1ea5a89
fix: maybe there's not a conviction of direct voting (#7262)
* fix: maybe there's not a conviction of direct voting

* fix: conviction exist check
2022-03-29 19:45:51 +03:00
Jaco
97ca1cc85e
Extract DispatchError on incomplete (#7213)
* Extract DispatchError on incomplete

* Mark error appropriately

* Apply suggestions from code review
2022-03-23 09:20:17 +02:00
Jaco
0f03265d13
Adjust warning event display (#7168)
* Adjust warning event display

* Re-adjust timing
2022-03-15 21:26:03 +02:00
Jaco
9e5fa6a353
Add blockInterval hook (#7165) 2022-03-15 11:30:41 +02:00
Jaco
88018ce4f0
Adjust paras display (#7157) 2022-03-14 09:48:39 +02:00
Jaco
20feec581a
Bump deps & yarn 3.2.0 (#7132)
* Bump deps & yarn 3.2.0

* Generic type to translate
2022-03-10 10:49:12 +02:00