Commit Graph

31 Commits

Author SHA1 Message Date
Jaco
cf6c682333
Optional balances & timestamp (#5188) 2021-05-02 16:00:48 +02:00
Jaco Greeff
2d97581b17
Flatten tabs (#4883) 2021-03-21 09:31:43 +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
d34bd33568
useBestNumber hook (#4846)
* useBestNumber hook

* Cleanups
2021-03-14 15:12:53 +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
Jaco Greeff
d548b838a2
Bump deps (w/ cleanups) (#4301) 2020-12-30 12:49:01 +01:00
Jaco Greeff
5830e5eab6
Pass explicit function through to TxButton tx prop (#4251)
* Pass explicit function through to TxButton tx prop

* Updates

* Claim adjust

* Allow null on tx

* Adjust

* Apply suggestions from code review

* Adjustments after merge
2020-12-24 10:01:42 +01:00
Jaco Greeff
c1c87d2aeb
Internal deps bumps (#4194)
* Internal deps bumps

* acala
2020-12-11 12:47:59 +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
aaedb61e0d
import type { UseTranslationResponse } (#4074) 2020-11-26 10:23:52 +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
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
7ba7339d96
SPDX (#3705) 2020-09-17 16:46:46 +02:00
Jaco Greeff
c0103be63e
Add Tabs for missing apps (#3445) 2020-08-19 13:01:34 +02:00
Jaco Greeff
ebad8635f7
Adjust useCall options (#3430)
* Adjust useCall options

* Extract useCall options

* typo

* Apply suggestions from code review

* Adjust param creation in calls
2020-08-17 12:24:51 +02:00
Jaco Greeff
7b64762478
Bumps, yarn stale (#3352)
* Bumps, yarn stale

* Bump berry

* WIP

* Rewrite
2020-08-06 15:47:43 +02:00
Jaco Greeff
4e1eba9c93
0.51 (#3277)
* 0.51

* Completed on poll

* Remove Toggle completely after poll
2020-07-27 18:02:18 +02:00
Jaco Greeff
7af66875b9
Proper angle/percentage calc from BN (#3261) 2020-07-24 19:38:14 +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
97e2af124c
Circular progress (#3257) 2020-07-24 13:59:32 +02:00
Jaco Greeff
826598c1b1
Display turnout for poll (#3223) 2020-07-17 22:43:00 +02:00
Jaco Greeff
8ed93360d9
Rework Button (#3171)
* Rework Button

* Input dropdown buttons

* Adjust cursor & border (InputNumber SI, disabled)

* first/last-of-byte in Button.Group

* Cleanup classes

* Cleanup linting

* Small cleanups

* Swap to actual <button ...>

* Sidebar adjust

* Adjust className creation

* Adjust signer toggle

* Button disabled cursor

* Poll adjust loading

* Basic buttons, SideBar with theme

* Adjust button styling

* Adjust Button shadows
2020-07-13 21:25:12 +02:00
Jaco Greeff
7685e60795
Bold for combination voting (#3178) 2020-07-13 17:08:44 +02:00
Jaco Greeff
dfb52aab56
isDelegating fix (on new account create) (#3177)
* isDelegating fix (on new account create)

* Add poll actions

* 1000x
2020-07-13 16:03:10 +02:00
Jaco Greeff
9d821ae0f7
Adjust poll wording (#3176)
* Adjust poll wording

* Poll header

* Adjust column widths

* Result adjustment
2020-07-13 15:09:49 +02:00
Jaco Greeff
1e6af2a761
Remove any poll defaults (needs selection) (#3167) 2020-07-11 15:38:29 +02:00
Jaco Greeff
17a3deb04c
Polkadot poll app (#3162)
* Polkadot poll app

* Bump deps

* Fix vanitygen dep

* Small formatting adjustments

* Adjust padding consistency

* Value align

* Show end blocks & time remaining

* Disable toggles on votend

* Countdown & close

* Uppercase millionand billion

* long-form million/billion

* Hide toggle when not voting
2020-07-10 23:25:50 +02:00