Commit Graph

4232 Commits

Author SHA1 Message Date
Github Actions
4baeb1f243 [CI Skip] release/beta 0.95.2-104
skip-checks: true
2021-09-08 13:20:20 +00:00
Github Actions
1ecc07d7a6 [CI Skip] release/beta 0.95.2-103
skip-checks: true
2021-09-07 19:44:17 +00:00
Github Actions
5f389a08d6 [CI Skip] release/beta 0.95.2-102
skip-checks: true
2021-09-07 18:09:31 +00:00
Github Actions
fffb2fd7f8 [CI Skip] release/beta 0.95.2-101
skip-checks: true
2021-09-07 11:38:38 +00:00
Github Actions
f233517149 [CI Skip] release/beta 0.95.2-100
skip-checks: true
2021-09-07 09:43:39 +00:00
Github Actions
fccbd489c7 [CI Skip] release/beta 0.95.2-99
skip-checks: true
2021-09-07 08:55:36 +00:00
Github Actions
9ae89281e2 [CI Skip] release/beta 0.95.2-98
skip-checks: true
2021-09-07 08:30:30 +00:00
Github Actions
5a4b15b5d0 [CI Skip] release/beta 0.95.2-97
skip-checks: true
2021-09-06 14:58:18 +00:00
Github Actions
6e4428f7f1 [CI Skip] release/beta 0.95.2-96
skip-checks: true
2021-09-06 13:22:59 +00:00
Github Actions
508c5c7a1e [CI Skip] release/beta 0.95.2-95
skip-checks: true
2021-09-06 12:24:27 +00:00
Vitaliy
734c3c653a
Add sorting for accounts view (#5923)
* 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>
2021-09-06 14:14:56 +02:00
Github Actions
8295f01e9e [CI Skip] release/beta 0.95.2-94
skip-checks: true
2021-09-06 12:11:09 +00:00
Github Actions
61a4661e87 [CI Skip] release/beta 0.95.2-93
skip-checks: true
2021-09-06 11:20:51 +00:00
Github Actions
b6dddc6521 [CI Skip] release/beta 0.95.2-92
skip-checks: true
2021-09-06 10:12:20 +00:00
Github Actions
1ee9861013 [CI Skip] release/beta 0.95.2-91
skip-checks: true
2021-09-06 10:01:26 +00:00
Jaco
302df65239
Fix democracy icon location (#6077) 2021-09-06 11:52:51 +02:00
Github Actions
d8ba6e3630 [CI Skip] release/beta 0.95.2-90
skip-checks: true
2021-09-06 09:52:01 +00:00
Github Actions
58bc576ae0 [CI Skip] release/beta 0.95.2-89
skip-checks: true
2021-09-06 06:45:39 +00:00
Github Actions
6503ab8ea0 [CI Skip] release/beta 0.95.2-88
skip-checks: true
2021-09-05 21:22:40 +00:00
Github Actions
f5053d040b [CI Skip] release/beta 0.95.2-87
skip-checks: true
2021-09-05 15:51:32 +00:00
Github Actions
30407f5d0b [CI Skip] release/beta 0.95.2-86
skip-checks: true
2021-09-05 12:47:20 +00:00
Jaco
5eecad1635
Bump deps (#6072)
* Bump deps

* Bumps
2021-09-05 14:37:55 +02:00
Github Actions
5511a4f140 [CI Skip] release/beta 0.95.2-85
skip-checks: true
2021-09-04 07:56:28 +00:00
Github Actions
90fe5c4d7d [CI Skip] release/beta 0.95.2-84
skip-checks: true
2021-09-03 13:16:15 +00:00
Github Actions
503223bdd9 [CI Skip] release/beta 0.95.2-83
skip-checks: true
2021-09-03 08:17:05 +00:00
Github Actions
4ffac1b68d [CI Skip] release/beta 0.95.2-82
skip-checks: true
2021-09-03 07:49:28 +00:00
MiZiet
9b81349946
Add hover to the expand button (#6052)
* Extract ExpandButton

* Add simple hover

* Lint fixes after merge

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-09-03 09:40:49 +02:00
Github Actions
bc3e6a50b1 [CI Skip] release/beta 0.95.2-81
skip-checks: true
2021-09-02 12:49:55 +00:00
Github Actions
94a40dc64d [CI Skip] release/beta 0.95.2-80
skip-checks: true
2021-09-02 10:12:47 +00:00
Github Actions
93ee095690 [CI Skip] release/beta 0.95.2-79
skip-checks: true
2021-09-02 05:38:23 +00:00
Github Actions
ec843ba00d [CI Skip] release/beta 0.95.2-78
skip-checks: true
2021-09-02 05:24:36 +00:00
Jaco
2693f18f8b
Adjust balance alignment (#6051)
* Adjust balance alignment

* Slight adjustment to row gaps
2021-09-02 08:15:49 +03:00
Github Actions
2bcdad5db0 [CI Skip] release/beta 0.95.2-77
skip-checks: true
2021-09-01 18:46:28 +00:00
Jaco
a7fade8724
Jest config cleanup (#6053)
* Jest config cleanup

* auto-lint fixes
2021-09-01 21:38:45 +03:00
Github Actions
3f980923f9 [CI Skip] release/beta 0.95.2-76
skip-checks: true
2021-09-01 13:33:37 +00:00
Github Actions
9060edff3f [CI Skip] release/beta 0.95.2-75
skip-checks: true
2021-09-01 12:33:27 +00:00
Github Actions
0ab9f22197 [CI Skip] release/beta 0.95.2-74
skip-checks: true
2021-09-01 11:33:42 +00:00
Github Actions
0c5b471d9d [CI Skip] release/beta 0.95.2-73
skip-checks: true
2021-09-01 11:15:06 +00:00
Github Actions
f06bff7d0b [CI Skip] release/beta 0.95.2-72
skip-checks: true
2021-09-01 10:26:12 +00:00
MiZiet
a4c431ce92
Allow keyboard navigation in create account modal (#5968)
* Remove SUI modal

* Update modal positioning

* Clean up imports

* Restore removed size

* Add tests for Modal component

* Add border radius to actions

* Disable global scroll

* Introduce ESC_KEYCODE const

* Arrange props

* Change components definitions

* Change styled components to functional

* Allow keyboard navigation in create account  modal

* Change toggle to set(true) in open modal button onClick

* Restore slow tests

* Refactor tests

* Add empty lines

* Wrap setIsCreateOpen in useCallback

* Rename activeOnEnterKeyPress to activeOnEnter

* Extract mockStatusChange fn

* Hoist noop fn out of component

* Fix hook mock

Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
2021-09-01 12:17:37 +02:00
Github Actions
7a6822242b [CI Skip] release/beta 0.95.2-71
skip-checks: true
2021-09-01 09:27:00 +00:00
Github Actions
a419796c2a [CI Skip] release/beta 0.95.2-70
skip-checks: true
2021-09-01 06:49:40 +00:00
Github Actions
d6b10513ec [CI Skip] release/beta 0.95.2-69
skip-checks: true
2021-08-31 12:45:24 +00:00
Github Actions
12d7559939 [CI Skip] release/beta 0.95.2-68
skip-checks: true
2021-08-31 12:30:30 +00:00
Github Actions
5fae5d493f [CI Skip] release/beta 0.95.2-67
skip-checks: true
2021-08-31 10:01:49 +00:00
Github Actions
8c9ae64069 [CI Skip] release/beta 0.95.2-66
skip-checks: true
2021-08-31 08:48:54 +00: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
Github Actions
e864cf8bda [CI Skip] release/beta 0.95.2-65
skip-checks: true
2021-08-31 08:19:09 +00:00
Github Actions
4257224007 [CI Skip] release/beta 0.95.2-64
skip-checks: true
2021-08-31 08:03:48 +00:00
Jaco
9195fabf33
Bump polkadot-js deps (#6038) 2021-08-31 09:56:38 +02:00