Commit Graph

1027 Commits

Author SHA1 Message Date
Jaco
3d4c64c60e
Additional events with Balance overrides (#8621) 2022-12-24 10:24:48 +02:00
Jaco
d4fa6b29a6
Explicit hash copy for preimages (#8620)
* Explicit hash copy for preimages

* Adjust
2022-12-24 09:59:16 +02:00
Jaco
9bfe7eb1ac
Adjust Expander > Params layout (#8617)
* Adjust Expander > Params layout

* Re-adjust width
2022-12-24 09:26:27 +02:00
Jaco
d043bbd2ed
Expander sub max length (not expanded) (#8611)
* Expander sub max length (not expanded)

* Expander max width
2022-12-23 15:22:46 +02:00
Jaco
617eea7e07
Add ErrorBoundary to charts (#8613) 2022-12-23 14:18:36 +02:00
Jaco
3c00ec8aa4
Align call expander (#8593)
* Extend confirmation referendum graph display

* Adjust

* ProposedAction with expander

* Expander with left arrow

* Adjust header

* Additional CallExpander alignment

* isHeader

* Adjust expander with meta short summaries

* Adjust
2022-12-23 11:43:58 +02:00
Cameron Fairchild
12d5cc1ba8
Fix ChainImg logo to match chain (#8605)
* fix chainimg logo loading

* fix lambda to capture undefined
2022-12-23 11:26:31 +02:00
Jaco
685b6aa732
Always pass through voting lock period (#8601)
* Always pass through voting lock period

* const from voting pallet

* Only allow non-empty
2022-12-23 11:10:29 +02:00
Jaco
9d5171734a
Adjust all chart options (#8606)
* Adjust all chart options

* Expand loading check

* Reload on validatorId changes

* Formatting
2022-12-23 10:09:10 +02:00
Jaco
adec4a7fcb
Use convictionVoting votingPeriod in Vote display (#8599)
* Use per track enactmentPeriod in Vote display

* Pass track

* Adjust time text

* voteLockingPeriod pass-through

* Remove unused track pass-through
2022-12-22 09:15:43 +02:00
Jaco
de7ff8e4e1
Adjust chart plugin copy (#8595)
* Adjust chart plugin copy

* Adjust

* Remove cast

* constants
2022-12-22 08:57:26 +02:00
Jaco
364e289504
Extend confirmation referendum graph display (#8586)
* Extend confirmation referendum graph display

* Adjust

* ProposedAction with expander

* Expander with left arrow

* Adjust header
2022-12-20 17:50:45 +02:00
Jaco
a8d9d81f46
Use CallExpander in explorer (#8585)
* Use CallExpander in explorer

* Adjust w/ Extrinsic allowance
2022-12-20 13:37:16 +02:00
Jaco
a19dede5e6
Adjust param layout (w/ Enum & Struct expansion) (#8584)
* Adjust param layout (w/ Enum & Struct expansion)

* Additional event expansion

* Formatting for extra fields

* Adjust

* Ordering

* Adjust
2022-12-20 12:16:31 +02:00
Jaco
b80b4b72ad
Apply Balance component overrides to inputs (#8583)
* Apply Balance component overrides to inputs

* Additional

* Adjust

* Adjust
2022-12-19 22:08:48 +02:00
Jaco
256fbcebb6
Additional Balance component overrides (#8582)
* Additional Balance component overrides

* Additional
2022-12-19 20:41:00 +02:00
Jaco
19b399ddb0
Referenda graph overlaps (no explicit confirm) (#8581)
* Referenda graph overlaps (no explicit confirm)

* Crosshair for other charts

* Align all
2022-12-19 19:21:32 +02:00
Jaco
0887581ec0
Extract sibling address details (has been missed) (#8579) 2022-12-19 18:42:46 +02:00
Jaco
7b35db6422
Add crosshairs for referendum charts (#8577) 2022-12-19 14:26:37 +02:00
Jaco
201477d965
Adjust expander meta display (#8574) 2022-12-19 08:19:36 +02:00
Jaco
1e3cf6094b
Adjust Call/Event display (known balance args) (#8569)
* Adjust Call/Event display (known balance args)

* Additional

* Adjust

* smooth

* adjust colors
2022-12-18 15:48:03 +02:00
Jaco
b7a0ee7900
Gov2 lock calcs (per account) (#8537)
* Gov2 lock calcs (per account)

* Lock calcs

* Individual info

* Countdown display

* Adjust

* With conviction

* Optional modules

* Formatting adjustments

* Add abstain to total value

* WithAsbstain override type

* Linting

* Adjust

* Clear expired locks

* Check ids length
2022-12-16 13:30:07 +02:00
Jaco
6b07f923f9
Add elapsed overlays on referenda graphs (#8557)
* Add elapsed overlays on refernda graphs

* Adjust typings

* Adjust (optional point)
2022-12-16 11:13:00 +02:00
Jaco
11cb516546
Display warning/error on preimages (#8545)
* Display warning/error on preimages

* Display image depositor info

* Bytes length warning

* Adjust error message

* Comment flow

* Error adjust

* media classes
2022-12-15 10:55:32 +02:00
Jaco
df0c3ba9df
Display Call hashes on disabled items (#8544) 2022-12-15 10:04:08 +02:00
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
Jaco
0e5d1dd86f
Some css linting warning fixes (#6364) 2021-10-23 08:36:18 +03:00
Jaco
89b585d418
Use typeName from TypeDef (as available) (#6368)
* Use typeName from TypeDef (as available)

* Update packages/react-components/src/Extrinsic.tsx

* Display typeName in labels

* Bump API

* Bump
2021-10-22 15:36:45 +03:00
Jaco
f512c1a539
Bump de & api (w/ __Unused on enum) (#6326)
* Bump de & api (w/ __Unused on enum)

* Linting fixes

* tsc adjustments

* Api bump
2021-10-17 16:37:57 +03:00
xnorly
7319f384f8
Fix Typo in VoteValue.tsx (#6317) 2021-10-16 08:40:18 +03:00
Jaco
74ea7dd3aa
Display multiple vesting schedules (#6282)
* Display multiple vesting schedules

* Bump API
2021-10-13 17:44:09 +03:00
Jaco
df8d4e90b1
Expand events with lookup types (#6259) 2021-10-08 12:32:27 +03:00
Jaco
b4ea9af9ce
Fix small input-related bugs (#6258) 2021-10-08 12:15:53 +03:00
MiZiet
ca6c592349
Style redeemable balance (#6220)
Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
2021-10-06 14:53:17 +03:00
Ewa Kowalska
03a58ad8e7
Style badges in accounts list (#6208) 2021-10-06 11:48:47 +02:00
MiZiet
053e0efca2
Split registrars display (#6157)
* Add subs modal

* Add tests

* Add Translations

* Improve closing modal

* Improve tests

* Improve styles

* Style balances & identity

* Optimize imports

* Improve styles

* Set greater width to balance section

* Rename subs modal toggle

* Change 'amount' to 'count' in test name

* Set make modal header fixed while content is scrollable

* Style multisig

* Update multisig styles

* Capitalize headers

* Move sidebar tests to Sidebar.spec.tsx

* Remove duplications in tests

* Add UserIcon component

* Revert subs modal changes and add scrollable section in Sidebar

* Remove unused styles

* Use accountsPage clearAccount method

* Wrap subs into Expander

* Add useSubidentities hook

* Adjust api mock in tests

* WIP - split judgements

* Display judgements

* Handle no judgements case

* [WIP] Add popup test

* Extract JudgmentTag component

* Add popup test

* Refactor tests and remove pointer from no judgements tag

* Extract JudgementTag test class

* Close popup on scroll

* Remove old section

* Clean registration

* Clean up identity in useAccountInfo and mock in Page

* Remove fragment tag

* Fix imports

* Move SortedJudgements to /types

* Move Registrar interface to types

* Refactor clickRegistrar fcn

* Move hasAccount check to isRegistrar

* Add useJudgements hook

* Rename and move getJudgementColor to utils

* Fix import and casting in tests

* Sort imports

* Add review fixes

* Fix tests

Co-authored-by: Krzysztof Jelski <krzysztof@ethworks.io>
Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-09-29 10:45:34 +02:00
Ewa Kowalska
93091ba434
Fix colouring issue when filtering (#6166)
* WIP - fix coloring

* Fix row coloring

* Remove unnecessary test

* Apply review suggestions

* Update yarn lock file

* Apply review suggestion

* Restore row coloring in Extensions.tsx

* Remove unused field index in class Row

Co-authored-by: MiZiet <michalzietalak@o2.pl>
2021-09-22 15:52:14 +02:00
Ewa Kowalska
1e7dc8b399
Apply the same filter and buttons style to Contacts as in Accounts (#6155)
* Extract FilterInput component

* Apply filter input and buttons style as in accounts

* Remove filter--tags class name
2021-09-20 19:52:27 +02:00
Jaco
6fbc0e33bb
User getSiName from @polkadot/types (#6153) 2021-09-20 10:33:23 +02:00
Jaco
829830b83a
Adjust query type display (#6150)
* Adjust query type display

* linting

* Fix test page
2021-09-19 17:58:56 +02:00
MiZiet
42ef182879
Style identity and balance sections in sidebar (#6096)
* Add subs modal

* Add tests

* Add Translations

* Improve closing modal

* Improve tests

* Improve styles

* Style balances & identity

* Optimize imports

* Improve styles

* Set greater width to balance section

* Rename subs modal toggle

* Change 'amount' to 'count' in test name

* Set make modal header fixed while content is scrollable

* Style multisig

* Update multisig styles

* Capitalize headers

* Move sidebar tests to Sidebar.spec.tsx

* Remove duplications in tests

* Add UserIcon component

* Revert subs modal changes and add scrollable section in Sidebar

* Remove unused styles

* Use accountsPage clearAccount method

* Wrap subs into Expander

* Add useSubidentities hook

* Adjust api mock in tests

* WIP - split judgements

* Revert mistaken commit

Co-authored-by: Krzysztof Jelski <krzysztof@ethworks.io>
Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
2021-09-19 08:49:23 +02:00
Jaco
76e21f78c6
Fix Map single-arg queries on v14 (#6146) 2021-09-18 09:53:27 +02:00
Jaco
73e3a32aba
Support for v14 metadata (#5927)
* Support for v14 metadata

* sessionIds as map or array

* Cleanups

* Some storage page adjustments

* Arg mapping, no filterOrigin

* Use base64Encode in metadata

* Cleanups

* Storage cleanups

* Additional

* Use API types

* typo

* Storage historic compat

* Const input type

* Bumps

* Bumps

* Bumps

* Force salt to string
2021-09-18 08:18:51 +02:00
Krzysztof Jelski
ca8bbd1836
Reduce warnings in tests (#6132)
* Change i18next from wait to suspense (resolves console warning in app and in tests)

* Reduce error and warning output in fast tests
2021-09-16 15:08:53 +02:00
MiZiet
25c275cd13
Style sort dropdown (#6099)
* Style sort dropdown

* Use default icons

* Use rems

* Extract border-input variable
2021-09-14 09:03:44 +02:00
Jaco
162470d80e
Only allow Gilt bids via proxy (#6103)
* Only allow Gilt bids via proxy

* Proxy actual bid

* Fix summary
2021-09-13 07:23:28 +02:00
Ewa Kowalska
ad8226a5c3
Account sidebar - single button for editing name and tags (#6049)
* WIP - merge edition of account name and tags

* [WIP] - tests

* Apply test improvements

* Improve tests

* Improve tests and use useCallback

* WIP - add cancel button

* Outside click

* Add more tests

* Apply styling

* Add opacity on not editable elements

* Remove unnecessary code and fix type of sidebar ref

* Disable eslint rule

* Place edit button within account menu buttons

* Adjust test setup

* Ato-lint fixes

* Update styles

* Apply review suggestions

* Remove unused styles and change type of sidebar ref

* Remove onCancel from useAccountInfo hook

* Fix issue with edit button

* Apply review suggestions, remove tests

* Adjust tests

* Simplify tests

* Apply lint fixes

* Change layout of buttons

Co-authored-by: MiZiet <michalzietalak@o2.pl>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-09-09 19:40:09 +02:00
Vitaliy
734c3c653a
Add sorting for accounts view (#5923)
* Show basic balance info

* Show bonded summary

* Show redeemable summary

* Show unbonding summary

* Adopt linter suggestions

* Hide cards with zero balance

* Apply simplifications

Co-authored-by: Jaco <jacogr@gmail.com>

* Remove dead code

* Simplify balance==undefined case

* Add summary bar tests (#5890)

* Add tests for summary bar

* Improve test case name

Co-authored-by: Krzysztof Jelski <kjelski@gmail.com>

* Factor empty render into a beforeEach block

* Improve name of helper variable

Co-authored-by: Krzysztof Jelski <kjelski@gmail.com>

* Construct correct instance for StakingLedger.active

* Override only the relevant parts in each test case

* Simplify test cases

Co-authored-by: Krzysztof Jelski <kjelski@gmail.com>

* Sort by total balance and by type

* Rename "clas" to "htmlClass"

* Extract DEFAULT_SORT_CONTROLS constant

* Move stableSort to its own file

* Optimize sorting on accounts page

* Adopt new sorting design

* Apply suggestions from code review

Co-authored-by: Jaco <jacogr@gmail.com>

* Remove stableSort function

* Move Dropdown css to Account styles

* Add tests for sorting

* Adjust tests and apply lint fixes

* Apply lint fixes

* Improve row coloring and styling of button for sort direction

* Improve styling

* Fix tests setup and bug connected with cloning accounts

* Restore condition

* Fix imports

Co-authored-by: Jaco <jacogr@gmail.com>
Co-authored-by: Krzysztof Jelski <kjelski@gmail.com>
Co-authored-by: MiZiet <michalzietalak@o2.pl>
Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
2021-09-06 14:14:56 +02:00
Jaco
302df65239
Fix democracy icon location (#6077) 2021-09-06 11:52:51 +02:00
Jaco
5eecad1635
Bump deps (#6072)
* Bump deps

* Bumps
2021-09-05 14:37:55 +02:00
MiZiet
9b81349946
Add hover to the expand button (#6052)
* Extract ExpandButton

* Add simple hover

* Lint fixes after merge

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-09-03 09:40:49 +02:00