Commit Graph

532 Commits

Author SHA1 Message Date
Jaco Greeff
3edbd726b5 Table borders (subtle) 2020-06-09 09:38:56 +02:00
Jaco Greeff
f5cf7a080a
Small table styling adjustments (#2904) 2020-06-09 09:20:53 +02:00
Jaco Greeff
8edc133af7
Remove password visibility indicators (#2903) 2020-06-08 21:36:55 +02:00
Jaco Greeff
b33af37fec
Use Inputaddress lastValue from state (no lookup when done) (#2902) 2020-06-08 16:06:03 +02:00
Jaco Greeff
51d7cd9a0b
Remove Button divider (#2899) 2020-06-08 07:51:16 +02:00
Thibaut Sardan
0091fc6e57
Add attestation to claims (#2734)
* init

* Attest component

* Add top notification bar

* better english

* back to 3 steps

* clean up

* in the middle of the refactoring

* Make TS pass

* Clea up some comments

* isPreclaimed

* isOldClaimProcess

* Attest vs Claim (#2737)

* Choose between Claim and Attest

* fix lint

* fix flow between claim and attest (#2738)

* Jaco's comments + Fetch StatementKind (#2741)

* Fix small bug in flow

* Add condition for the warning banner (#2742)

* prevent crash for older chains

* with useEffect

* should work

* back to something simple

* remove hoc

* fix CI

* Add ETH address field for non preclaimed addresses (#2746)

* Eth field

* fix

* remove stray logs

* Update packages/page-claims/src/index.tsx

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

* Update packages/page-claims/src/index.tsx

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

* Update packages/apps/src/overlays/Attest.tsx

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

* Show the amount of token that will be claimed (#2747)

* show amount in attest

* fix isApiReady

* fix lint

* Use counter instead of overlay (#2750)

* Use counter instead of overlay

* Add warning to claim (#2752)

* add warning

* css cleanup

* fix unused const

Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>

* Update packages/page-claims/src/Warning.tsx

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

* Update packages/page-claims/src/index.tsx

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

* Update packages/page-claims/src/index.tsx

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

* Update packages/page-claims/src/index.tsx

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

* Update packages/page-claims/src/index.tsx

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

* address comment shortcut

* set Ethereum address outside transfor and fix typos

* lint

* extract claims.preclaims to a hook

* address comments EthereumAddress type and avoid casting

* Missing isUnsigned

* use AddressMini in warning

* use a proper step for eth address field

* Add loading state

* remove log

* unwrapOrNull

* Update packages/page-claims/src/Warning.tsx

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

* fix for account plural translation

* lint

* Add getStatement function

* nits

* Fix lint

* Update packages/page-claims/src/Warning.tsx

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

* add statement

* statement component

* address comment unWrapOr

* test styling with long md

* add md to jest

* Update packages/page-claims/src/Statement.tsx

Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>

* copy text before

* lint

* Remove EthreumAddress type to avoid unexpected behaviors (#2796)

* remove EthreumAddress type

* createType when needed

* revert

* typo

* Enhance UX for claim process (#2797)

* update content

* init

* comment

* Add HTML components for statements (#2798)

* Add HTML components for statements

* Update packages/page-claims/src/statements/saft.tsx

* Update to final statements

* More nits

* Nits

* OnSuccess

* prevent display of empty statement when attested

* Small fixmes

* Update packages/page-claims/src/index.tsx

* fix isError not being red as expected

* remove word-break

* statement text in black

* attestation for -> accounc balance

* Update packages/page-claims/src/Statement.tsx

Co-authored-by: Logan Saether <x@logansaether.com>

* margin left instead of space

* I agree

* Use iframe

* update saft to QmXEkMahfhHJPzT3RjkXiZVFi77ZeVeuxtAjhojGRNYckz

* remove hash and duplications (#2814)

Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
Co-authored-by: Logan Saether <x@logansaether.com>
2020-05-26 11:49:12 +02:00
Jaco Greeff
e9f7b547fd
Extract state interfaces (#2805) 2020-05-25 10:05:14 +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
023487e574
Tabs aliasses (#2773)
* Tabs aliasses

* Dummy build:electron & release steps

* Bump UI
2020-05-19 12:30:48 +02:00
Jaco Greeff
deeb8b11de
InputBalance default formatting with 3 decimals (#2766)
* InputBalance default formatting with 3 decimals

* Cleanup reformatting
2020-05-18 12:31:55 +02:00
Jaco Greeff
029b5c6c80
Adjust deps for new hooks rules (#2757) 2020-05-16 10:45:54 +02:00
Jaco Greeff
7b711316e9
Bump deps (#2753)
* Bump deps

* Fixes
2020-05-15 16:19:06 +02:00
Jaco Greeff
4e6824f272
Swap media query classes to numbers (lists) (#2733) 2020-05-13 11:17:45 +02:00
Jaco Greeff
baf29e7bc6
Display turnout (#2732) 2020-05-13 09:45:12 +02:00
Jaco Greeff
259af2bc11
Clearing of democracy votes (#2721)
* Clearing of democracy votes

* Indicate ongoing referendums
2020-05-12 13:02:18 +02:00
Jaco Greeff
9355efbe29
Adjust button sizes consistently (#2711) 2020-05-08 22:13:42 +02:00
Jaco Greeff
b5c2d9b239
Adjust IdentityIcon defaults (#2710) 2020-05-08 17:01:18 +02:00
Jaco Greeff
e31791563f
Multisig info in sidebar (#2702) 2020-05-07 15:38:32 +02:00
Jaco Greeff
e9ce2a88c5
Adjust button layouts (consistency) (#2697) 2020-05-07 09:53:52 +02:00
Jaco Greeff
783beb45e0
Small table background adjustments (#2682) 2020-05-03 10:13:03 +02:00
Jaco Greeff
f21ae871f3
Load all namespaces up-front (no indv. queries) (#2680)
* Move i18n app to settings (discoverability)

* Load all namespecas up-front (no indv. queries)
2020-05-03 08:53:59 +02:00
Jaco Greeff
ea3f342da5
Move i18n app to settings (discoverability) (#2679) 2020-05-02 13:46:10 +02:00
Jaco Greeff
3cdd78f31e
Custom i18n loader (with caching) (#2678)
* Custom i18n loader (with caching)

* Just the basics, cache on language identifier
2020-05-02 11:32:48 +02:00
Jaco Greeff
70045a9b85
Adjust i18next options for current (#2672) 2020-05-01 22:16:53 +02:00
Jaco Greeff
8cdb813255
InputNumber fix (#2669)
* InputNumber workaround for edit bug

* defaultValue robustness checks
2020-05-01 18:55:55 +02:00
Jaco Greeff
5b8894d167
Allow voting to use locked balance (#2668)
* Allow voting to use locked balance

* Update linting

* i18n strings
2020-05-01 14:46:57 +02:00
Jaco Greeff
92a6af7983
Adjust council modals with column layout (#2666)
* Adjust council modals with column layout

* Adjust to council icon

* Tip endorsement columns, remove duplicated Transfer modal
2020-05-01 11:39:03 +02:00
Jaco Greeff
30fac8c052
Adjust modal header (a change is as good as a holiday) (#2660)
* Adjust modal header (a change is as good as a holiday)

* Linting (memoizee types)
2020-04-30 11:50:48 +02:00
Jaco Greeff
fdd8374646
Small modal columns adjustment (#2659)
* Small modal columns adjustment

* Remove Button.Or

* Modal shadow
2020-04-29 23:32:39 +02:00
Jaco Greeff
c2d9a90eac
Adjust Treasury proposal modals (#2658)
* Adjust Treasury proposal modals

* Adjust styl;ing for disabled InputAddress
2020-04-29 17:59:59 +02:00
Jaco Greeff
bcd8287d99
Additional dialogs with helpers (democracy) (#2657)
* Additional dialogs with helpers (democracy)

* Balance button opacity
2020-04-29 15:08:13 +02:00
Jaco Greeff
8f4d71b43c
Cleanup AddressInfo with larger numbers (#2656) 2020-04-29 13:57:22 +02:00
Jaco Greeff
2b2b7d3695
Modal columns for democracy modals (#2654) 2020-04-29 10:26:00 +02:00
Jaco Greeff
2c2816475b
Voting dialog overhaul (#2653) 2020-04-28 23:03:32 +02:00
Jaco Greeff
038d459e89
Modal column boxing (#2651) 2020-04-28 21:28:33 +02:00
Jaco Greeff
9e8709e4eb
Justify modal columns (#2650) 2020-04-28 17:11:31 +02:00
Jaco Greeff
b6f90bf4e4
Columar modals (currently starting in staking) (#2649) 2020-04-28 16:37:59 +02:00
Jaco Greeff
57d8bfc80e
Cleanup InputNumber, simplify (#2648) 2020-04-28 13:46:49 +02:00
Jaco Greeff
ee7c4fa45b
Allow pre-select option when nominating (#2644)
* Allow pre-select option when nominating

* Pre-select as default (faster initial operation)
2020-04-28 09:18:41 +02:00
Jaco Greeff
e410cc1473
Allow selectable targets (#2637) 2020-04-27 16:30:52 +02:00
Jaco Greeff
56817846c2
i18n progress bar (#2636) 2020-04-27 09:48:28 +02:00
Jaco Greeff
1f6ffea2b8
i18n linting script (missing, extra) (#2629)
* i18n linting script (missing, extra)

* Correct missing top-level check

* Cleanup dead keys, split apps-routing

* Working with all keys detected

* Update routes export

* Last hanging bits
2020-04-25 15:18:11 +02:00
Jaco Greeff
cfeb5c7f07
Fix lock-to-network, save with genesisHash (broken after useAccountInfo move) (#2628)
* Fix chain locks

* Save with meta

* Bumps

* i18n rebuild
2020-04-25 10:16:07 +02:00
Jaco Greeff
e3400f7206
Multisig support (#2623)
* Multisig support

* Testing, sorting with timepoints

* Re-add

* lint (import fix)

* case-sensitive import
2020-04-24 20:30:08 +02:00
Jaco Greeff
a6fc6c2190
Rework registrar dialog (account filter) (#2613) 2020-04-24 19:38:48 +02:00
Jaco Greeff
4316e9dfc6
Swap LinkExternal to short names (#2612) 2020-04-23 13:30:10 +02:00
Jaco Greeff
67b69dc976
Split Sidebar flags (& use <Tag /> component) (#2609)
* Split Sidebar flags (& use <Tag /> component)

* Fix Account flags expansion
2020-04-23 10:49:34 +02:00
Jaco Greeff
d57908ead8
Remove staking badge tooltips (#2603) 2020-04-22 22:07:24 +02:00
Keith Ingram
9703811f8b
AddressMenu popup when clicking on address name (#2563)
* AddressMenu

* use menu

* refactor

* draft

* cleanup

* Sidebar

* Sidebar

* improvements

* redesign

* bump

* Small adjustments

* Layout adjustments, useCallbacks (not perfect...)

* Remove _setName with extra effect, re-add badges (edit missing)

* Missing useCallback in Address

* no withSidebar on AddressToggle

* useAccountInfo CPU spikes (split effects, no useCallback deps)

* Alway have underline (even on address)

* secondary button color

* Add name callback

* Make identity appear with displayname

* Adjust judgement button position

* UI adjustments

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-04-22 19:43:20 +02:00
Jaco Greeff
4e6ba0dacd
Add list footer with total summaries (free, bonded, payout) (#2600) 2020-04-22 11:18:49 +02:00
Jaco Greeff
f48581dfef
Cleanup external display (#2591) 2020-04-20 15:23:11 +02:00
Jaco Greeff
9aaeb1dcf4
Expand calls (non optimally) to council external (#2590)
* Expand calls (non optimally) to council external

* Adjust CHANGELOG
2020-04-20 12:13:28 +02:00
Jaco Greeff
a1fd6e90ba
Header cleanups (#2586) 2020-04-20 08:39:44 +02:00
Jaco Greeff
eb6b27750a
Remove unneeded InputBalanceBonded indirection (#2585) 2020-04-20 08:30:16 +02:00
Jaco Greeff
75bceaadf1
Expander header without nowrap (#2582)
* Expander header without nowrap

* Adjust overflows
2020-04-17 23:01:17 +02:00
Jaco Greeff
22a278428e
Bump API (Identity display, latest Substrate types) (#2574) 2020-04-16 13:38:54 +02:00
Jaco Greeff
1a69e1e35c
Simplify IdentityIcon (#2568)
* Simplify IdentityIcon

* Bump API

* Linting
2020-04-14 14:38:53 +02:00
Jaco Greeff
f127c2a6b1
Optimize Transfer dialog (no useEffect) (#2567) 2020-04-14 13:56:35 +02:00
Jaco Greeff
4950250b0d
Static output formatting adjustments (#2566) 2020-04-14 10:05:14 +02:00
Jaco Greeff
92bb1ef893
Skip Tooltip on noLookup in AccountName (#2562) 2020-04-13 08:48:04 +02:00
Jaco Greeff
172df809c0
Remove ununsed modal, cleanup comments (#2561)
* Remove ununsed modal, cleanup comments

* Adjust info icon location
2020-04-13 07:52:55 +02:00
Jaco Greeff
73eb4e284c
Address info expander (#2560)
* AddressInfo expander cleanups

* Mapping of BalanceLock reasons
2020-04-12 15:07:32 +02:00
Jaco Greeff
a8d6ba7863
Use system_chainType (#2559)
* Use system_chainType

* Formatting cleanups

* Alignment of Expander -> BalanceFormat

* Formatting
2020-04-12 13:32:43 +02:00
Jaco Greeff
386a78c319
Use element cache in AddressName (#2558) 2020-04-12 11:51:26 +02:00
Jaco Greeff
091934e69e
Display nominators in the waiting list (#2557)
* Display nominators in the waiting list

* Highlight mine
2020-04-12 11:01:46 +02:00
Jaco Greeff
7e03898bb3
Cleanup "as any" on derive with useCall (#2549)
* Cleanup "as any" on derive with useCall

* Alignment
2020-04-11 11:43:21 +02:00
Jaco Greeff
52c04fc29d
Modal conversion, functional non-TxComponent (#2548)
* Modal conversion, functional non-TxComponent

* Fix duration calc
2020-04-11 09:05:00 +02:00
Jaco Greeff
a3ee0e3ee3
Link to Payout tab from actions (#2544) 2020-04-10 07:57:30 +02:00
Jaco Greeff
d677d64817
UI support for simple payouts (#2509)
* UI support for simple payouts

* payout modal

* Adjust with era filtering

* Slow as molasses, but seems working

* Adjust th vertical alignment

* Bump API

* Update

* Cleanup reward retrievals

* linting

* Bumps

* Some rendering optimizations

* Re-add counter

* Fix new header linting

* Actual API bump

* Bumps

* Adjustments

* Adjust payouts as stand-alone tab

* Adjust nominations

* rm unused style

* change offsets

* Adjust
2020-04-08 16:39:32 +02:00
Jaco Greeff
e07cb5a9a9
Fix table.isFixed (#2529) 2020-04-07 17:55:20 +02:00
Jaco Greeff
8fcf2d8864
Adjust ErrorBoundary with trigger, cleanup InputAddress outer icon (#2528)
* Adjust ErrorBoundary with trigger, cleanup InputAddress outer icon

* Remove extra fluff
2020-04-07 17:12:04 +02:00
Jaco Greeff
4d17d5236d
Additional useCallback (close to 100%) (#2527) 2020-04-07 16:07:11 +02:00
Jaco Greeff
c906794397
Store/use parentAddress alongside derivation (#2526)
* Store/use parentAddress alongside derivation

* Show actual parent relationships

* Tooltip for address
2020-04-07 15:04:02 +02:00
Jaco Greeff
978c83d3e1
Add stylelint (testing impacts) (#2524)
* Add stylelint (testing impacts)

* "defaultSeverity": "warning"

* Cleanup Table styles

* Default parser
2020-04-07 10:49:30 +02:00
Jaco Greeff
a7217bd9d5
Extrinsic app selection as functional (#2523)
* Extrinsic app selection as functional

* td .ui--Spinner spacing

* Remove staking counter
2020-04-07 08:16:55 +02:00
Lowhearth
f991c2d949
Swap yes/no (voting) to Toggle (#2519)
* Swap yes/no voting to Toggle #1624

* Ordering Imports

* Explicit vote Button label

* Modal opening Vote Buttons with default background
2020-04-07 07:03:51 +02:00
Jaco Greeff
00e0498ce2
Swap council voting away from TxModal (#2521)
* Swap council voting to non-TxModal

* No fat spinner

* Use bundled node
2020-04-06 12:29:00 +02:00
Jaco Greeff
dc0f71b272
Adjust Spinner (using sui Loader) (#2518) 2020-04-05 08:59:50 +02:00
Jaco Greeff
286944cc9d
Disable staking actions in elections (#2516) 2020-04-04 21:45:15 +02:00
Jaco Greeff
b8df3dc8f4
Compact table markup (#2514)
* Compact table markup

* Motions tweak

* Small fixes
2020-04-04 08:15:36 +02:00
Jaco Greeff
6c86eea578
Toolbox RPC adjustments (#2505) 2020-04-02 10:05:54 +02:00
Jaco Greeff
67b70b075e
Rewrite yarn.lock (#2504) 2020-04-01 23:34:51 +02:00
Jaco Greeff
9a6c55a40b
Bump dev (incl. eslint fixes) (#2502) 2020-04-01 21:31:36 +02:00
Jaco Greeff
82d53d1af3
useCallback in Extrinsic & Proposal components (#2501) 2020-04-01 16:23:00 +02:00
Jaco Greeff
9fde464c11
Bump dev, JSX prop rules (#2499) 2020-04-01 15:30:08 +02:00
Jaco Greeff
35f8b3f94a
Cleanup staker percentage (#2496) 2020-04-01 10:44:32 +02:00
Jaco Greeff
d2a4182e09
Chart background via plugin (#2495)
* Chart background via plugin

* Sort democracy
2020-04-01 10:00:28 +02:00
Jaco Greeff
f6e6bf76c2
Remove expander width: 100% (#2494)
* Remove expander width: 100%

* Show vote balance & conviction

* ReferendumVote component
2020-04-01 08:31:08 +02:00
Jaco Greeff
529e253d39
Revert "Add extra Input types to the UI (#2324)" (#2493)
This reverts commit 7a159976f4.
2020-04-01 07:35:11 +02:00
Jaco Greeff
cbe5e455ca
Explorer extrinsics with fixed table (#2492) 2020-03-31 20:42:46 +02:00
Jaco Greeff
ed9112dbcb
Bump deps (#2491) 2020-03-31 15:50:49 +02:00
Jaco Greeff
16f1d2de20
Rework explorer with events -> extrinsics (#2490)
* Rework explorer with events -> extrinsics

* Nonce adjust

* Adjust unsigned
2020-03-31 12:18:27 +02:00
Jaco Greeff
fd4ae0ae51
Small table layout cleanups (#2489) 2020-03-31 11:19:53 +02:00
Jaco Greeff
087a124b37
Adjust staking unlock/redeemable (#2487) 2020-03-30 18:44:20 +02:00
Jaco Greeff
2581d41470
Adjust bonding, unbonding & redeemable displays (#2486)
* Rework bonding amount layouts

* icon buttons

* Update redeem text
2020-03-30 16:17:40 +02:00
Jaco Greeff
703bcad246
Cleanup expander use (#2483) 2020-03-30 09:53:27 +02:00
Jaco Greeff
5dc1f908f4
Cleanups on explorer Forks (#2482)
* Cleanups on explorer Forks

* Small opts
2020-03-30 09:01:59 +02:00
Alexander Popiak
7a159976f4
Add extra Input types to the UI (#2324)
* fix typo

* WIP introduce float input

* remove si dropdown for float input

* assume floats to have si 1 billion

* use correct SI name and parse decimal

* fix linting issues

* remove VecDeque from Vector UI component mapping
2020-03-30 07:31:36 +02:00
Jaco Greeff
86e883b952
Adjust table (header) backgrounds (#2481)
* Adjust table (header) backgrounds

* Summary padding
2020-03-29 22:44:27 +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
c5d92546f7
Some small CSS adjustments (#2479) 2020-03-29 10:39:11 +02:00
Jaco Greeff
3dfaf17ca8
Combine status event types (#2478)
* Combine status event types

* Adjust some tables

* Adjust targets
2020-03-29 10:04:21 +02:00
Jaco Greeff
50cc0b809b
Small table styling adjustments (#2476)
* Small table styling adjustments

* border reverts
2020-03-28 22:52:41 +01:00
Jaco Greeff
5126dbff93
Rework table layouts (#2472)
* Rework table layouts

* Additional

* Additional

* Accounts & Contacts

* Cleanup alignment

* Mini links

* Ordering adjustments

* Empty indicators
2020-03-28 21:01:47 +01:00
Jaco Greeff
9f4d97839a
Some small UI adjustments (#2471) 2020-03-28 10:29:45 +01:00
Jaco Greeff
fad6571b8a
Adjust address displays in democracy (#2469)
* Adjust address displays in democracy

* Additional adjustments

* Some settings tweaks
2020-03-28 07:28:39 +01:00
Jaco Greeff
b4d0ff93a2
Bump API (dispatchQueue derive) (#2467)
* Bump API (dispatchQueue derive)

* with democracy.nextExternal
2020-03-27 21:26:23 +01:00
Jaco Greeff
cdd9b5bd56
Bump API (derived type naming updates) (#2465) 2020-03-27 16:05:20 +01:00
Jaco Greeff
e4c0cfd262
Exhaustive hooks (#2463)
* Exhaustive hooks

* selectUrl screw-up

* Adjust name badge

* Cleanup SideBar effects
2020-03-27 12:49:17 +01:00
Jaco Greeff
519b2f4848
Allow extension metadata update (#2458)
* Allow extension metadata update

* Counter + display

* add icon

* getSystemIcon import

* Upgrade with types & calls

* trigger displays

* Bumps

* Bump
2020-03-26 11:35:43 +01:00
Jaco Greeff
ae3839a39f
Additional React.memo exports (#2456)
* Additional React.memo exports

* rm app-transfer artifacts
2020-03-25 12:30:19 +01:00
Jaco Greeff
964eb7f571
Add contacts to Accounts, all-in-one (#2453)
* Add contacts to Accounts, all-in-one

* Vanity generator i18n

* yarn
2020-03-24 13:37:11 +01:00
Jaco Greeff
c3d8a0be0b
Expander with optional meta (#2452) 2020-03-24 11:35:28 +01:00
Jaco Greeff
ca6348ceaa
Add .address class to Table (top & padding) (#2451) 2020-03-24 10:30:23 +01:00
Jaco Greeff
83ac8a99af
Adjust row padding with primary addresses (#2449)
* Adjust row padding (accounts)

* Expander padding
2020-03-24 09:37:49 +01:00
Jaco Greeff
f309743b2f
Swap referendum pass/fail to Tag (#2448) 2020-03-24 08:27:15 +01:00
Jaco Greeff
76b16913c2
Cleanups for AccountName (#2446)
* Cleanus for AccountName

* Remove unused toggle prop

* Re-add toggle
2020-03-23 17:18:31 +01:00
Jaco Greeff
b9ebb3e175
Convert <details> to <Expander> (#2441) 2020-03-23 13:12:19 +01:00
Jaco Greeff
2d80f58a7d
Adjust staking/democracy summaries (#2440)
* Adjust staking/democracy summaries

* Bump API

* Swap some to Expander
2020-03-23 12:16:38 +01:00
Jaco Greeff
114966882a
Global API init indicator (#2438) 2020-03-23 08:47:26 +01:00
Jaco Greeff
fd9d83ff16
Bump API (#2437)
* Bump API

* empty adjustments
2020-03-22 19:14:11 +01:00
Jaco Greeff
22fd0e2db1
Add support for new democracy (#2432)
* Add support for new democracy

* Add missing VoteValue component

* Signer unlock autoFocus by default

* Bump deps
2020-03-22 11:59:11 +01:00
Jaco Greeff
977cf07566
Bump deps (#2429)
* Bump deps

* Revert secp bump
2020-03-21 12:45:35 +01:00
Jaco Greeff
6477f4686f
Bump API (retracted isWarning) (#2427) 2020-03-20 18:02:19 +01:00
Jaco Greeff
ac8ee10120
Update API to new jsonrpc structures (#2420) 2020-03-20 07:04:40 +01:00
Jaco Greeff
0cff9a324b
Re-add React.memo for linked inputs (#2407) 2020-03-18 10:17:20 +01:00
Jaco Greeff
aa0393ce68 Lint. 2020-03-17 14:13:22 +01:00
Jaco Greeff
6889183dfd Rollback Dropdown updates 2020-03-17 14:10:25 +01:00
Jaco Greeff
5e28be4c18
Convert react-query to React.memo (#2405) 2020-03-17 13:41:51 +01:00
Jaco Greeff
15c6b90b6a
Introduce React.memo for react-components (#2404)
* Introduce React.memo for react-components

* Api with memo

* Cleanup Dropdown

* Adjust toggle highlight

* Chart exports
2020-03-17 12:49:42 +01:00
Jaco Greeff
b21008af1a
Align comm percentage display (#2402) 2020-03-17 09:29:34 +01:00
Jaco Greeff
0895fdd208
Indicate council motion vote end (#2396)
* Indicate council motion vote end

* Remove row border highlight (distracting)
2020-03-16 12:24:42 +01:00
Jaco Greeff
22d387e824
Move contracts-only components to contracts (and fix from page imports) (#2392) 2020-03-16 09:41:42 +01:00
Jaco Greeff
e97868348b
React.memo-ize more func. components (#2389)
* React.memo-ize more func. components

* Rework status display determination

* isApiReady &&

* ApiSigner private class interface

* readonly #

* Remove isPrimary on council vote
2020-03-15 12:11:59 +01:00
Jaco Greeff
6530e49c3e
Add optional hash to external renders (#2328) 2020-03-15 12:10:21 +01:00
Jaco Greeff
2209078f5c
Adjust UI highlights based on chain/node color settings (#2384)
* Adjust app hightlights

* Default fallback
2020-03-14 08:49:50 +01: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
304dab95cc
Add React.memo to some components (#2375)
* Add React.emomo to some components

* Linting
2020-03-12 11:15:38 +01:00
Jaco Greeff
ac8c7cc410
Add global reward alert for payouts (#2370) 2020-03-11 17:30:01 +01:00
Jaco Greeff
1c8f74732a
Move identity icon overrides to apps-config (#2366)
* Move identity icon overrides to apps-config

* Rename to identityNodes
2020-03-11 06:59:28 +01:00
Jaco Greeff
42aaa0dcf5
Re-add validator queries (#2362)
* Re-add validator queries

* Bumps

* Pending only

* Remove unused
2020-03-10 13:53:48 +01:00
Jaco Greeff
3d80718fdd Add loading spinner 2020-03-09 23:32:28 +01:00
Jaco Greeff
4d1908ed4d Bump API 2020-03-09 19:23:39 +01:00
Jaco Greeff
77622225b4
Split chain logo/info away from SideBar (#2356) 2020-03-09 16:39:00 +01:00
Keith Ingram
e2fa9e6afb
Drag and drop types (#2346)
* Reorderable InputAddressMulti

* add types

* merge

* merge

* remove module

* Manually re-apply missing changes from master

* Add missing style (manual merge again)

* Re-add FIXME (src import, manual merge)

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-03-09 08:23:35 +01:00
Jaco Greeff
b34982fda5
Add headers to InputAddress list (#2345) 2020-03-08 20:14:40 +01:00
Jaco Greeff
514fe09774
Sort endpoints by type (#2344) 2020-03-08 18:52:30 +01:00
Jaco Greeff
95471f42c4
Rework rewards with new staking (#2338)
* Rework rewards with new staking

* Bump api

* Bump API

* Disable buttons on no controller
2020-03-08 15:07:33 +01:00
Keith Ingram
b43c7dc593
Reordering in InputAddressMulti (#2337)
* Reorderable InputAddressMulti

* Styling

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-03-08 08:50:28 +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
cde66e9556 favorites -> default highlight 2020-03-06 20:35:36 +01:00
Jaco Greeff
87910c435e
Per-chain color highlights (#2336)
* Color overrides

* Adjust

* Keep at default colors (for the time being)

* Swap color to top
2020-03-06 19:18:10 +01:00
Jaco Greeff
6a9bfd4b31
Claim staking rewards (#2332)
* Claim staking rewards

* setHasUnclaimedRewards

* Staking payouts are batched

* Rework signing dialog with summary

* Remove isFull on password

* Highlight important bits

* Bump api

* Bump

* Direct payout click

* Fix build
2020-03-05 21:53:57 +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
Keith Ingram
3afceac9d1
Parachains app (#2308)
* parachains app

* fin

* fin

* rec changes

* Fix sudo lookup

* sudoKey is already a string

* fix CI

* Fix build, re-gen i18n

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-03-02 08:48:29 +01:00
Jaco Greeff
e5f611952d
Pull logos into repo ()easier to update externally (#2320)
* Pull logos into repo

* Bumps
2020-03-01 23:14:06 +01:00
Keith Ingram
1c8e504457
TxButton to functional (#2314)
* TxButton to functional

* bug fix

* Small moves

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-03-01 18:55:54 +01:00
Jaco Greeff
50eb7d83f0
Centralize all injected config (easier PR-able) (#2317)
* Centralize all injected config (easier PR-able)

* Extract logos into .config

* .config -> all-config
2020-03-01 14:29:21 +01:00
Jaco Greeff
a65aa97b5f
Support multiple explorers (#2316)
* Support multiple explorers

* LinkExplorer -> LinkExternal

* Add externals to council, treasury & democracy
2020-03-01 13:29:58 +01:00
Jaco Greeff
12f39673bf
Allow empty type reg (#2313) 2020-02-28 21:29:07 +01:00
Jaco Greeff
8d812116b7
Minor AddressName cleanups (#2302)
* Minor AddressName cleanups

* Split Judgement modal

* Re-add undefined
2020-02-25 17:18:10 +01:00
Jaco Greeff
e161518b9d
Add Centrifuge logo (#2293)
* Add Centrifuge logo

* png.d.ts

* Bump ui libs

* Adjust sidebar by 1 shade
2020-02-19 22:03:07 +01:00
Jaco Greeff
a77cc5805b
Adjust ChainImg (node renames) (#2287)
* Adjust ChainImg (node renames)

* Bumps
2020-02-18 21:51:19 +01:00
Jaco Greeff
64061d44d4
Egdeware logo fix (#2281) 2020-02-17 17:41:03 +01:00
Jaco Greeff
e1725e3ebb
Bump API (#2278)
* Bump API

* Adjust status colors

* Add missing types (change status colors)
2020-02-14 16:57:54 +01:00
Jaco Greeff
447bfaea77
Update Polkascan links for Kusama (#2266) 2020-02-11 16:00:25 +01:00
Jaco Greeff
8fabef3a47
Fix Tooltip component for server side rendering (#2265)
Co-authored-by: Mell <oleh.melnechyk@gmail.com>
2020-02-11 15:35:20 +01:00
Jaco Greeff
7b94f3f4f3 Skip indices rendering when not available (#2254) 2020-02-08 12:54:34 +01:00
Jaco Greeff
003deed845
Don't make unavailable apps crash the full app (#2251) 2020-02-07 10:58:37 +01:00
Jaco Greeff
7423ca9984
Exapnd locks (& display all) (#2245) 2020-02-06 13:09:36 +01:00
Jaco Greeff
8b69b54346
Bump deps (#2232)
* Bump deps

* Update types
2020-02-04 15:09:21 +01:00
Jaco Greeff
efd0e727d1
Bump API (#2224)
* Bump API

* Type adjustments

* Update zero const
2020-02-02 11:03:20 +01:00
Jaco Greeff
5d9161d6df
0.39 (#2220)
* 0.39

* Linting
2020-01-31 16:52:38 +01:00
Marcin Żółkiewski
be7e293d28
Expose signed transactions (#2203)
* sign offline WIP

* signing transactions from extrinsics screen

* signing tx from accounts screen

* added translations

* removed unnecessary value

* removed console logs

* removed unused import

* used new signAsync method

* fixed types

* removed unused imports

* added missing translations

* code review changes

* fixed signing with local account

* added sign toggle

* improvements for QR
2020-01-31 16:13:56 +01:00
Jaco Greeff
7cd65b0298
Adjust summary balance displays (#2215) 2020-01-28 22:59:00 +01:00
Jaco Greeff
5cab16d1f0
Society vouching (#2204)
* Society vouching

* Bump API, decode votes

* Inline count

* Remove unused style
2020-01-28 10:13:44 +01:00
Jaco Greeff
196dbcbaff
AddressMulti -> InputAddressMulti (#2195) 2020-01-24 15:23:56 +01:00
Jaco Greeff
9001400ef0
TxButton withSpinner swap (#2194)
* TxButton withSpinner swap

* TxModal onClick -> onStart (in modal)
2020-01-24 15:19:49 +01:00
Jaco Greeff
52a2aa275a
Add preimage buttons to proposals (#2192)
* Add preimage buttons to proposals

* Styling overrides

* InputAddress filter
2020-01-24 13:34:38 +01:00
Jaco Greeff
0aef5f3b72
Signer unlock password indicator (#2190)
* Signer unlock password indicator

* Combine UnlockError in Unlock
2020-01-24 11:50:26 +01:00
Jaco Greeff
d0ed2897cb
Add Westend, externalize endpoints (#2171)
* Add Westend, externalize endpoints

* Update scanner with all current namespaces

* WebEnd type overrides

* Westend link to Polkascan
2020-01-24 11:14:45 +01:00
Jaco Greeff
63d22395ca
Social account recovery (#2187)
* Social account recovery ... start

* Dialogs with send buttons

* TxButton icons (before I forget)

* Recovery start

* withSpinner
2020-01-24 10:52:06 +01:00
Jaco Greeff
58e3dab9bc
Allow sorting of staking returns (#2183) 2020-01-23 15:41:15 +01:00
Jaco Greeff
09e974b777
Handle DispatchError failures gracefully (#2182)
* Handle DispatchError failures gracefully

* Also allow queue display failures
2020-01-23 13:52:18 +01:00
Jaco Greeff
9905927862
Swap council voting from TxModal (#2141)
* Swap council voting from TxModal

* Cleanup toggles

* Apply account filters

* useCouncilMembers

* Pass filter through to Propose

* Linting
2020-01-23 12:22:10 +01:00
Jaco Greeff
77256b24e3
Fully split active/inactive nominations (#2169) 2020-01-22 16:05:16 +01:00
Jaco Greeff
9771dc1644
Remove last css files (all styled-components) (#2168)
* Additional css -> styled

* Apps class prefix renames

* Remove last css files

* Cleanup linked wrapper
2020-01-22 12:36:10 +01:00
Jaco Greeff
edc9eddf33
Cleanup AccountName display (#2166) 2020-01-22 09:37:28 +01:00
Jaco Greeff
1d5a756b69
Auto-add Button.Group inside Modal.Actions (#2165)
* Auto-add Button.Group inside Modal.Actions

* Pass onCancel prop through to Modal.Actions

* Cancel rendering in contracts
2020-01-21 17:34:34 +01:00
Jaco Greeff
8e971ef7eb
Use ButtonCancel for all Cancel-only buttons (#2164)
* Use ButtonCancel for all Cancel-only buttons

* Small cleanups
2020-01-21 15:47:44 +01:00
Jaco Greeff
378443da2d
Allow Qr scanning with name (#2163) 2020-01-21 15:20:30 +01:00
Jaco Greeff
79de1162ea
useTranslation Suspense fallback (#2158)
* useTranslation Suspense fallback

* import path

* Some small useTranslation conversions
2020-01-20 17:20:04 +01:00
Jaco Greeff
18af907070
Set Modal default to open (#2157) 2020-01-20 15:30:25 +01:00
Jaco Greeff
aed8df37a3
Society app (#2148)
* Society app

* useCheck

* Summary

* Updates

* Bump API with society

* Bump API (fixed publish)
2020-01-19 23:05:02 +01:00
Jaco Greeff
1f66137044
Remove snippet sharing (#2138) 2020-01-17 11:11:39 +01:00
Jaco Greeff
2ea6dd0af3
Display decoded ExtrinsicFailed errors (#2137)
* Display decoded ExtrinsicFailed errors

* Revert debug log

* Bump API (error lookup)
2020-01-16 15:21:02 +01:00
Jaco Greeff
8861a57645
Additional useTranslation usage (#2133) 2020-01-16 12:33:37 +01:00
Jaco Greeff
21b439a31e
Add judgement waiting (#2134) 2020-01-16 11:53:50 +01:00
Jaco Greeff
42993c9bdf
Cache pernt/child display parts (#2117) 2020-01-14 13:53:22 +01:00