Commit Graph

4166 Commits

Author SHA1 Message Date
Ewa Kowalska
e7d77a1a26
Style flags (#6003)
* Style tags

* Improve styling

* Apply lint fixes

* Extract flag styles to Flag component

* Export Flag component from index file

* Add margins

* Remove unnecessary code
2021-08-28 10:47:23 +03:00
Github Actions
f55b7ac2cf [CI Skip] release/beta 0.95.2-49
skip-checks: true
2021-08-28 07:10:58 +00:00
Github Actions
aee4335103 [CI Skip] release/beta 0.95.2-48
skip-checks: true
2021-08-28 06:29:05 +00:00
Github Actions
0696f4fcb3 [CI Skip] release/beta 0.95.2-47
skip-checks: true
2021-08-27 18:54:09 +00:00
Github Actions
f2346fb1e6 [CI Skip] release/beta 0.95.2-46
skip-checks: true
2021-08-27 12:08:29 +00:00
Github Actions
c14615c5a2 [CI Skip] release/beta 0.95.2-45
skip-checks: true
2021-08-27 09:14:56 +00:00
Github Actions
0a2b58023c [CI Skip] release/beta 0.95.2-44
skip-checks: true
2021-08-26 11:12:14 +00:00
Ewa Kowalska
c7416ae159
Account row collapsible row details (#5975)
* Retrofitting basic unit tests to Accounts

Extraction of useAccounts and useBalance hooks

* Retrofitting basic unit tests to Accounts

Extraction of useAccounts and useBalance hooks

* Fixing accounts unit tests - basic account balances

* Cleaning up after PR remarks

* Fixing arrangements of balances 1/3

Moving ArrangedAccount around

* Add useStakingInfo hook

* Adopt linter suggestions

* Fixing arrangements of balances 2/3

Linking arranged balances values to mocked balances calls.

* Fixing arrangements of balances 3/3

Formatting utils made consistent

* Details row odd-even + (un)hide

* Improving th/td/footer layout

* Add tags to details row

* Changing layout of account balance with details

* Add total/details balances unit tests

* Add tags unit tests

* Clean up of TODOs, adding comments

* Improve tags unit testing

* Alternate account row details coloring unit test

* Row details toggling unit tests

* Row details toggling unit tests - bad commit fix

* Style address balances (#5897)

* Fix jumping column problem

* Improve balances positioning

* Format sidebar

* Position header

* Extract common formatting of balances in tests.

Thx @vitaliyworks, great hint.

* Revert Sidebar styling

* Use rems

* Lint

* Use useToggle for expanding account row

* Add tags header

* Apply FormatBalance review comments

* Display parent account info above account name (#5947)

* Display parent address

* Improve layout

* Set keyring in tests

* Remove redundant code from components

* Use derivedAccount only in specific test

* Apply lint fixes

* Remove parent column from expanded row

* Apply review suggestions

* Improve styling in ParentAddress component

* Improve layout of parent address and add short address

* Apply review suggestions

* Use map instead of for loops

* Fix display of AddressSmall

* Fix height of icons in AddressSmall

* Fix bouncing cells in address row

* Fix density of accounts display

Co-authored-by: Marcin Wachulski <marcin@ethworks.io>
Co-authored-by: Vitaliy Mysak <vitaliy@ethworks.io>
Co-authored-by: MiZiet <55240109+MiZiet@users.noreply.github.com>
Co-authored-by: MiZiet <michalzietalak@o2.pl>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-08-26 13:02:24 +02:00
Github Actions
dcb36ad570 [CI Skip] release/beta 0.95.2-43
skip-checks: true
2021-08-26 10:49:59 +00:00
Github Actions
f31948da36 [CI Skip] release/beta 0.95.2-42
skip-checks: true
2021-08-26 10:23:28 +00:00
Jaco
b8daf379e7
Bump dev (w/ lint fixes) (#6006)
* Bump dev (w/ lint fixes)

* Additional

* Bump ui/extension
2021-08-26 12:16:11 +02:00
Github Actions
24113c24a8 [CI Skip] release/beta 0.95.2-41
skip-checks: true
2021-08-25 12:26:56 +00:00
Github Actions
5e720336ca [CI Skip] release/beta 0.95.2-40
skip-checks: true
2021-08-25 11:12:32 +00:00
Github Actions
b0d6b80c5f [CI Skip] release/beta 0.95.2-39
skip-checks: true
2021-08-24 15:15:43 +00:00
Ewa Kowalska
85bc648779
Replace sidebar text links with icons (#5999) 2021-08-24 17:06:21 +02:00
Github Actions
0bf0be1150 [CI Skip] release/beta 0.95.2-38
skip-checks: true
2021-08-24 11:22:27 +00:00
Github Actions
0500a3aeb0 [CI Skip] release/beta 0.95.2-37
skip-checks: true
2021-08-24 11:08:42 +00:00
Github Actions
365915d7cb [CI Skip] release/beta 0.95.2-36
skip-checks: true
2021-08-24 09:23:03 +00:00
MiZiet
9ac3d6a095
Replace sui modal with a custom one (#5914)
* 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

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-08-24 12:14:34 +03:00
Github Actions
ee19601855 [CI Skip] release/beta 0.95.2-35
skip-checks: true
2021-08-24 05:51:19 +00:00
Github Actions
e127f6faf9 [CI Skip] release/beta 0.95.2-34
skip-checks: true
2021-08-23 20:50:12 +00:00
Github Actions
b2b775cd47 [CI Skip] release/beta 0.95.2-33
skip-checks: true
2021-08-23 09:18:37 +00:00
Github Actions
21e0a8f68f [CI Skip] release/beta 0.95.2-32
skip-checks: true
2021-08-22 16:59:06 +00:00
Github Actions
fc51510b4f [CI Skip] release/beta 0.95.2-31
skip-checks: true
2021-08-21 21:13:49 +00:00
Github Actions
771710ff4a [CI Skip] release/beta 0.95.2-30
skip-checks: true
2021-08-20 18:29:45 +00:00
Github Actions
993ab7ff60 [CI Skip] release/beta 0.95.2-29
skip-checks: true
2021-08-20 10:13:41 +00:00
Github Actions
c7eaf53519 [CI Skip] release/beta 0.95.2-28
skip-checks: true
2021-08-20 05:18:10 +00:00
Github Actions
c78dde5d33 [CI Skip] release/beta 0.95.2-27
skip-checks: true
2021-08-19 15:56:32 +00:00
Jaco
6aba26bf4e
Revert "Account row collapsible row details (#5894)" (#5974)
This reverts commit 466a1be22f.
2021-08-19 17:47:18 +02:00
Github Actions
ecaf7e4792 [CI Skip] release/beta 0.95.2-26
skip-checks: true
2021-08-19 14:52:33 +00:00
Marcin Wachulski
466a1be22f
Account row collapsible row details (#5894)
* Retrofitting basic unit tests to Accounts

Extraction of useAccounts and useBalance hooks

* Retrofitting basic unit tests to Accounts

Extraction of useAccounts and useBalance hooks

* Fixing accounts unit tests - basic account balances

* Cleaning up after PR remarks

* Fixing arrangements of balances 1/3

Moving ArrangedAccount around

* Add useStakingInfo hook

* Adopt linter suggestions

* Fixing arrangements of balances 2/3

Linking arranged balances values to mocked balances calls.

* Fixing arrangements of balances 3/3

Formatting utils made consistent

* Details row odd-even + (un)hide

* Improving th/td/footer layout

* Add tags to details row

* Changing layout of account balance with details

* Add total/details balances unit tests

* Add tags unit tests

* Clean up of TODOs, adding comments

* Improve tags unit testing

* Alternate account row details coloring unit test

* Row details toggling unit tests

* Row details toggling unit tests - bad commit fix

* Style address balances (#5897)

* Fix jumping column problem

* Improve balances positioning

* Format sidebar

* Position header

* Extract common formatting of balances in tests.

Thx @vitaliyworks, great hint.

* Revert Sidebar styling

* Use rems

* Lint

* Use useToggle for expanding account row

* Add tags header

* Apply FormatBalance review comments

* Display parent account info above account name (#5947)

* Display parent address

* Improve layout

* Set keyring in tests

* Remove redundant code from components

* Use derivedAccount only in specific test

* Apply lint fixes

* Remove parent column from expanded row

* Apply review suggestions

* Improve styling in ParentAddress component

* Improve layout of parent address and add short address

* Apply review suggestions

* Use map instead of for loops

Co-authored-by: Marcin Wachulski <marcin@ethworks.io>
Co-authored-by: Vitaliy Mysak <vitaliy@ethworks.io>
Co-authored-by: MiZiet <55240109+MiZiet@users.noreply.github.com>
Co-authored-by: MiZiet <michalzietalak@o2.pl>
Co-authored-by: Ewa Kowalska <30404388+ekowalsk@users.noreply.github.com>
Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
2021-08-19 16:42:46 +02:00
Github Actions
8c380e6953 [CI Skip] release/beta 0.95.2-25
skip-checks: true
2021-08-19 11:09:14 +00:00
Github Actions
6df5f14f64 [CI Skip] release/beta 0.95.2-24
skip-checks: true
2021-08-19 10:58:13 +00:00
Jaco
90efdec917
Bump API to 5.5.2 (#5972) 2021-08-19 12:50:54 +02:00
Github Actions
16ecb57b70 [CI Skip] release/beta 0.95.2-23
skip-checks: true
2021-08-19 08:53:20 +00:00
Github Actions
e32fc7d172 [CI Skip] release/beta 0.95.2-22
skip-checks: true
2021-08-18 17:35:21 +00:00
Github Actions
130221a543 [CI Skip] release/beta 0.95.2-21
skip-checks: true
2021-08-18 14:42:30 +00:00
Github Actions
4ef076a49a [CI Skip] release/beta 0.95.2-20
skip-checks: true
2021-08-18 09:35:14 +00:00
Vitaliy
c9aef5cfe9
Add summary bar for accounts view (#5876)
* 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>

Co-authored-by: Jaco <jacogr@gmail.com>
Co-authored-by: Krzysztof Jelski <kjelski@gmail.com>
2021-08-18 11:26:12 +02:00
Github Actions
20620dbdde [CI Skip] release/beta 0.95.2-19
skip-checks: true
2021-08-18 07:24:33 +00:00
Github Actions
4cdfeb1747 [CI Skip] release/beta 0.95.2-18
skip-checks: true
2021-08-17 19:03:51 +00:00
Github Actions
7c95440018 [CI Skip] release/beta 0.95.2-17
skip-checks: true
2021-08-17 12:48:19 +00:00
Github Actions
4c7f7a6081 [CI Skip] release/beta 0.95.2-16
skip-checks: true
2021-08-17 08:22:01 +00:00
Github Actions
f5918abb65 [CI Skip] release/beta 0.95.2-15
skip-checks: true
2021-08-17 07:36:48 +00:00
Github Actions
4ad0c185d5 [CI Skip] release/beta 0.95.2-14
skip-checks: true
2021-08-16 06:43:36 +00:00
Jaco
227da9de7d
Bump deps (#5951) 2021-08-16 08:36:58 +02:00
Github Actions
7fc3a47868 [CI Skip] release/beta 0.95.2-13
skip-checks: true
2021-08-14 07:19:15 +00:00
MiZiet
5c1f6729bc
Style tags (#5893)
* Style tags

* Style Input tags

* Change delete tag icon

* Update colors

* Style flags

* Apply review suggestions

Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
2021-08-14 09:10:21 +02:00
Github Actions
d81285b4ee [CI Skip] release/beta 0.95.2-12
skip-checks: true
2021-08-13 19:12:10 +00:00
Github Actions
56d60a1530 [CI Skip] release/beta 0.95.2-11
skip-checks: true
2021-08-13 12:08:48 +00:00