Commit Graph

48 Commits

Author SHA1 Message Date
Jaco
27098f34b8
Bump deps (#9040)
* Bump deps

* Bumps

* Adjust

* Adjust

* Adjust test imports

* Adjust

* Re-adjust

* Fix frequency package name

* Adjust build

* Adjust

* Fix before import

* Adjust

* require script

* Adjust checks

* Linting fixes

* Fix json alongside other tests

* Move fixup script

* Remove main type: "module"

* Adjust (some) tests

* Adjust chartjs imports

* Bump deps

* Adjust

* Bump deps

* Adjust styled imports

* Bump deps

* Adjust
2023-02-20 11:38:52 +02:00
Jaco
e63eeb506c
Rework (some) component styled injection (#8795)
* Rework (some) component styled injection

* Small build fixes

* Additional build fixes

* Additional

* Fixes

* Remove unused SelectedDrag

* Remover unneeded props passing

* Fix build

* Remove unneeded inline-block
2023-01-14 15:22:42 +02:00
Jaco
e1727917d1
Remove label help tooltips (#8767)
* Remove label help tooltips

* Fix missed item

* Adjust

* adjust

* Back to defaults
2023-01-12 10:11:02 +02:00
Jaco
9647a68b4a
Font styling (#8764)
* Font styling

* Additional adjustments

* Adjust

* Node headers & Table numbers

* Adjust

* mono size adjust

* Adjust upwards for headers

* Explicit label vars

* header font-weight

* .sub font-weight

* Adjust block headers

* Remove rx--updated
2023-01-11 20:09:13 +02:00
Jaco
edc2bab238
Adjust handling of old-style preimages (#8739)
* Adjust handling of old-style preimages

* Adjust old columns

* Adjust

* Don't pass isLatest around ... will break when we change

* Cater for old-style preimage retrieval
2023-01-09 22:38:51 +02:00
Jaco
ed513de9f0
Minor placeholder adjustments (#8738)
* Minor placeholder adjustments

* placeholders for explorer block view

* Weight graph

* Misc class fixes

* Drive-by LinkExternal label fix

* StakeOther changes
2023-01-09 18:57:33 +02:00
Jaco
f495761c0b
Add a placeholder for full balance retrieval (#8734)
* Add a placeholder for full balance retrieval

* Adjust sidebar

* Add --placeholder class

* staking overview placeholder

* Adjust preimage & council

* Account Summary

* Additional

* Additionals

* Some more around staking

* Slight opacity adjustment

* Last remaining for this round

* One final for now
2023-01-09 17:37:40 +02:00
Jaco
f889abb7af
Overall adjustment to font styling (#8725)
* Overall adjustment to font styling

* Additional

* AccountName

* Table header

* One less font override

* Remove commented code

* Adjust menu sizing

* Adjust tab menu

* Adjust

* Adjust lightGreyColor
2023-01-08 12:53:43 +02:00
Jaco
4929b1c6fd
Update headers for 2023 (#8665)
* Update headers for 2023

* Adjust env-config
2023-01-01 10:32:05 +02:00
Jaco
5174f5ffbe
Bump API & common (#6797)
* Bump API & common

* BN imports

* Root imports

* Bump
2022-01-07 17:37:36 +02:00
Jaco
51835328db
2022 (#6764) 2022-01-01 09:30:15 +02: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
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
Jaco
8a95b1a93b
Handle BN type-only imports correctly (#5428)
* Handle BN type-only imports correctly

* lint fixes
2021-06-03 10:41:55 +02:00
Jaco Greeff
697f7a8f85
Expand society bid kind displays (#4887)
* Expand society bid kind displays

* classes

* vote column naming
2021-03-21 13:19:42 +01:00
Jaco Greeff
15c08c6364
Display next action countdown (#4849)
* Display next action countdown

* Show parathreads
2021-03-14 19:45:02 +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
ad913ef880
Rework auction end blockNumber (#4833) 2021-03-12 20:02:57 +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
fd0ceaff0d
Use BN_{BILLION, MILLION} constants (#4577)
* Use BN_{BILLIN, MILLION} constants

* BN_ONE

* Update packages/page-treasury/src/Overview/ProposalCreate.tsx

* Update packages/page-staking/src/Payouts/useStakerPayouts.ts

* Additional

* Update packages/page-democracy/src/Overview/Summary.tsx

* Additional

* Additional

* Re-apply

* Cleanups

* Apply suggestions from code review
2021-02-03 10:59:37 +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
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
524cbc8a80
Add fontWeight* to theme (#3985)
* Add fontWeight* to theme

* Cleanup comments

* fontWeightLarge -> fontWeightLight
2020-11-06 14:31:23 +01:00
Jaco Greeff
50fd662f8a
Revert font changes (#3976) 2020-11-05 12:50:40 +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
7ba7339d96
SPDX (#3705) 2020-09-17 16:46:46 +02:00
Jaco Greeff
230938b6b7
Align slashing layout with the rest (#3614)
* Align slashing layout with the rest

* Adjust

* Adjust banners

* Extra...
2020-09-05 11:28:56 +02:00
Jaco Greeff
818668e9de
Small CardSummary adjustments (#3263)
* Small CardSummary adjustments

* Adj.

* Spacing
2020-07-24 21:17:03 +02:00
Jaco Greeff
33b5812f9a
Display time left (not blocks) (#3259)
* Display time left (not blocks)

* Poll percentages

* Poll progress
2020-07-24 17:51:01 +02:00
Jaco Greeff
bbd919d0d7
Adjust Progress hl (#3258)
* Highlight background on progress outer

* Adjust

* Sizing
2020-07-24 16:39:23 +02:00
Jaco Greeff
97e2af124c
Circular progress (#3257) 2020-07-24 13:59:32 +02:00
Jaco Greeff
85161540b7
Rework Progress component (#3211)
* Reowkr Progress component

* Toggle colors

* Sligh cursor adjustment
2020-07-16 16:33:50 +02:00
Jaco Greeff
01587003eb
Small CSS optimizations (#3156) 2020-07-10 12:50:59 +02:00
Jaco Greeff
6a393256a4
Bump API, cater for new OpenTip structure (#3096)
* Bump API, cater for new OpenTip structure

* Simplify assignment

* Cleanups after latest typescript-eslint breakages

* More...

* Last-ish round
2020-06-30 13:43:06 +02:00
Jaco Greeff
c60ba8708a
Bumps w/ eslint (#2802)
* Bumps w/ eslint

* Additional

* Additional

* Additional

* Additional

* Remove style props

* Additional

* Additional

* Additional

* Additional (< 100)

* eslint passes, tsc next

* tsc fixes

* Update deps

* Update i18n
2020-05-24 19:41:14 +02:00
Jaco Greeff
c9cf0581a0
Adjust all table layouts with headers (#2480)
* Some small CSS adjustments

* Adjust all table layouts with headers

* Adjust... somewhat

* Adjust

* Ok, enough for now...

* Adjust extrinsic from display

* header adjustments
2020-03-29 18:44:39 +02:00
Jaco Greeff
2b534fc1fb
Additional wrappers via React.memo (#2377)
* More React.memo

* Last non-memo functional components in staking
2020-03-12 15:45:59 +01:00
Jaco Greeff
df68ba585c
Bump deps (#2341)
* Bump deps

* Rewrite yarn.lock
2020-03-08 07:46:30 +01:00
Jaco Greeff
8165033991
Displays countdowns in time (#2339)
* Displays countdowns in time

* Lint
2020-03-07 13:59:20 +01:00
Jaco Greeff
1c0dd98b03
Display names for society/treasury (#2326)
* Display names for society/treasury

* Consistent balance formats

* Adjust top-level sizing
2020-03-03 11:58:36 +01:00
Jaco Greeff
7cd65b0298
Adjust summary balance displays (#2215) 2020-01-28 22:59:00 +01:00
Jaco Greeff
562e11dc06
Bump deps (#2091) 2020-01-06 16:16:50 +01:00
kwingram25
cdf1d88de5 Functional components (apps, react-components) (#1564)
* Functional components (apps, react-components)

* move consts
2019-09-01 14:23:42 +02:00
Jaco Greeff
e6ca2db884
Rename ui-* -> react-* (#1495)
* Rename ui-* -> react-*

* Rename actual folders

* react-app -> react-components

* CSS links
2019-08-12 13:12:05 +02:00