Commit Graph

1085 Commits

Author SHA1 Message Date
Krzysztof Jelski
ca8bbd1836
Reduce warnings in tests (#6132)
* Change i18next from wait to suspense (resolves console warning in app and in tests)

* Reduce error and warning output in fast tests
2021-09-16 15:08:53 +02:00
MiZiet
25c275cd13
Style sort dropdown (#6099)
* Style sort dropdown

* Use default icons

* Use rems

* Extract border-input variable
2021-09-14 09:03:44 +02:00
Jaco
162470d80e
Only allow Gilt bids via proxy (#6103)
* Only allow Gilt bids via proxy

* Proxy actual bid

* Fix summary
2021-09-13 07:23:28 +02:00
Ewa Kowalska
ad8226a5c3
Account sidebar - single button for editing name and tags (#6049)
* WIP - merge edition of account name and tags

* [WIP] - tests

* Apply test improvements

* Improve tests

* Improve tests and use useCallback

* WIP - add cancel button

* Outside click

* Add more tests

* Apply styling

* Add opacity on not editable elements

* Remove unnecessary code and fix type of sidebar ref

* Disable eslint rule

* Place edit button within account menu buttons

* Adjust test setup

* Ato-lint fixes

* Update styles

* Apply review suggestions

* Remove unused styles and change type of sidebar ref

* Remove onCancel from useAccountInfo hook

* Fix issue with edit button

* Apply review suggestions, remove tests

* Adjust tests

* Simplify tests

* Apply lint fixes

* Change layout of buttons

Co-authored-by: MiZiet <michalzietalak@o2.pl>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-09-09 19:40:09 +02:00
Vitaliy
734c3c653a
Add sorting for accounts view (#5923)
* 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>

* Sort by total balance and by type

* Rename "clas" to "htmlClass"

* Extract DEFAULT_SORT_CONTROLS constant

* Move stableSort to its own file

* Optimize sorting on accounts page

* Adopt new sorting design

* Apply suggestions from code review

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

* Remove stableSort function

* Move Dropdown css to Account styles

* Add tests for sorting

* Adjust tests and apply lint fixes

* Apply lint fixes

* Improve row coloring and styling of button for sort direction

* Improve styling

* Fix tests setup and bug connected with cloning accounts

* Restore condition

* Fix imports

Co-authored-by: Jaco <jacogr@gmail.com>
Co-authored-by: Krzysztof Jelski <kjelski@gmail.com>
Co-authored-by: MiZiet <michalzietalak@o2.pl>
Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
2021-09-06 14:14:56 +02:00
Jaco
302df65239
Fix democracy icon location (#6077) 2021-09-06 11:52:51 +02:00
Jaco
5eecad1635
Bump deps (#6072)
* Bump deps

* Bumps
2021-09-05 14:37:55 +02:00
MiZiet
9b81349946
Add hover to the expand button (#6052)
* Extract ExpandButton

* Add simple hover

* Lint fixes after merge

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-09-03 09:40:49 +02:00
Jaco
2693f18f8b
Adjust balance alignment (#6051)
* Adjust balance alignment

* Slight adjustment to row gaps
2021-09-02 08:15:49 +03:00
Jaco
a7fade8724
Jest config cleanup (#6053)
* Jest config cleanup

* auto-lint fixes
2021-09-01 21:38:45 +03:00
MiZiet
a4c431ce92
Allow keyboard navigation in create account modal (#5968)
* 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

* Allow keyboard navigation in create account  modal

* Change toggle to set(true) in open modal button onClick

* Restore slow tests

* Refactor tests

* Add empty lines

* Wrap setIsCreateOpen in useCallback

* Rename activeOnEnterKeyPress to activeOnEnter

* Extract mockStatusChange fn

* Hoist noop fn out of component

* Fix hook mock

Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
2021-09-01 12:17:37 +02:00
MiZiet
b4967ca82c
Popup menu replace and styling (#6007)
* Add custom popup

* Render popup window with react portal

* Handle scroll

* Handle pointer scroll

* Refactor types

* Add useOutsideClick

* Restore button styles

* Update types

* Add tests

* Set multiple refs

* Cleanup

* Cleanup

* Move offset const to the utils

* Add useCallback in useScroll

* Remove empty lines in useElementPosition

* Change styled components to functional

* Make sure popup window stays in view

* Highlight trigger button when popup is open

* Add uesPopupWindow hook

* Make triangle larger

* Use full trigger height

* Apply new lint rules

* Group popup items into groups suggested by Jaco

Menu.Item is of SUI (semantic UI). It supports icons, but
we plan to replace SUI and thus this feature is likely to use
font awesome instead of SUI icons.

* Remove sui menu

* Improve styles

* Add translations

* Add hover

Co-authored-by: Marcin Wachulski <marcin@ethworks.io>
2021-08-31 10:39:17 +02:00
MiZiet
b6c827a908
Remove sui popup (#5924)
* Add custom popup

* Render popup window with react portal

* Handle scroll

* Handle pointer scroll

* Refactor types

* Add useOutsideClick

* Restore button styles

* Update types

* Add tests

* Set multiple refs

* Cleanup

* Cleanup

* Move offset const to the utils

* Add useCallback in useScroll

* Remove empty lines in useElementPosition

* Change styled components to functional

* Make sure popup window stays in view

* Highlight trigger button when popup is open

* Add uesPopupWindow hook

* Make triangle larger

* Use full trigger height

* Apply new lint rules

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-08-31 09:35:33 +02:00
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
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
b8daf379e7
Bump dev (w/ lint fixes) (#6006)
* Bump dev (w/ lint fixes)

* Additional

* Bump ui/extension
2021-08-26 12:16:11 +02:00
Ewa Kowalska
85bc648779
Replace sidebar text links with icons (#5999) 2021-08-24 17:06:21 +02: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
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
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
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
Jaco
255cdae2f0
0.95.1 (#5908) 2021-08-02 14:21:45 +02:00
Jaco
4eaba98c86
Bump API (#5871) 2021-07-23 08:52:12 +02:00
Jaco
b3e8226263
Bump API (#5850)
* Bump API

* Bump deps
2021-07-19 17:01:25 +02:00
Jaco
c3da616b55
Ensure siDefault is always used on InputNumber (#5810) 2021-07-12 06:33:50 +02:00
Jaco
8a898c6b6d
Bump deps (#5789)
* Bump deps

* Updates

* Rewrite translation keys

* Lint fixes
2021-07-08 06:24:01 +02:00
Jaco
ef27b9aea5
Check number for <= max (not < max) (#5713)
* Check number for <= max (not < max)

* Use gt (aligns with comment)
2021-06-29 07:39:59 +02:00
Jaco
a7f4b4c2f1
Add tabIndex=-1 to all hints (#5703) 2021-06-29 06:50:17 +02:00
Jaco
42f2bdfc18
Bump deps (#5681) 2021-06-25 09:55:35 +02:00
Jaco
a44faff60d
Bump deps (#5665)
* Bump deps

* Use override

* additional override
2021-06-23 11:21:24 +02:00
Jaco
5401577bbc
Adjust contribution state update (& indicator) (#5561) 2021-06-11 09:48:28 +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
0e72723b7b
Enable Statemine <-> Kusama (w/ fees) (#5495)
* Enable Statemine <-> Kusama (w/ fees)

* Retrievals

* text
2021-06-08 11:08:15 +02:00
Jaco
ef2906ad0a
Adjust icon based on spec (#5491)
* Adjust icon based on spec

* Rococo

* Remove unneeded console.error in tests
2021-06-08 08:05:39 +02:00
Jaco
951af6454a
Balance display with SI units (#5440)
* Balance display with SI units

* Remove extra logs

* Always return SiDef

* Update packages/react-components/src/InputNumber.tsx

* Only use SI (detected) in isDisabled

* Move logic
2021-06-04 10:13:32 +02:00
Jaco
42c5e4ae6c
Call decoder (#5435)
* Call decoder

* Allow for extrinsics to be decoded
2021-06-03 16:47:16 +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
6dced3fe6b
Adjust Tabs usage (#5388)
* Adjust Tabs usage

* text
2021-05-29 07:53:02 +02:00
Jaco
4adfaf3098
Logo/colors based on specName (#5325) 2021-05-19 08:58:03 +02:00
Jaco
7d1c12a0d4
Adjust slash creation for staking pages (#5311) 2021-05-18 12:06:35 +02:00
WoeOm
07af3f6279
Adapt Darwinia, Crab Network types (#5218) 2021-05-07 06:47:45 +02:00
Jaco
8df64b3221
Bump API (metadata v13 support) (#5209)
* Bump API (metadata v13 support)

* Actual API bump
2021-05-05 10:30:00 +02:00
Jaco
2f572b68c5
Bounty display alignment (#5191) 2021-05-03 09:18:17 +02:00
Jaco
cf6c682333
Optional balances & timestamp (#5188) 2021-05-02 16:00:48 +02:00
Jaco
b5b9157f88
Fix explorer static copy (#5185) 2021-05-01 14:03:43 +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
d1389052c4
Update API (Token DispatchError) (#5133)
* Update API (Token DispatchError)

* Cleanups
2021-04-23 21:51:53 +02:00
Jaco
b3ba9a4b6a
Display asset balances (#5128) 2021-04-23 13:46:51 +02:00
Jaco
c231b66f6b
Asset modal rework (min balance with decimals) (#5126)
* Asset modal rework (min balance with decimals)

* Language cleanups
2021-04-23 10:54:51 +02:00
Jaco
732b3ca673
Show asset supply & add responsive columns (#5125)
* Show asset supply & add responsive columns

* Drop decimals column

* Allow decimals & symbol override
2021-04-23 09:48:32 +02:00
Jaco
255936c9ba
Remove empty unlock display (#5095) 2021-04-19 20:58:51 +03:00
Jaco
b393717caa
Show remaining democracy lock when undelegated (#5091) 2021-04-19 09:24:39 +02:00
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
Jaco Greeff
3a40a10420
Display extrinsic signature & type (#4489) 2021-01-25 11:08:48 +01:00
Jhon
8be67fc5e1
Identicon and error red shading adjustments for dark theme (#4483)
* lighter read to make it more readable on dark mode

* added missing themeprops ref

* ran linter
2021-01-24 17:50:30 +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
Jaco Greeff
38b7ebc24c
Format multiple balances w/ properties (#4480)
* Format mutiple balances w/ properties

* Bump API

* Update chainDecimals extraction

* Fox bounties mock API

* Expand rendering

* Bumps
2021-01-23 15:30:37 +01:00
Jaco Greeff
df9c515326
Display all balance instances (#4479) 2021-01-23 09:23:46 +01:00
MiZiet
b09bc9cbc9
Adjust components placement and styling in bounties list (#4460) 2021-01-22 12:06:49 +01:00
Jaco Greeff
dd994a67be
Split parachain proposals (#4423) 2021-01-15 11:07:22 +01:00
Jaco Greeff
d28d9c6941
Add small QR border (#4392)
* Add small QR border

* Missing style...

* Border for networkspecs QR
2021-01-13 15:10:46 +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
8db595b535
Menu hover adjustments (only background) (#4362) 2021-01-11 12:26:10 +01:00
Jaco Greeff
e577bfbd82
Adjust non-preimage display (#4359) 2021-01-11 07:54:47 +01:00
Jaco Greeff
b577b97809
Fix JS width (dropdown breaking out) (#4357)
* Fix JS width (dropdown breaking out)

* Adjust HelpOverlay
2021-01-10 09:40:58 +01:00
Jaco Greeff
d8b2bab912
Warning & Error with exclamation triangle (#4331)
* Warning & Error with exclamation triangle

* Fix lint

* Apply suggestions from code review
2021-01-10 08:37: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
2d1da5332c
Staking fixes (comm, entries) (#4329)
* Staking fixes (comm, entries)

* Flatten
2021-01-06 11:15:19 +01:00
Jaco Greeff
c5bf0de631
Parachains registration (#4318)
* Parachains registration

* Registrar dialog
2021-01-04 14:46:14 +01:00
Jaco Greeff
6dbb188a1a
2021 (#4310) 2021-01-03 11:33:39 +01:00
Jaco Greeff
602bd35977
Remove genericAsset (to be replaced with asset) (#4303) 2020-12-30 18:05:05 +01:00
Jaco Greeff
d548b838a2
Bump deps (w/ cleanups) (#4301) 2020-12-30 12:49:01 +01:00
Jaco Greeff
248b9ba319
Fix InputAddress (#4297) 2020-12-29 19:40:15 +01:00
Jaco Greeff
a44e1b7d08
Fix dark theme multi address background (#4293) 2020-12-29 16:40:27 +01:00
Jaco Greeff
ec56e100a6
0.73 (#4274)
* 0.73

* Typing
2020-12-28 14:37:31 +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
93b38ece21
Cleanup WebPack (#4258)
* Remove unused WP5 override

* Adjust

* Additional imports

* Adjust
2020-12-21 13:15:40 +01:00
Jaco Greeff
b22f61347e
Remove unused TxModal components (#4250)
* Remove unused TxModal components

* Cleanups
2020-12-20 17:50:06 +01:00
Jaco Greeff
964995ea1a
Adjust sui imports (non-cjs) (#4245) 2020-12-19 19:12:09 +01:00
Jaco Greeff
582d0a18cc
Warn on non-atomic batches (#4242) 2020-12-19 16:46:29 +01:00
Jaco Greeff
7d071d147d
Remove global registry imports (only use on api) (#4218)
* Remove global registry imports (only use on api)

* Additional

* QR only displayed when valid

* ApiSigner
2020-12-17 11:18:34 +01:00
Jaco Greeff
1cf7b5e629
Allow InputAddress with no options (#4227)
* Allow InputAddress with no options

* Update packages/react-params/src/Param/index.tsx
2020-12-17 11:07:08 +01:00
iiiiiiii
a55579dd97
fix tooltip z-index (#4222) 2020-12-16 09:22:46 +01:00
Jaco Greeff
fe31bc522d
Sharing of user types (#4210)
* Sharing of user types

* url encoding/decoding

* assert non-array

* Developer page URL encoding

* Cleanup saving/loading encoding

* Move fflate

* CopyButton
2020-12-15 10:54:40 +01:00
Jaco Greeff
48a3127ba8
Display error.message || error (when string is thrown) (#4197)
* Display error.message || error (when string is thrown)

* Update packages/react-signer/src/TxSigned.tsx
2020-12-12 10:19:41 +01:00
Jaco Greeff
c1c87d2aeb
Internal deps bumps (#4194)
* Internal deps bumps

* acala
2020-12-11 12:47:59 +01:00
MiZiet
7ed65ebf7b
Add max-width to content (#4170)
* Add max-width to content

* Add padding to content and change Query position

* Add max-width constants

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-12-09 15:42:58 +01:00
Jaco Greeff
cfea8723a5
Bump deps (#4181)
* Bump deps

* Additional
2020-12-09 14:15:59 +01:00
Jaco Greeff
2e6cbe8f7c
Ensure bad judgement has the highest priority (#4178) 2020-12-08 21:36:54 +01:00
Jaco Greeff
e4fc6b7aea
Move moonbeam/sora RPCs to bundle-only (#4174)
* Move moonbeam/sora RPCs to bundle-only

* Update packages/react-components/src/InputRpc/useRpcs.ts
2020-12-08 16:38:01 +01:00
Jaco Greeff
58c27ed919
Bumpi API (bounty derives, typesBundle rpcs) (#4173)
* Bumpi API (bounty derives, typesBundle rpcs)

* linting
2020-12-08 16:09:56 +01:00
Jaco Greeff
fef4479fd6
Bump dev (import plugin in base) (#4169) 2020-12-07 17:14:33 +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
Jaco Greeff
864687d0a3
Adjust Tooltip formatting for consistency (#4167) 2020-12-07 13:33:20 +01:00
Jaco Greeff
f86cc1a689
Small target opts (incl. non-selected sorting) (#4159)
* Small target opts (incl. non-selected sorting)

* Remove last dangling validatorPayment
2020-12-04 16:21:50 +01:00
Jaco Greeff
81bce1e4f7
Fix HelpOverlay background for dark (#4156) 2020-12-04 09:03:22 +01:00
Jaco Greeff
a74ff3ccad
Output className, remove extra } (#4132) 2020-12-01 16:49:01 +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
ee25db733d
Remove classes utility (#4106)
* Remove classes utility

* Update packages/react-components/src/InputNumber.tsx
2020-11-30 16:01:37 +01:00
Jaco Greeff
e6d3c61176
Use type imports from @polkadot/types/interfaces (#4103)
* Move chain params to apps-config

* Use type imports from @polkadot/types/interfaces
2020-11-29 19:03:06 +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
b9113f7375
Fix RPC params change (#4083) 2020-11-26 14:11:21 +01:00
Jaco Greeff
c70f82807e
Trate user-RPCs consistently alongside known (#4081) 2020-11-26 13:07:21 +01:00
Jaco Greeff
aaedb61e0d
import type { UseTranslationResponse } (#4074) 2020-11-26 10:23:52 +01:00
Jaco Greeff
488230d5db
Also explicitly list h1 height (as h2) (#4073) 2020-11-25 22:24:17 +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
MiZiet
cedc6b28c1
Align account name with nunito sans (#4038)
* Fix font alignment

* Plug in Nunito Sans

* Remove line-height

* Align AccountName

* Update packages/react-components/src/AccountName.tsx

Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-11-25 21:24:01 +01:00
Jaco Greeff
bcb36ec4f0
Allow CopyButton on all Hash* fields (#4065) 2020-11-24 15:56:53 +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
fce4f76297
Adjust config imports/exports (#4051)
* Adjust config imports/exports

* Move type import

* yarn

* drive-by type imports
2020-11-19 14:17:29 +01:00
Jaco Greeff
dfdf75ba2b
On-demand Expander rendering (#4039)
* On-demand Expander rendering

* Use indexes, not progress
2020-11-17 15:33:13 +01:00
Jaco Greeff
685971fa09
Max length for InputNumber (equal to allowed digits) (#4034)
* Max length for InputNumber (equal to allowed digits)

* Description on length check
2020-11-16 16:35:03 +01:00
Antoine Estienne
c004f07c53
Feature/better eth address addition (#4032)
* update labels for eth private key

* updated copy button

* lint

* Apply suggestions from code review

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

* typo

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-11-16 15:19:08 +01:00
Jaco Greeff
2c951cf263
Bump API (#4029) 2020-11-16 07:19:04 +01:00
Jaco Greeff
e10d56d0ec
Bump API (#4017)
* Bump API

* Rebuild i18n

* Fix InputAddress

* Pass through registry where applicable
2020-11-12 15:43:19 +01:00
Jaco Greeff
64299ebd29
Dev bump (#4012)
* Bump API/Common (esnext exports)

* Bump deps

* Adjust

* Bumps

* Bumps

* repository

* Update dev

* Remove Rococo (for the time being)

* script extension
2020-11-11 15:28:52 +01:00
Antoine Estienne
31904bf106
Support ethereum addresses for Moonbeam (#3961)
* support ethereum addresses

* corrections

* add standalone url and ethereum identicons

* add moonbeam config

* added changes from the old pr

* add new config

* added dummy rpc method declarations for eth methods

* wip fix address add modal

* support ethereum addresses

* corrections

* add standalone url and ethereum identicons

* add moonbeam config

* added changes from the old pr

* add new config

* added dummy rpc method declarations for eth methods

* wip fix address add modal

* wip repair app with new keyring

* use isDevelopement false for ethereum

* lint

* more formatng

* eth addresses by default for account creation

* added many more types to support moonbeam

* added color

* add h160 to types and components

* add rpc methods to app-config

* lint

* polish

* Update packages/react-params/src/initValue.ts

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

* Apply suggestions from code review

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

* moved ethereum networks to config

* added real rpc method typings

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-11-10 18:12:11 +01:00
Jaco Greeff
ce796b499a
Cleanup maxVote calculations (no re-triggers) (#3992)
* Cleanup maxVote calculations (no re-triggers)

* Remove duplicate equality check

* Remove (now unneeded) isBn check
2020-11-08 13:36:58 +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
Thibaut Sardan
08196d3093
Cleanup style expansion (#3943)
* cleanup style expansion

* ThemeDef

* Don't create unneeded objects

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-11-06 13:58:04 +01:00
Jaco Greeff
50fd662f8a
Revert font changes (#3976) 2020-11-05 12:50:40 +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
2a1fb452af
Add support for ethereum icon theme (#3964)
* Add support for ethereum icon theme

* Bump deps
2020-11-03 16:06:40 +01:00
Jaco Greeff
27fbeef324
Bump deps (#3949)
* Bump deps

* Type imports
2020-10-30 11:38:54 +01:00
Jaco Greeff
b484947b79
Display last blocks for execution (per contract) (#3917)
* Display last blocks for execution (per contract)

* Bump API with new block subs

* linting
2020-10-22 20:21:38 +02:00
Jaco Greeff
3dd77c8393
Contract event decoding (#3914)
* Contract event decoding

* Update packages/apps/src/Content/Status.tsx

* Update packages/react-components/src/Status/Queue.tsx

* Bump API
2020-10-22 16:34:11 +02:00
Krzysztof Jelski
7b387762bd
Updated flow for creating accounts (#3880)
* Add 3 step account creation

* Add textarea with dropdown

* Add OWASP and styles to PasswordStrength

* Align the checkbox with other ui elements

* Notification on mnemonic copy

* Make confirmation label clickable

* Do not shorten address in creation modal

* Make address name not editable in header

* Always show password strength meter

* Always show password strength meter

* Update tests to new account flow

* Remove repeated dependency

* Remove console.log from test

* Update yarn.lock

* Restore imports order.

* Format div component according to style

* Remove cursor styling for old browsers

* Empty line

* Organize imports. Configure StrengthTester once. Use color from theme.

* wip on text area

* TextArea styling

* Checbox styling

* Update repeated password validity on first password change

* Simplify CopyButton notification code.

* Change TextArea styling to more consistent

* Make password strength indicator wider

* Move external warning down and show on both steps

* Inline TextArea subcomponents

* Move mnemonic saved confirmation label closer to buttons

* Add steps counter to header

* Remove space

Co-authored-by: Michał Ziętalak <michal.z@ethworks.io>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-10-22 15:59:01 +02:00
Jaco Greeff
ca20e2aa70
Allow ascii inputs on Bytes fields (#3908)
* Allow ascii inputs on Bytes fields

* Remove help
2020-10-21 12:33:46 +02:00
Jaco Greeff
d2a4ed7f0c
Fix Babe availability check (#3900) 2020-10-19 16:41:30 +02:00
Jaco Greeff
dc4db837a7
Don't display unbonding blocks in Aura (#3896) 2020-10-19 12:02:31 +02:00
Jaco Greeff
71f6ec83c1
Adjust formatting with large balance values (#3871) 2020-10-14 19:14:52 +02:00
Jaco Greeff
ee7a4de77d
Allow ABI removal on upload (#3869) 2020-10-14 09:15:13 +02:00
Jaco Greeff
7ccbc57918
Add overall contracts summary, bump API (#3852) 2020-10-11 14:50:22 +02:00
Jaco Greeff
d58852558c
Display on-chain status for contract code & instances (#3851) 2020-10-11 11:50:27 +02:00
Jaco Greeff
9d51e0462a
Fix actual exec (#3842)
* Fix actual exec

* Adjust

* Remove (now unused) api

* Cleanup state on unmounted

* Update

* Use isPayable flag
2020-10-10 21:43:20 +02:00
Jaco Greeff
2deb69682f
Adjust buttons based on ABI availability (#3839)
* Adjust buttons based on ABI availability

* Sorting
2020-10-10 12:02:15 +02:00
Jaco Greeff
6bdb12a2ec
Watch contract state (#3838)
* Watch contract state

* Display actual outputs
2020-10-10 11:27:23 +02:00
Jaco Greeff
ae9ccf3450
Support for ink! v3 (#3828)
* Support for ink! v3

* Update packages/page-contracts/src/shared/Messages.tsx

* Cleanup displays

* Adjust

* Deploy & RPC call

* s/call/read/

* Adapt layout

* Swap to tables

* Update

* Updates to read/exec

* Adjust

* Updates

* Adjust with old code removal

* Update banner

* Adjust modals for dark

* Additional

* Bump API

* typo, case-sensitive

* Remove old types
2020-10-09 19:41:10 +02:00
Jaco Greeff
98819906ff Remove unused interfaces (e.g. dashboard) 2020-10-05 02:01:21 +02:00
Jaco Greeff
c426c4e57c
Adjust background for RoboHash icon (#3812)
* Adjust background for RoboHash icon

* background opacity

* Adjust
2020-10-02 14:29:46 +02:00
Jaco Greeff
0950f9f78c
Don't show countdown on fully vested (#3809) 2020-10-02 09:54:02 +02:00
Jaco Greeff
7b299cc4bd
Remove handled address tranform logs (#3807)
* Remove handled address tranform logs

* Update packages/react-params/src/initValue.ts

* Update packages/react-params/src/initValue.ts
2020-10-01 22:32:01 +02: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
880c13ff80
Adjust Inputaddress KeyPair styling (sizing, movement) (#3800) 2020-10-01 14:15:21 +02:00
Jaco Greeff
fd8d60ce6b
RoboHash icon theme (#3795)
* RoboHash icon theme

* Move to react-components

* Enable RoboHash

* Use full hash for generation

* Conversions

* Stream bytes

* background opacity

* Optimize images
2020-10-01 13:43:16 +02:00
Jaco Greeff
2988915727
0.60 (#3782) 2020-09-28 11:03:59 +02:00
Jaco Greeff
8aaf35fd4a
Combine events for status (#3781)
* Combine events for status

* Add ExtrinsicSuccess to start
2020-09-28 09:38:33 +02:00
Jaco Greeff
0b7d6de2a0
Bump deps (#3779) 2020-09-27 21:31:58 +02:00
Jaco Greeff
78f8a8c0e2
Bump API, Keyring (#3767) 2020-09-25 13:42:22 +02:00
Jaco Greeff
41c2c6ff4d
Remove button hover highlight (#3759) 2020-09-24 16:37:57 +02:00
Jaco Greeff
42e06de3c9
Submit multiple txs via Payout all (#3756)
* Submit multiple txs via Payout all

* Single onstart event
2020-09-24 14:33:31 +02:00
Jaco Greeff
44d8aa962e
Filter #<weight>...</weight> from metadata (#3741) 2020-09-22 14:54:10 +02:00
Jaco Greeff
8ab82b10a3
InputAddressMulti stretch (#3740) 2020-09-22 14:15:46 +02:00
Thibaut Sardan
b2449546d0
Fix overflow in democracy proposal (polkadot) (#3739)
* dix overflow

* Update packages/react-components/src/Expander.tsx

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-09-22 13:53:31 +02:00
Jaco Greeff
306c194cb1
0.59 (#3727) 2020-09-21 10:10:54 +02:00
Jaco Greeff
714beda8d4
Button Group margins (#3723) 2020-09-20 13:23:47 +02:00
Jaco Greeff
88c511d536
Small expander meta formatting (#3713)
* Small expander meta formatting

* Updates
2020-09-18 12:17:12 +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
2e72142f6a
Determine nonce via accountNextIndex (#3704) 2020-09-17 16:08:36 +02:00
Jaco Greeff
90b1f12c04
Contrast menu on brightness (#3701)
* Add contrast colors on menu (dark vs light)

* Adjust contrast detection

* Adjust contrasts

* Don't match, use indexes
2020-09-17 12:36:14 +02:00
Jaco Greeff
440620c204
Expander table adjustments (#3679)
* Expander table adjustments

* Expander table headings

* balances as expand header

* No header padding
2020-09-14 18:12:36 +02:00
Jaco Greeff
5f4c4c052b
Small layout adjustments (explorer & staking) (#3673) 2020-09-13 11:51:11 +02:00
Jaco Greeff
443db3353b
Tabs bottom (#3672) 2020-09-12 15:00:28 +02:00
Jaco Greeff
66d848388f
Adjust horizontal content padding (#3671)
* Adjust horizontal content padding

* Adjust

* Adjust
2020-09-12 14:19:30 +02:00
Jaco Greeff
4d5bb34ab0
Adjust CallExpander (#3670)
* Adjust CallExpander

* Table header padding

* Revert
2020-09-12 13:23:40 +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
a286bb90bc
Topmenu updates as per design (#3658)
* Topmenu updates as per design

* Explicit background to chain images

* Faint background (maybe, someday)

* Faint background for table highlights

* table headers

* Footer background

* Aletr badge (dark, as per suggestion)

* invert counter

* Small adjustments to opacity

* Update packages/apps/src/Content/index.tsx

* Status borders

* empty opacity

* Revert border

* Update packages/react-components/src/Status/index.tsx
2020-09-12 08:50:33 +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
f127e829bc
Align time unit strings (#3622)
* Align time unit strings

* Apply suggestions from code review

* dedup

* Rebuild i18n
2020-09-06 11:05:45 +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
Jaco Greeff
ffeab6a94e
Detect WASM (via util) (#3612)
* Detect WASM (via util)

* Linting

* Cleanups.
2020-09-05 12:26:25 +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
584ce1e5bc
Tiny UI adjustments (#3608) 2020-09-04 12:27:09 +02:00
Jaco Greeff
506cec434b
Add cancel all to slashes page (#3607) 2020-09-04 11:15:25 +02:00
Jaco Greeff
8815703d00
Bump dev, fix linting (#3603)
* Bump dev, fix linting

* Small zh adjustments

* Remove rpc.* zh
2020-09-03 16:36:24 +02:00
Jaco Greeff
bc2e143ea9
Small cleanups (duplication) (#3599) 2020-09-03 08:13:02 +02:00
Nikhil Ranjan
aa6aeb75a2
add vestingPerBlock and vestingEndBlock in vested balance tooltip (#3587)
* add vestingPerBlock in vesting balance tooltip

* translations

* add vestingEndBlock

* translation

* fix lint

* formatNumber vestingEndBlock

* added countdown

* until

* lint fix

* fix

* Update packages/react-components/src/AddressInfo.tsx

* Update packages/react-components/src/AddressInfo.tsx

* Update packages/react-components/src/AddressInfo.tsx

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-09-02 11:48:06 +02:00
Jaco Greeff
7635e01090
Align with extension, copy seed button (#3581)
* Align with extension, copy seed button

* Move location (allows hover)
2020-08-31 22:55:05 +02:00
Jaco Greeff
3298784240
Show locks for delegated votes (#3557) 2020-08-28 15:00:37 +02:00
Jaco Greeff
23b83282ba
Unbonding display fix (#3554)
* Adjust unbonding calcs

* Remove log

* release/stable

* Bump API
2020-08-28 11:10:25 +02:00
Jaco Greeff
58b9833c65
Simplify unbonding display (#3551)
* Simplify unbonding display

* Less allocations
2020-08-27 22:55:42 +02:00
Jaco Greeff
54f997eb99
Limit to max chainDecimals on InputNumber (#3548) 2020-08-27 18:44:23 +02:00
Jaco Greeff
295829af8e
Use external icon links (#3545)
* Use external icon links

* Adjust opacity

* Cursor
2020-08-27 16:35:19 +02:00
Jaco Greeff
f71e1ff922
Adjust links with full names (#3537)
* Adjust links with full names

* Add provider logos

* Unsafe assignment

* Linting
2020-08-27 15:36:34 +02:00
Jaco Greeff
6632c7f7e4
Adjust help slideout z-index (#3539) 2020-08-27 14:58:46 +02:00
Jaco Greeff
a2c3c6a121
tabIndex on dropdown (#3532) 2020-08-26 21:18:15 +02:00
Jaco Greeff
4c007e29ef
No indices lookups anywhere, only on address book (#3531)
* No indices lookups anywhere, only on address book

* Linting
2020-08-26 19:37:10 +02:00
Jaco Greeff
0af86e2e5f
Explicit aye/nay buttons (no toggle) (#3524)
* Explicit aye/nay buttons (no toggle)

* Extract isDisabled

* Remove DOT banner

* Updates

* s/New DOT/DOT/

* Bump API

* .eslintrc
2020-08-26 13:37:00 +02:00
Jaco Greeff
3cb6333181
revert api (#3525) 2020-08-26 12:22:16 +02:00
Jaco Greeff
80bfc6033b
Bump API (#3522)
* Bump API

* Disable problemtic rule (some valid, most not)

* Bump API
2020-08-26 12:07:43 +02:00
Jaco Greeff
b69dcc3fb0
Chain/Events calendar (#3505)
* Scaffolding

* next/prevMonth

* WIP

* Day layout

* Something shows

* Scheduler itesm

* Fix clacls, basics are there

* styled localized

* Constant retrievals

* Extraction cleanups

* extraMargin on article.error

* It works.

* Fix council ids

* merge yarn
2020-08-25 11:29:01 +02:00
Jaco Greeff
884cc281f8
Move account modals to root (#3506)
* Move modals to root

* Adjust locations

* Fix toggle order

* Update packages/page-accounts/src/modals/Transfer.tsx

* Status positioning
2020-08-25 01:28:05 +02:00
Jaco Greeff
26a944d24d
Remove "Unknown chain" on parachains (#3502) 2020-08-24 10:25:02 +02:00
Jaco Greeff
26881b4c1c
Extra payouts info on claiming (#3501) 2020-08-24 08:51:04 +02:00
Jaco Greeff
12508224ac
Split RPC (dejavu) into own nav item (#3494)
* Split RPC (dejavu) into own nav item

* RPC/Extrinsics icons

* Split addressbook app

* Update create path
2020-08-24 00:21:12 +02:00
Jaco Greeff
c8b912bb78
Small tab counter adjustment (#3493) 2020-08-23 23:15:00 +02:00
Jaco Greeff
bf0a7b4b43
Adjust buttons/tables (#3492)
* Adjust buttons/tables

* Filter
2020-08-23 22:50:15 +02:00
Jaco Greeff
71ab4c3d04
Rework votes display (#3489) 2020-08-23 18:57:57 +02:00
Jaco Greeff
7247cec8e5
Media & highlight name adjustments (#3482)
* Media & highlight name adjustments

* 2000 sizing

* Restore progress inner
2020-08-23 12:11:12 +02:00
Jaco Greeff
83f736246a
Extract background (light) highlight style (#3478)
* Extract background (light) highlight style

* Adjust progress with top
2020-08-23 11:16:59 +02:00
Jaco Greeff
39422a06ba
Expander adjustment (#3480)
* Expander adjustment

* AddressInfo w/ New DOT

* Adjust

* Content padding

* Basic settings when not connected
2020-08-23 10:35:12 +02:00
Wei Tang
b1e967833d
Fix conviction dropdown block time display (#3479)
* Fix conviction dropdown block time display

* Use divn instead of /

* Move useBlockTime out of createOptions

* Fix space
2020-08-22 18:17:21 +02:00
Jaco Greeff
dc6817d8af
Ensure CopyButton is not read-only (#3477) 2020-08-22 16:44:30 +02:00
Jaco Greeff
f64169731e
Adjust default icon display (#3476) 2020-08-22 16:27:11 +02:00
Jaco Greeff
3534bda556
Preload chain images (#3471) 2020-08-21 20:32:37 +02:00
Jaco Greeff
b4e10c9661
Adjust chain empty logo (background) (#3470)
* Adjust chain empty logo (background)

* Slight adjustment
2020-08-21 16:55:51 +02:00
Jaco Greeff
0423feeaba Crisper 2. 2020-08-21 14:32:52 +02:00
Jaco Greeff
7ce4ca5064 Crisper. 2020-08-21 14:19:22 +02:00
Jaco Greeff
399222b872 Shadow-y. 2020-08-21 13:56:33 +02:00
Jaco Greeff
f845f2a12f
Adjust menu highlights (#3461)
* Adjust menu highlights

* Update packages/apps/src/Menu/Grouping.tsx

* Slight toning down
2020-08-21 09:20:33 +02:00
Jaco Greeff
2ee50d1b65
Media breakpoints for nav (#3459) 2020-08-21 07:49:04 +02:00
Jaco Greeff
33892a2e31
Nav re-imagined (#3422)
* Playthrough with top navigation

* Sycky, but navigation works...

* Adjust

* grouping

* It works, but is not great

* Cleanups

* Cleanups

* hover color

* Highlights

* Highlights, part 2

* Background to body

* Small adjustments (size, items)

* Localize Modal/route switching

* Remove light/full mode

* Flatter single-entry menus

* Adjustments for single-enrties (e.g. Kulupu)

* Display NodeInfo

* Misc

* Content & Tabs sizing

* Tab counters as bubbles

* Alignment

* Tabs styling

* Adjust font color to defaults

* Small tabs menu color adjustments

* ... the previous, again, adjusted

* Display Wiki/Github links

* ar motions

* Adjust Endpoints location

* Ensure content grows to available height

* Adjust tabs

* Menu background adjustment

* Adjust popup colors

* Adjust highlights

* Sligh breathing room

* Adaptive header background

* 2/3

* Adaptive is ok... for now.

* Back to black... erm, gray

* Lighten

* Touchups. Stop playin, it is ok...

* Sides readability

* Cleanups.

* Adjust.

* Overall adjustments (theme). Fix Tag yellow.

* Ok. Done.

* Ship it.
2020-08-20 17:50:30 +02:00
Jaco Greeff
7f7414749f
Default to no-lockup conviction (#3443) 2020-08-19 12:38:24 +02:00
Krzysztof Jelski
8b50b1b28c
A proof of concept for frontend test with substrate in docker (#3371)
* React tests PoC.

* Globally start and stop substrate for all tests.

* Fix compilation problem.

* Another attempt to make both compilation and tests work.

* Apply suggestions from code review

* Run slow tests with docker only nightly.

* Update yarn.lock.

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-08-19 11:27:52 +02:00
Jaco Greeff
f505ef41b2
Remove conviction genesis override (#3440)
* Remove conviction genesis override

* Ordering

* Simplify unit formatting
2020-08-19 09:59:52 +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
44055cbcde
Remove link tooltips (#3424)
* Remove link tooltips

* Convert to a title
2020-08-15 16:37:25 +02:00
Thibaut Sardan
4d1c18fec5
Add info about the nominators state (#3420)
* add info about the nominators state

* Apply suggestions from code review

* remove duplicated info

* Apply suggestions from code review

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-08-14 20:12:00 +02:00
Jaco Greeff
182671b539
Additional useMemo (no useEffect + useState) (#3409)
* Additional useMemo  (no useEffect + useState)

* Apply suggestions from code review
2020-08-14 10:02:32 +02:00
Jaco Greeff
b47bbab428
Balance unit alignment (#3406)
* Balance unit alignment

* Small formatting updates
2020-08-12 16:14:24 +02:00
Jaco Greeff
6cd5e4d847
Strip newlines from hex input (#3403)
* Strip newlines from hex input

* Update packages/react-components/src/InputFile.tsx
2020-08-12 14:00:21 +02:00
Jaco Greeff
6a5f37fd07
Link to extension upgrade, cater for non-existing case (#3401) 2020-08-12 12:49:45 +02:00
Jaco Greeff
d450563191
Default to hex detection flag on uploads (#3398)
* Add hex conversion flag

* Add actual default

* Remove converthex flag
2020-08-12 10:15:10 +02:00
Jaco Greeff
41d6303f6f
Adjust table consistency (#3397)
* Adjust table consistency

* Header transparent

* Non-transparent summary
2020-08-12 09:39:50 +02:00
Jaco Greeff
1e2fe08801
Summary table header (#3392)
* Symmary table header

* Nominator count
2020-08-11 22:11:11 +02:00
Jaco Greeff
51b6956301
Add ui--Toggle overlay positioning (#3377)
* Add ui--Toggle overlay positioning

* adjust label classes

* Max bonded to unbond

* Update packages/page-parachains/src/Parachain/Details.tsx

* Update packages/page-parachains/src/Parachain/Deregister.tsx

* Apply suggestions from code review

* Adjust parachains

* Adjust

* Formatting

* Additional
2020-08-09 11:16:37 +02:00
Thibaut Sardan
4486532534
Fix council voting balance (#3363)
* fix council voting balance

* locked balance as default

* Update packages/react-components/src/VoteValue.tsx

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

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-08-07 14:37:41 +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
98fd2ed1fa
Adjust AddressToggle with named (#3349) 2020-08-05 21:18:20 +02:00
Jaco Greeff
107bfc7065
Warn on locally stored accounts (#3345) 2020-08-05 14:39:51 +02:00
Jaco Greeff
f71e5c9cbc
Quick endorse with median (#3340)
* Tip endorse with median

* Disable quick on median === 0
2020-08-05 10:34:33 +02:00
Jaco Greeff
cc217ef7e1
Link button hover color (#3326) 2020-08-03 22:07:09 +02:00
Jaco Greeff
cff0c7c14e
Add Switch action to endpoint change (#3320) 2020-08-02 12:52:45 +02:00
Jaco Greeff
c085125dd7
Endpoint toggle adjustments (#3319) 2020-08-02 11:40:38 +02:00
Jaco Greeff
6df29eadb0
De-dupe account filters (staking & components) (#3311) 2020-08-01 16:09:03 +02:00
Jaco Greeff
6aefdd9178
useLoadingDelay for large lists (#3310)
* useLoadingDelay for large lists

* Accounts with isLoading

* sortedAddresses afecting check
2020-08-01 15:29:52 +02:00
Jaco Greeff
bab644ec82
Nominate trust warning (#3309) 2020-08-01 14:39:41 +02:00
Jaco Greeff
71eb21c28b
Adjust multi-list loading state (#3308)
* Try infinite-scroll

* Adjust multi-list with loading

* Update package.json
2020-08-01 14:00:30 +02:00
Jaco Greeff
437af3d4d8
Set max modal column widths (#3294) 2020-07-30 16:21:54 +02:00
Jaco Greeff
7d4b3a71dc
De-dupe nominations, favor different (#3292) 2020-07-30 16:11:01 +02:00
Jaco Greeff
5946951ece
Highlight selected endpoint (#3289) 2020-07-30 09:10:23 +02:00
Jaco Greeff
d048f06e60
Display schedule on democracy (#3287) 2020-07-29 19:21:21 +02:00
Jaco Greeff
f7ecc45606
Endpoint sidebar (#3282)
* Endpoint sidebar

* Collapsible

* Selection of new url

* Sidebar icon override

* url validity

* Remove  network selection from settings

* Updates with custom
2020-07-29 13:59:30 +02:00
Jaco Greeff
7129c26b42
Sidebar split (#3280)
* Seidebar split

* Update packages/react-components/src/SideBar.tsx

* Rename
2020-07-28 12:20:03 +02:00
Jaco Greeff
1b6d2e9794
Adjust payout toggle with days (#3274)
* Adjust payout toggle with days

* Cleanups
2020-07-27 13:04:42 +02:00
Jaco Greeff
f19eeccd02
Bump deps (#3273)
* Bump deps

* Rewrite yarn
2020-07-27 10:24:35 +02:00
Jaco Greeff
bb846baa71
Slight button ordering adjustments (#3271) 2020-07-26 18:00:17 +02:00
Jaco Greeff
9003d32c85
Remove unused Button props (#3267)
* Remove unused Button props

* Bump deps
2020-07-25 15:30:40 +02:00
Jaco Greeff
0dd3546fb3
Button adjust (#3266)
* Button adjust

* Basic buttons

* Size adj
2020-07-25 13:47:00 +02:00
Jaco Greeff
4e82a837ab
Fix new tip detection (#3265) 2020-07-25 11:16:17 +02:00
Jaco Greeff
a3b4eaa551
Update button styling (#3264)
* Update button styling

* Basic button

* Slight button background

* Disabled no background

* Las tweaks
2020-07-25 09:55:49 +02:00
Jaco Greeff
818668e9de
Small CardSummary adjustments (#3263)
* Small CardSummary adjustments

* Adj.

* Spacing
2020-07-24 21:17:03 +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
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
51bceafb03
JSON v3 support (#3256)
* JSON v3 support

* Update deps

* isBusy adjustments

* Cleanup import

* Linting

* trigger

* Derive fixed, remove unused styles

* Backup adjustments

* Overlay & spinner ordering
2020-07-24 10:17:14 +02:00
Jaco Greeff
6e6218f2ab Smaller & alt 2020-07-23 16:39:34 +02:00
Jaco Greeff
efef8e8834 Display totals as free + reserved 2020-07-23 15:31:11 +02:00
Jaco Greeff
c5f1141b91 Adjust spinner opacity 2020-07-23 12:13:47 +02:00
Jaco Greeff
ddebfec73e
Override locale seperator consistently (#3253) 2020-07-23 11:58:07 +02:00
Jaco Greeff
3f797e7210 Adjust spinner (smaller, real-size) 2020-07-23 11:24:29 +02:00
Jaco Greeff
24d01323a2 Icon update 2020-07-23 09:23:25 +02:00
Jaco Greeff
ae5c65b0a0 Adjust spinner sizing 2020-07-22 08:29:15 +02:00
Jaco Greeff
e076fe9182
Adjust spinner (#3248)
* Adjust spinner

* Sizing

* Update

* Smaller

* Yet smaller

* Smaller ball
2020-07-22 08:13:17 +02:00
Jaco Greeff
eba8f4c012
Override conviction display for Polkadot (#3243)
* Override conviction display for Polkadot

* Add Polkadot override
2020-07-21 09:54:55 +02:00
Jaco Greeff
7c9ed82251
API bump for votingBalance (#3240) 2020-07-20 20:45:07 +02:00
Jaco Greeff
cf03e360a7
Adjust parent media breakpoint (#3234) 2020-07-19 21:28:37 +02:00
Jaco Greeff
413db9fca4
All children (e.g. toolips) on FormatBalance (#3227) 2020-07-18 10:23: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
0c5f2754cf
Native toggle component (#3209) 2020-07-16 13:30:34 +02:00
Jaco Greeff
78dcf3c8a9
Adjust alignment of SI dropdown (#3206)
* Adjust alignment of SI dropdown

* line-height 1
2020-07-16 09:26:48 +02:00
Jaco Greeff
6b3539be58
Remove 123code (not maintained) (#3195)
* Remove 123code (not maintained)

* Stray 123-code ref

* Rewrite yarn.lock

* Remove 123 from README
2020-07-14 17:02:51 +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
Thibaut Sardan
c7ebb0247f
do not use filter on selected accounts (#3175) 2020-07-13 20:15:53 +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
88d81b0ac3
Flatten IdentityIcon wrappers (#3170)
* Flatten IdentityIcon wrappers

* Cleanup onCopy
2020-07-12 11:25:49 +02:00
Jaco Greeff
fffa535d11
Convert tabs to non sui styles (#3168)
* Convert tabs to non sui styles

* inactive hover

* Adjust sequence display

* Update
2020-07-12 09:56:58 +02:00
Jaco Greeff
59f430e219
Cleanup AddressName display (#3166)
* Cleanup AddressName display

* It compiles... ship it.
2020-07-11 14:54:31 +02:00
Jaco Greeff
7f519f73e3
Small usage cleanups (#3163)
* Small usage cleanups

* Adjustments for nodes

* Hopefully sort out Badge/Icon alignment

* ui--Icon pointers
2020-07-11 11:24:50 +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
Jaco Greeff
01587003eb
Small CSS optimizations (#3156) 2020-07-10 12:50:59 +02:00
Jaco Greeff
1c7865cf65
Adjust Badge to inline default (as used) (#3150)
* Adjust Badge to inline default (as used)

* Default to isTooltip with hover set
2020-07-09 13:40:46 +02:00
Jaco Greeff
a678583648
Fix accounts not showing with no democracy (#3149)
* Fix accounts not showing with no democracy

* Update packages/page-accounts/src/Accounts/Account.tsx

* Adjust for Edgeware

* Update packages/page-accounts/src/Accounts/Account.tsx

* API dep
2020-07-09 12:31:03 +02:00
Thibaut Sardan
e76ac8395b
Adds delegations overview and actions (#3122)
* add tab and query

* display accounts amount and conviction

* delegation modal without react-component

* add conviction dropdown

* number not string

* use string rather than accountId and KeyringAddress

* all changing

* use ConvictionDropdown from react-components

* delegate column in accounts

* with expander

* with modals

* ordering

* Apply suggestions from code review

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

* ordering

* implement suggestion and fix lint

* Small layout adjustments with help text

* Only delegate to owned accounts

* Use AddressMini for delegation layout

* Remove ununsed imports

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-07-09 10:30:38 +02:00
Jaco Greeff
07fe32c229
Restor InputAddress minimal auto height (#3143) 2020-07-08 10:12:44 +02:00
Jaco Greeff
f1277c3ede
Society generator (#3141)
* Society generator

* Modal popup

* Log accountId & hex

* Spacing

* Reduce for addressToBits
2020-07-08 08:51:34 +02:00