ghost-portal/packages/react-components/src
Ewa Kowalska c7416ae159
Account row collapsible row details (#5975)
* Retrofitting basic unit tests to Accounts

Extraction of useAccounts and useBalance hooks

* Retrofitting basic unit tests to Accounts

Extraction of useAccounts and useBalance hooks

* Fixing accounts unit tests - basic account balances

* Cleaning up after PR remarks

* Fixing arrangements of balances 1/3

Moving ArrangedAccount around

* Add useStakingInfo hook

* Adopt linter suggestions

* Fixing arrangements of balances 2/3

Linking arranged balances values to mocked balances calls.

* Fixing arrangements of balances 3/3

Formatting utils made consistent

* Details row odd-even + (un)hide

* Improving th/td/footer layout

* Add tags to details row

* Changing layout of account balance with details

* Add total/details balances unit tests

* Add tags unit tests

* Clean up of TODOs, adding comments

* Improve tags unit testing

* Alternate account row details coloring unit test

* Row details toggling unit tests

* Row details toggling unit tests - bad commit fix

* Style address balances (#5897)

* Fix jumping column problem

* Improve balances positioning

* Format sidebar

* Position header

* Extract common formatting of balances in tests.

Thx @vitaliyworks, great hint.

* Revert Sidebar styling

* Use rems

* Lint

* Use useToggle for expanding account row

* Add tags header

* Apply FormatBalance review comments

* Display parent account info above account name (#5947)

* Display parent address

* Improve layout

* Set keyring in tests

* Remove redundant code from components

* Use derivedAccount only in specific test

* Apply lint fixes

* Remove parent column from expanded row

* Apply review suggestions

* Improve styling in ParentAddress component

* Improve layout of parent address and add short address

* Apply review suggestions

* Use map instead of for loops

* Fix display of AddressSmall

* Fix height of icons in AddressSmall

* Fix bouncing cells in address row

* Fix density of accounts display

Co-authored-by: Marcin Wachulski <marcin@ethworks.io>
Co-authored-by: Vitaliy Mysak <vitaliy@ethworks.io>
Co-authored-by: MiZiet <55240109+MiZiet@users.noreply.github.com>
Co-authored-by: MiZiet <michalzietalak@o2.pl>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-08-26 13:02:24 +02:00
..
Button 0.95.1 (#5908) 2021-08-02 14:21:45 +02:00
Chart Handle BN type-only imports correctly (#5428) 2021-06-03 10:41:55 +02:00
i18n 2021 (#4310) 2021-01-03 11:33:39 +01:00
IdentityIcon Adjust icon based on spec (#5491) 2021-06-08 08:05:39 +02:00
InputAddress Bump deps (#5665) 2021-06-23 11:21:24 +02:00
InputAddressMulti Use theme via css vars (#4789) 2021-03-10 11:04:14 +01:00
InputConsts Bump API (#5850) 2021-07-19 17:01:25 +02:00
InputExtrinsic Bump API (#5850) 2021-07-19 17:01:25 +02:00
InputRpc Ensure useState doesn't re-init with function calls (#4552) 2021-02-01 14:17:14 +01:00
InputStorage Bump API (#5871) 2021-07-23 08:52:12 +02:00
Modal Replace sui modal with a custom one (#5914) 2021-08-24 12:14:34 +03:00
Params 2021 (#4310) 2021-01-03 11:33:39 +01:00
Status Bump dev (w/ lint fixes) (#6006) 2021-08-26 12:16:11 +02:00
styles Replace sui modal with a custom one (#5914) 2021-08-24 12:14:34 +03:00
Table Account row collapsible row details (#5975) 2021-08-26 13:02:24 +02:00
Tabs Bump dev (w/ lint fixes) (#6006) 2021-08-26 12:16:11 +02:00
util Update deps (& berry) (#4765) 2021-03-03 11:52:39 +01:00
AccountIndex.tsx Use theme via css vars (#4789) 2021-03-10 11:04:14 +01:00
AccountName.tsx Use theme via css vars (#4789) 2021-03-10 11:04:14 +01:00
AddressInfo.tsx Account row collapsible row details (#5975) 2021-08-26 13:02:24 +02:00
AddressMini.tsx Handle BN type-only imports correctly (#5428) 2021-06-03 10:41:55 +02:00
AddressRow.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
AddressSmall.tsx Account row collapsible row details (#5975) 2021-08-26 13:02:24 +02:00
AddressToggle.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
Available.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
AvatarItem.tsx Use theme via css vars (#4789) 2021-03-10 11:04:14 +01:00
Badge.tsx Add new menu styling (#4317) 2021-03-24 10:27:37 +01:00
Balance.tsx Handle BN type-only imports correctly (#5428) 2021-06-03 10:41:55 +02:00
BatchWarning.tsx Warning & Error with exclamation triangle (#4331) 2021-01-10 08:37:51 +01:00
Bonded.tsx Handle BN type-only imports correctly (#5428) 2021-06-03 10:41:55 +02:00
ButtonCancel.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
Call.tsx Handle BN type-only imports correctly (#5428) 2021-06-03 10:41:55 +02:00
CallExpander.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
Card.tsx Use theme via css vars (#4789) 2021-03-10 11:04:14 +01:00
CardSummary.tsx Bump dev (w/ lint fixes) (#6006) 2021-08-26 12:16:11 +02:00
ChainImg.tsx Logo/colors based on specName (#5325) 2021-05-19 08:58:03 +02:00
ChainLock.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
Checkbox.tsx Use theme via css vars (#4789) 2021-03-10 11:04:14 +01:00
Columar.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
constants.ts 2021 (#4310) 2021-01-03 11:33:39 +01:00
ConvictionDropdown.tsx Bump deps (common, local types) (#4726) 2021-02-25 07:55:48 +01:00
CopyButton.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
CryptoType.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
DemocracyLocks.tsx Handle BN type-only imports correctly (#5428) 2021-06-03 10:41:55 +02:00
Digits.tsx Select slot range via dropdown (#4845) 2021-03-14 13:15:26 +01:00
Dropdown.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
EditButton.tsx Style tags (#5893) 2021-08-14 09:10:21 +02:00
Editor.tsx Ensure useState doesn't re-init with function calls (#4552) 2021-02-01 14:17:14 +01:00
ErrorBoundary.tsx Bump deps (#5665) 2021-06-23 11:21:24 +02:00
Event.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
Expander.tsx Bump API (#5850) 2021-07-19 17:01:25 +02:00
Extrinsic.tsx Bump API (#5850) 2021-07-19 17:01:25 +02:00
FilterOverlay.tsx Tiny menu/tabs/naming adjustments (#4923) 2021-03-24 14:58:32 +01:00
Forget.tsx Replace sui modal with a custom one (#5914) 2021-08-24 12:14:34 +03:00
HelpOverlay.tsx Add new menu styling (#4317) 2021-03-24 10:27:37 +01:00
Icon.tsx 0.95.1 (#5908) 2021-08-02 14:21:45 +02:00
IconLink.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
index.tsx Adjust Tabs usage (#5388) 2021-05-29 07:53:02 +02:00
InfoForInput.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
Input.tsx Ensure useState doesn't re-init with function calls (#4552) 2021-02-01 14:17:14 +01:00
InputAddressSimple.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
InputBalance.tsx Balance display with SI units (#5440) 2021-06-04 10:13:32 +02:00
InputFile.tsx Use theme via css vars (#4789) 2021-03-10 11:04:14 +01:00
InputNumber.tsx Ensure siDefault is always used on InputNumber (#5810) 2021-07-12 06:33:50 +02:00
InputTags.tsx Style tags (#5893) 2021-08-14 09:10:21 +02:00
InputWasm.tsx Parachains registration (#4318) 2021-01-04 14:46:14 +01:00
Inset.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
Label.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
LabelHelp.tsx Add tabIndex=-1 to all hints (#5703) 2021-06-29 06:50:17 +02:00
Labelled.tsx Use theme via css vars (#4789) 2021-03-10 11:04:14 +01:00
LinkExternal.tsx Replace sidebar text links with icons (#5999) 2021-08-24 17:06:21 +02:00
LockedVote.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
MarkError.tsx Warning & Error with exclamation triangle (#4331) 2021-01-10 08:37:51 +01:00
MarkWarning.tsx Warning & Error with exclamation triangle (#4331) 2021-01-10 08:37:51 +01:00
media.ts 2021 (#4310) 2021-01-03 11:33:39 +01:00
Menu.tsx Adjust Menu.Divider (only when between items) (#4560) 2021-02-01 13:52:15 +01:00
Nonce.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
Output.tsx Display call hash on signer modal (#4885) 2021-03-21 10:42:39 +01:00
ParaLink.tsx Adjust contribution state update (& indicator) (#5561) 2021-06-11 09:48:28 +02:00
ParentAccount.tsx Account row collapsible row details (#5975) 2021-08-26 13:02:24 +02:00
Password.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
PasswordStrength.tsx Use theme via css vars (#4789) 2021-03-10 11:04:14 +01:00
Popup.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
Progress.tsx Handle BN type-only imports correctly (#5428) 2021-06-03 10:41:55 +02:00
ProposedAction.tsx Handle BN type-only imports correctly (#5428) 2021-06-03 10:41:55 +02:00
Row.tsx Bump dev (w/ lint fixes) (#6006) 2021-08-26 12:16:11 +02:00
Sidebar.tsx Use theme via css vars (#4789) 2021-03-10 11:04:14 +01:00
Spinner.png Adjust Progress hl (#3258) 2020-07-24 16:39:23 +02:00
Spinner.tsx Enable Statemine <-> Kusama (w/ fees) (#5495) 2021-06-08 11:08:15 +02:00
StakingBonded.tsx Adapt Darwinia, Crab Network types (#5218) 2021-05-07 06:47:45 +02:00
StakingRedeemable.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
StakingUnbonding.tsx Account row collapsible row details (#5975) 2021-08-26 13:02:24 +02:00
Static.tsx Fix explorer static copy (#5185) 2021-05-01 14:03:43 +02:00
SummaryBox.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
Tag.tsx Style tags (#5893) 2021-08-14 09:10:21 +02:00
Tags.tsx Bump dev (w/ lint fixes) (#6006) 2021-08-26 12:16:11 +02:00
TextArea.tsx Use theme via css vars (#4789) 2021-03-10 11:04:14 +01:00
Toggle.tsx Use theme via css vars (#4789) 2021-03-10 11:04:14 +01:00
ToggleGroup.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
Tooltip.tsx Bounties - list layout improvements (#4644) 2021-02-11 11:03:46 +01:00
translate.ts 2021 (#4310) 2021-01-03 11:33:39 +01:00
TreasuryProposal.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
TxButton.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
types.ts Adjust slash creation for staking pages (#5311) 2021-05-18 12:06:35 +02:00
VoteAccount.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
VoteValue.tsx Handle BN type-only imports correctly (#5428) 2021-06-03 10:41:55 +02:00