Commit Graph

952 Commits

Author SHA1 Message Date
Jaco
f362ab8360
Basic referenda locks display (#8535) 2022-12-14 13:46:02 +02:00
Jaco
24a136b320
Bump deps (w/ deprecations) (#8532) 2022-12-14 10:07:49 +02:00
Jaco
0855f73a55
VoteValue noDefault set 0 default (#8520) 2022-12-12 13:29:11 +02:00
Jaco
17196c4558
Rework voting modal with all type values (#8519) 2022-12-12 08:53:17 +02:00
Jaco
6456eb2044
Referenda track filters (#8488) 2022-12-06 08:21:20 +02:00
Jaco
6c384d06ed
Fix length of gov 2 submissions (#8333)
* Fix length of gov 2 submissions

* No ProposedAction
2022-11-11 11:22:36 +02:00
Jaco
ea01033892
Bump API (#8318)
* Bump API

* Adjustments
2022-11-07 09:41:29 +02:00
Jaco
fcdca155eb
Introduce tracks for gov2 referenda (#8141)
* Introduce tracks for gov2 referenda

* Adjust

* Track name

* Submit dialog

* Start of origin selection

* Submission cont

* At/After blocks
2022-09-19 13:08:18 +03:00
Jaco
0d32810273
Bump TS (#8054)
* Bump TS

* Bumps

* Build output

* extends DropdownItemProps

* Linting
2022-08-26 16:21:38 +03:00
Jaco
95cdbae882
Bump deps (#7983)
* Bump deps

* <const> assertion
2022-08-13 12:10:49 +03:00
Jaco
a3b864738e
Bump deps (#7958)
* Bump deps

* Mark chartjs as esm
2022-08-03 15:16:32 +03:00
Jaco
6932d4339b
Basic referenda list (#7944)
* Basic referenda list

* preimage

* Debug display

* Adjust Referendum displays

* shortHash calc

* Show deposits

* Remove debug column
2022-07-31 14:32:31 +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
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
Jaco
0a77e778e7
Cater for Address types in InputAddress (#7102) 2022-03-03 15:11:49 +02:00
Jaco
1687e1449d
Bump TS (#7079)
* Bump TS

* Adjust
2022-03-01 10:41:36 +00:00
Jaco
0a8c5ce437
0.107.1 (#7067) 2022-02-28 09:00:36 +00:00
Jaco
b5e973e284
Display named reserves (#7051)
* Display named reserves

* Cleanups

* Bump API

* Fix mocks
2022-02-25 17:49:07 +02:00
Jaco
661ed704db
Pass last decoded extrinsic to submission (#6964)
* Pass last decoded extrinsic to submission (partial)

* Adjust

* Vector

* Adjust

* Adjust

* Adjust

* Fix enum state

* Tweak enum

* Non-crashing enum

* Tuple

* Cleanups

* Cleanups

* CHANGELOG
2022-02-25 14:12:29 +02:00
Jaco
e17a1725cd
Small cleanups (#7044) 2022-02-25 11:24:22 +02:00
Jaco
9dc0d84d3d
Upgrade deps (#7035) 2022-02-24 12:18:24 +00:00
Jaco
0444b6da11
Calculate block latency details (#7030)
* Calculate block latency details

* Single useEffect

* Cleanups

* Latency tab

* Adjust chart size

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-02-24 10:14:44 +00:00
Jaco
04058c67dd
Support PalletSchedulerScheduledV3 (#6985)
* Support PalletSchedulerScheduledV3

* Adjust
2022-02-14 14:59:54 +02:00
Jaco
50d23185e6
Ensure CallExpander doesn't crash (#6983) 2022-02-14 14:12:19 +02:00
Jaco
cbcf7ba15c
Add event status warnings (#6962)
* Add event status warnings

* xcmPallet
2022-02-10 09:17:05 +02:00
Jaco
1d9b4a267b
Bump API (correct camelCase inspect) (#6956) 2022-02-09 14:29:18 +02:00
Jaco
1b206a9148
Extrinsic inspection (#6948)
* Extrinsic inspection

* typing

* as Call

* Correct import

* Adjust

* Decoded component

* Cleanups

* Dedupe

* Adjust
2022-02-09 09:42:33 +02:00
Jaco
532e0e3ca5
Show storage key breakdown (#6945)
* Show storage key breakdown

* Update packages/page-storage/src/Selection/Modules.tsx
2022-02-08 16:06:27 +02:00
Jaco
4cc31fc856
Ensure InputAddress is de-deuped prior to display (#6934) 2022-02-07 15:27:36 +02:00
Jaco
1348b1dbad
Align spinner sizing on status overlay (#6903) 2022-01-31 12:39:35 +02:00
Jaco
7fc1c7cb1b
Adjust crypto type display (#6881) 2022-01-26 09:20:04 +02:00
Jaco
dc1fccdaa9
Always display Settings -> Developer on dev chains (#6877) 2022-01-25 10:18:32 +02:00
Jaco
40c6b943de
Bump deps (#6868)
* Bump deps

* Dismiss all
2022-01-23 11:01:10 +02:00
Jaco
11fb799ede
Adjust status bar overlays (#6841)
* Adjust status bar overlays

* Adjust
2022-01-18 12:56:04 +02:00
Jaco
d182398b07
Adjust storage startValue extraction (#6843)
* Adjust storage startValue extraction

* substrate default
2022-01-18 11:39:42 +02:00
Jaco
5e1b8a8f49
Prepare for selectable groups (#6842) 2022-01-18 09:23:55 +02:00
Jaco
5174f5ffbe
Bump API & common (#6797)
* Bump API & common

* BN imports

* Root imports

* Bump
2022-01-07 17:37:36 +02:00
Jaco
b1a04a5d46
Bump dev (w/ header fixes) (#6772) 2022-01-03 17:37:55 +02:00
Jaco
51835328db
2022 (#6764) 2022-01-01 09:30:15 +02:00
Jaco
a7a48c1140
Extract derive.accounts.* into own hooks (#6755)
* Extract derive.accounts.* into own hooks

* useAccountApi as applicable

* Rename step 1

* useSystemApi
2021-12-30 10:02:41 +02:00
Jaco
0f58b96f76
Bump dev with package-specific tsconfig.json (#6691)
* Bump dev with package-specific tsconfig.json

* Bump tsc

* Bumps

* Adjust

* Bumps

* Bump dev
2021-12-16 12:08:06 +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
094a94449f
Adjust error stack formatting (#6448)
* Adjust error stack formatting

* linting
2021-10-30 11:30:11 +03:00
Jaco
60a5334ff2
Add error stakcs to useCall & ErrorBoundary (#6447) 2021-10-30 10:41:24 +03:00
Jaco
30f9eb5535
Bump deps (#6417) 2021-10-26 14:53:53 +03:00
Jaco
6c81b3170e
sideEffects needed for i18next (#6407) 2021-10-25 15:54:54 +03:00
pan
056a0c2fe7
fix vote input bug (#6113)
* update bifrost types

* update bifrost types

* update bifrost types

* update bifrost types

* fix vote input bug

* update code structure
2021-10-24 17:25:50 +03:00
Jaco
64e3182ab2
Ensure disabled menuitems are shown as disabled (#6394) 2021-10-24 16:27:16 +03:00
Jaco
fc0bcb3f45
Adjust address filter, always apply (#6392)
* Adjust address filter, always apply

* Adjust

* Adjust
2021-10-24 15:54:15 +03:00
Jaco
658f2bd12e
Adjust type labels (#6379)
* Adjust tupe labels

* Remove unused param
2021-10-23 13:47:09 +03:00