ghost-portal/packages
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
..
apps Account row collapsible row details (#5975) 2021-08-26 13:02:24 +02:00
apps-config [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
apps-electron [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
apps-routing [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
page-accounts Account row collapsible row details (#5975) 2021-08-26 13:02:24 +02:00
page-addresses [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
page-assets [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
page-bounties [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
page-calendar [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
page-claims [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
page-contracts [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
page-council [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
page-democracy [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
page-explorer [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
page-extrinsics [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
page-gilt [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
page-js [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
page-membership [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
page-parachains [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
page-poll [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
page-rpc [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
page-settings [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
page-signing [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
page-society [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
page-staking [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
page-storage [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
page-sudo [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
page-tech-comm [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
page-treasury [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
react-api [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
react-components Account row collapsible row details (#5975) 2021-08-26 13:02:24 +02:00
react-hooks [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
react-params [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
react-query Account row collapsible row details (#5975) 2021-08-26 13:02:24 +02:00
react-signer [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00
test-support [CI Skip] release/beta 0.95.2-43 2021-08-26 10:49:59 +00:00