* 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>