Jaco
51835328db
2022 ( #6764 )
2022-01-01 09:30:15 +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
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
Jaco
a7fade8724
Jest config cleanup ( #6053 )
...
* Jest config cleanup
* auto-lint fixes
2021-09-01 21:38:45 +03:00
MiZiet
b4967ca82c
Popup menu replace and styling ( #6007 )
...
* Add custom popup
* Render popup window with react portal
* Handle scroll
* Handle pointer scroll
* Refactor types
* Add useOutsideClick
* Restore button styles
* Update types
* Add tests
* Set multiple refs
* Cleanup
* Cleanup
* Move offset const to the utils
* Add useCallback in useScroll
* Remove empty lines in useElementPosition
* Change styled components to functional
* Make sure popup window stays in view
* Highlight trigger button when popup is open
* Add uesPopupWindow hook
* Make triangle larger
* Use full trigger height
* Apply new lint rules
* Group popup items into groups suggested by Jaco
Menu.Item is of SUI (semantic UI). It supports icons, but
we plan to replace SUI and thus this feature is likely to use
font awesome instead of SUI icons.
* Remove sui menu
* Improve styles
* Add translations
* Add hover
Co-authored-by: Marcin Wachulski <marcin@ethworks.io>
2021-08-31 10:39:17 +02:00
MiZiet
b6c827a908
Remove sui popup ( #5924 )
...
* Add custom popup
* Render popup window with react portal
* Handle scroll
* Handle pointer scroll
* Refactor types
* Add useOutsideClick
* Restore button styles
* Update types
* Add tests
* Set multiple refs
* Cleanup
* Cleanup
* Move offset const to the utils
* Add useCallback in useScroll
* Remove empty lines in useElementPosition
* Change styled components to functional
* Make sure popup window stays in view
* Highlight trigger button when popup is open
* Add uesPopupWindow hook
* Make triangle larger
* Use full trigger height
* Apply new lint rules
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-08-31 09:35:33 +02:00