Commit Graph

92 Commits

Author SHA1 Message Date
Ewa Kowalska
93091ba434
Fix colouring issue when filtering (#6166)
* WIP - fix coloring

* Fix row coloring

* Remove unnecessary test

* Apply review suggestions

* Update yarn lock file

* Apply review suggestion

* Restore row coloring in Extensions.tsx

* Remove unused field index in class Row

Co-authored-by: MiZiet <michalzietalak@o2.pl>
2021-09-22 15:52:14 +02:00
Jaco
2693f18f8b
Adjust balance alignment (#6051)
* Adjust balance alignment

* Slight adjustment to row gaps
2021-09-02 08:15:49 +03: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
Jaco
6aba26bf4e
Revert "Account row collapsible row details (#5894)" (#5974)
This reverts commit 466a1be22f.
2021-08-19 17:47:18 +02: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
Jaco
a2da532cb5
Display homepage links for crowdloans (#5521)
* Display homepage links for crowdloans

* Update packages/apps-config/src/endpoints/productionRelayKusama.ts
2021-06-09 11:15:14 +02:00
Jaco
2f572b68c5
Bounty display alignment (#5191) 2021-05-03 09:18:17 +02:00
Jaco
da115195ea
Remove extra crowdloan contributions encoding (#5172) 2021-04-30 09:38:51 +02:00
Jaco
1392f9cbf6
All Table word breaks on 100% columns (#5165) 2021-04-30 06:57:46 +02:00
Jaco
d00c562e70
Show minimum balance on asset mint/transfer (#5134)
* Show minimum blanace on asset mint/transfer

* Bump API
2021-04-24 07:08:50 +02:00
Jaco
b3ba9a4b6a
Display asset balances (#5128) 2021-04-23 13:46:51 +02:00
Jaco Greeff
435770c73e
Adjust bids tables (& overall table styling) (#4932) 2021-03-25 15:05:11 +01:00
Jaco Greeff
3afc055b3b
Asset create & list display (#4911)
* Asset create & list display

* metadata WIP

* ... inputs

* Steps

* min balance

* with balance

* Expand display
2021-03-23 23:03:32 +01:00
Jaco Greeff
af8b00750d
Select slot range via dropdown (#4845)
* Select slot range

* Formatting adjust

* Crowdload active/ended split

* Raised active cap

* Remove useFundIndexes

* Display leases for upcoming

* Formatting

* Correct header
2021-03-14 13:15:26 +01:00
Jaco Greeff
0708d43840
Cleanup bids on new auction (#4840)
* Cleanup bids on new auction

* s/campaign/fund/
2021-03-13 20:37:30 +01:00
Jaco Greeff
28900a6b44
Cleanup auction bid refresh (#4838)
* Cleanup auction bide refresh

* Additional

* Adjust summary

* Cleanup data hook

* Cleanup

* align

* Auction end cleanups

* Ending period countdown

* labels

* Allow for first bid after ending

* Fix ending calc

* Adjust global table padding
2021-03-13 16:38:13 +01:00
Jaco Greeff
09c1fb716d
Initial display for auction bids (#4828)
* Initial display for auction bids

* Dedupe bids
2021-03-12 13:08:25 +01:00
Jaco Greeff
2bf88c5860
Use theme via css vars (#4789)
* Extract global CSS vars (non-theme specific)

* Use theme via css vars

* All text colors

* Additional

* All vars (excluding name...)

* Additional

* linting

* css linting

* Update Card css
2021-03-10 11:04:14 +01:00
Jaco Greeff
0f69839626
Additional bounties alignment (#4704)
* Additional bounties alignment

* Button adjust
2021-02-20 14:58:45 +01:00
Jaco Greeff
20ae28d0f3
Minor table adjustments (#4687) 2021-02-17 21:15:26 +01:00
Jaco Greeff
b5731e537a
Inline block for parachain links (#4540)
* Inline block for parachain links

* Cleanups
2021-01-29 21:35:27 +01:00
Jaco Greeff
0196649ce4
Adjust endpoint logos with allowed empty (#4539)
* Adjust endpoint logos with allowed empty

* Displa parachain logos alongside
2021-01-29 16:11:54 +01:00
Jaco Greeff
0323d96b4c
Row classes overrides for tables (#4472)
* Row classes overrides for tables

* Adjust faint highlight
2021-01-24 12:52:21 +01:00
MiZiet
b09bc9cbc9
Adjust components placement and styling in bounties list (#4460) 2021-01-22 12:06:49 +01:00
Jaco Greeff
50544d55d4
Adjust paras proposals media (#4387)
* Media queries on proposals

* Adjust paras proposals media

* Approve button
2021-01-13 12:48:29 +01:00
Jaco Greeff
9a1de6ea5b
Parachain proposal details slider (#4384) 2021-01-13 10:58:51 +01:00
Jaco Greeff
6bb45bcb75
Adjust highlights (#4354) 2021-01-09 14:21:40 +01:00
Jaco Greeff
10ce7a40e8
font-weight: 400 -> theme.fontWeightNormal (#4339)
* font-weight: 400 -> theme.fontWeightNormal

* Less lazy, font-weight: 400 converted
2021-01-09 09:41:13 +01:00
Jaco Greeff
6dbb188a1a
2021 (#4310) 2021-01-03 11:33:39 +01:00
Ewa Kowalska
541213f233
Ek extract type only imports into separate group (#4168)
* Plug new beta of eslint plugin simple import sort

* Apply new configuration to existing imports
2020-12-07 16:04:05 +01:00
Ewa Kowalska
87505b1c59
Eslint imports (#4037)
* Add eslint configuration

* Patch eslint plugin for sorting imports

* Apply eslint rules for imports
2020-12-01 14:40:42 +01:00
Jaco Greeff
78b3680f3c
Rework with useNominations (incl. loading indicators) (#4128) 2020-12-01 13:13:47 +01:00
Jaco Greeff
366c8804d0
Cleanup targets pre-filtering on sort (#4098) 2020-11-29 12:56:13 +01:00
Jaco Greeff
c9d9b5022d
Bump API (#4088) 2020-11-28 14:29:12 +01:00
Jaco Greeff
f99dcb2b0a
Fonts from new.css (#4071)
* Fonts from new.css

* line-height 1

* h2 adjust

* rm Nunito
2020-11-25 21:42:31 +01:00
Jaco Greeff
a0b82d88a4
Use import type { ... } (#4052)
* Use import type { ... }

* value imports

* TypeDefInfo

* Apply suggestions from code review

* fixes... am going blind.
2020-11-19 16:20:14 +01:00
Jaco Greeff
5070ecdd10
s/fontFamily/fontSans/ (#3968) 2020-11-04 15:11:02 +01:00
Albert
2215541cd9
Apply Nunito fonts globally (#3882)
* Add nunito fonts

* Apply Nunito fonts globally

* Remove Nunito fonts (600,800)

* Add fontFamily to themes

* Unify font-weight and font-family across app

* Fix linting

* Use Monospace font from theme where required

* Add font-family from theme to buttons

* Revert font-family change in Claim

* Provide enough vertical space for rendering of an account name with verified identity

* Use theme font in transfer and search inputs

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
Co-authored-by: Krzysztof Jelski <krzysztof@ethworks.io>
2020-11-04 14:35:49 +01:00
Jaco Greeff
59623f419b
(Very) experimental dark theme (only localhost) (#3731)
* (Very) experimental dark theme (only localhost)

* Listener for theme changes

* ThemeProps

* Use actual theme with colors

* Page background

* Adjust with theme.bgPage

* Table adjustments

* Some progress (menu & inputs)

* Adjustments in a number of places

* Progress colors

* Modals

* Some calandar stuff

* Toggle

* Updates

* Hack around dropdowns

* Popup menus

* Overlays

* Connecting overlays
2020-10-01 15:50:33 +02:00
Jaco Greeff
714beda8d4
Button Group margins (#3723) 2020-09-20 13:23:47 +02:00
Jaco Greeff
a96c36d158
Registry usage from type (#3709) 2020-09-18 08:07:25 +02:00
Jaco Greeff
7ba7339d96
SPDX (#3705) 2020-09-17 16:46:46 +02:00
Jaco Greeff
fab8c86dfa
Expander adjustment (right-align, icons) (#3668)
* Expander adjustment (right-align, icons)

* Alignements

* caret

* caret alignment
2020-09-12 12:14:47 +02:00
Jaco Greeff
000179c5ca
Adjust calendar headings (#3656) 2020-09-11 09:33:05 +02:00
Jaco Greeff
57dc4d560d
Adjust table header/row coloring (#3655)
* Adjust table header/row coloring

* calnedra rows
2020-09-11 08:55:43 +02:00
Jaco Greeff
9b3121ea82
Display commission over eras as graph (#3644)
* Add commission-over-eras chart

* Untipped/closing view toggle

* Adjust alignment
2020-09-09 14:38:17 +02:00
Jaco Greeff
9228041dbe
Table border adjustments (#3639) 2020-09-08 13:41:37 +02:00
Jaco Greeff
a17ddb54a2
Cleanup css comments (#3617) 2020-09-05 19:14:22 +02:00
Jaco Greeff
e41df0c3b9
Bump API (#3616)
* Bump API

* Adjust header color
2020-09-05 15:29:31 +02:00
Jaco Greeff
7ec4700905
Slight adjustments to the Table UI (#3615)
* Slight adjustments to the Table UI

* Adjust

* Final tweaks, ship it.

* Table header highlight

* Adjust

* Header padding

* comment line

* Adjust

* Final, enough playing.

* One tone lighter

* odd rows

* Lied... really the final

* background on rows (summry transparent)
2020-09-05 14:52:36 +02:00