ghost-portal/packages/react-components/src/util
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
..
checkVisibility.tsx Adjust query type display (#6150) 2021-09-19 17:58:56 +02:00
getAccountCryptoType.ts Adjust query type display (#6150) 2021-09-19 17:58:56 +02:00
getAddressMeta.ts Adjust query type display (#6150) 2021-09-19 17:58:56 +02:00
getAddressName.ts Adjust query type display (#6150) 2021-09-19 17:58:56 +02:00
getAddressTags.ts Adjust query type display (#6150) 2021-09-19 17:58:56 +02:00
getContractAbi.ts Adjust query type display (#6150) 2021-09-19 17:58:56 +02:00
index.ts User getSiName from @polkadot/types (#6153) 2021-09-20 10:33:23 +02:00
isTreasuryProposalVote.ts Adjust query type display (#6150) 2021-09-19 17:58:56 +02:00
toAddress.ts Adjust query type display (#6150) 2021-09-19 17:58:56 +02:00
toShortAddress.ts Adjust query type display (#6150) 2021-09-19 17:58:56 +02:00
types.ts Split registrars display (#6157) 2021-09-29 10:45:34 +02:00