* 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>
* Add Label, Name and Value type definitions for Neatcoin
* Update packages/apps-config/src/api/spec/neatcoin.ts
Co-authored-by: Jaco <jacogr@gmail.com>
Co-authored-by: Jaco <jacogr@gmail.com>
* Factor out code duplication in createAccount
* Factor out account names
* Factor out account pass
* Factor out common UI elements
* Move CreateAccountInputs to a separate file
* Rename "getResult" to "commitAccount"
* Rename "AccountPass" to "AccountPassword"
* Use shorter name for component Props
* Rename "isPassValid" to "isPasswordValid"
* Update packages/page-accounts/src/modals/CreateAccountInputs.tsx
Co-authored-by: Jaco <jacogr@gmail.com>
* Update packages/page-accounts/src/util.tsx
Co-authored-by: Jaco <jacogr@gmail.com>
* Rename _onCommit prop to onCommit
* Apply new lint rules
Co-authored-by: Jaco <jacogr@gmail.com>
Co-authored-by: MiZiet <michalzietalak@o2.pl>