Commit Graph

730 Commits

Author SHA1 Message Date
Jaco Greeff
e8260d66b5
Validator indices (#5026) 2021-04-05 13:06:49 +02:00
Jaco Greeff
435770c73e
Adjust bids tables (& overall table styling) (#4932) 2021-03-25 15:05:11 +01:00
Jaco Greeff
25b4d116c9
ParaLink nowrap 2021-03-25 07:05:29 +01:00
Jaco Greeff
8f2fd891cc
Tiny menu/tabs/naming adjustments (#4923) 2021-03-24 14:58:32 +01:00
MiZiet
5b65c111d1
Add new menu styling (#4317)
* POC displaying route in Tabs

* WIP Add new menu style

Co-authored-by: Krzysztof Jelski <krzysztof-jelski@users.noreply.github.com>

* Rename Section to CurrentSection

* Add new Tabs styling

* WIP Add new menu styling

* Set menu's max-width

* Add theme styles to menu

* Change font size and font weight

* Remove r

* Remove console logs

* Update header styles

* Fix settings link padding

* Change nav link font weight

* Change settings link font weight

* Fix settings link paddings

* Change nav links font size

* Add menu padding

* Change badge paddings

* Change counter badge color to grey

* Add space between menu items

* Change chain name font styles

* Remove color setting from chain css class

* Restore previous whitish color

* Move NodeInfo component to .menuContainer

* Restore font-weights

* Increase the max-width of chain name

* Set darker color for TabsSectionDelimiter

* Center vertically the left chain icon

* Change ChainInfo's elements align and font-sizes

* storke highlight

* Restore ChainInfo alignment

* Revert badges colors

* Align right search bar

* Change menu styling to prevent menu lists blending

* Remove scrollbar from tabs

* Resolve problem with search bar placement

* Add margin-bottom to settings tab

* Change setting padding when there is no badge

* Make tab underline to ignore badge and move it under tabs bar

* WIP Change menu

* Apply contrast to menu hover

* Add bright menu hover for chains with dark chain color

* Add chain color to menu list

* Set menu list hover

* Add badge styles

* Align items badge

Co-authored-by: Krzysztof Jelski <krzysztof-jelski@users.noreply.github.com>
Co-authored-by: Krzysztof Jelski <krzysztof@ethworks.io>
Co-authored-by: alexcherman <sashacherman@gmail.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
2021-03-24 10:27:37 +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
5a834648e6
Gilt app (#4893)
* Gilt app

* Basic queue display

* Gilt bidding

* disabled status

* defaultValue toString
2021-03-22 18:30:52 +01: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
555d48a8b3
Display call hash on signer modal (#4885) 2021-03-21 10:42:39 +01:00
Jaco Greeff
b743da8307
Show voting columns (#4884) 2021-03-21 10:11:07 +01:00
Jaco Greeff
2d97581b17
Flatten tabs (#4883) 2021-03-21 09:31:43 +01:00
Jaco Greeff
27cc785dbb
Modal cleanups (#4855)
* Modal cleanups

* Revert header
2021-03-19 12:56:29 +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
a86bc3284a
Flatten modal columns (#4841)
* Flatten modal columns

* Additional

* Additional

* Additional

* Additional

* Additional

* Adjust tests

* No bids outside ending

* s/winners/bids/

* Adjust

* lease offsets
2021-03-14 14:36:49 +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
93538d55f6
Rework auction list display (#4837)
* Rework auction list display

* Adjust
2021-03-13 10:58:48 +01:00
Jaco Greeff
ad913ef880
Rework auction end blockNumber (#4833) 2021-03-12 20:02:57 +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
7d2d1842d1
Update deps (& berry) (#4765)
* Update deps (& berry)

* linting

* Additional

* Bumps

* jest babel helpers esm
2021-03-03 11:52:39 +01:00
Jaco Greeff
8623cd3506
Fix Address icon display (#4761) 2021-03-02 10:50:08 +01:00
Jaco Greeff
ddbf46e7a0
Bump deps (common, local types) (#4726) 2021-02-25 07:55:48 +01:00
superpw
1209283b51
minor fix for button/sliders colors (#4715)
in table buttons will render if the theme color contains linear gradient
and sliders looks grey.

This commit make a minor fix for them.
2021-02-23 10:10:09 +01:00
Jaco Greeff
46729c355a
Fix disabled menu items in dark mode (#4712) 2021-02-22 14:57:51 +01:00
Jaco Greeff
0f69839626
Additional bounties alignment (#4704)
* Additional bounties alignment

* Button adjust
2021-02-20 14:58:45 +01:00
Jaco Greeff
1b3b866fb5
Format block numbers without jumps (#4694) 2021-02-19 13:08:00 +01:00
Jaco Greeff
20ae28d0f3
Minor table adjustments (#4687) 2021-02-17 21:15:26 +01:00
Jaco Greeff
18f41bfe27
Fix send via JS app (#4678)
* Fix send via JS app

* Remove debug log
2021-02-17 09:02:48 +01:00
Jaco Greeff
9b9cc54724
Add warning to bond, not send (#4656)
* Add warning to bond, not send

* Refresh update
2021-02-11 18:48:38 +01:00
Ewa Kowalska
a580ac4d5e
Bounties - list layout improvements (#4644) 2021-02-11 11:03:46 +01:00
Jaco Greeff
013e10f487
placeholder shortcuts (#4637) 2021-02-09 14:19:35 +01:00
Jaco Greeff
d7cdfecc18
Add ParaLink component (#4625) 2021-02-06 16:00:52 +01:00
Jaco Greeff
024c03ba9b
Crowdloans (#4613)
* Crowdloans

* update icon

* crowdloads -> crowdloan

* Overview start

* Fund indexes

* Fund displays stucture

* Fund view

* Fund view expanded

* Update packages/page-crowdloan/src/useFundIndexes.ts

* Add skeleton

* useEventTrigger

* Cleanups

* Fund proposal

* Registrar

* Adjust current versions

* Update README.md
2021-02-06 11:24:04 +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
MiZiet
072b26b6f2
Adjust the popup's arrow according to the theme (#4583) 2021-02-03 09:18:34 +01:00
Jaco Greeff
85b084b265
Pass registry along with call decoding (#4570)
* Pass registry along with call decoding

* Bump API
2021-02-01 21:35:48 +01:00
Jaco Greeff
59ad14c658
Don't call query (useState via fn) (#4569) 2021-02-01 20:36:55 +01:00
Jaco Greeff
1b43ffa046
Ensure useState doesn't re-init with function calls (#4552)
* Ensure useState doesn't re-init with function calls

* extra

* Additional
2021-02-01 14:17:14 +01:00
Jaco Greeff
3f93ac2af7
Adjust Menu.Divider (only when between items) (#4560)
* Adjust Menu.Divider (only when between items)

* typos
2021-02-01 13:52:15 +01:00
Jhon
916a925cda
added validator/nominator flags (#4546)
* lighter read to make it more readable on dark mode

* added missing themeprops ref

* ran linter

* undo opacity 1 on non red 'other stake' to keep the focus on the whle number'

* ran linter

* isolate opacity change to format balance error text

* updated settings > metadata layout to be more consistent with the rest

* ran linter

* Update packages/page-settings/src/Metadata/Extensions.tsx

Co-authored-by: Jaco Greeff <jacogr@gmail.com>

* updated ternary condition to get rid of empty string at the end as well as fixed weird indentation on styled components

* added validator flag

* Update packages/react-hooks/src/useAccountInfo.ts

* Update packages/react-hooks/src/useAccountInfo.ts

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-02-01 13:26:08 +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
99ae6ecd8e
Bump API (Kusama upgrade) (#4519) 2021-01-28 12:37:36 +01:00
Ewa Kowalska
ccf44f650b
Bounties - Hide bounty unhappy path actions (#4500) 2021-01-28 10:18:57 +01:00
Jaco Greeff
960f0d6fc9
Allow storage without accounts (#4514) 2021-01-27 15:39:22 +01:00
Jaco Greeff
3eb5cd6270
Ensure InputAddress doesn't return non-filtered (#4473) 2021-01-27 11:46:21 +01:00
Jaco Greeff
2542c017bf
Incremental staking rendering (#4503)
* Incremental staking rendering

* Apply suggestions from code review
2021-01-26 18:30:36 +01:00