Commit Graph

1071 Commits

Author SHA1 Message Date
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
Jaco Greeff
444c6802ea
Adjust AccountName icon alignments (#3137)
* Adjust AccountName icon alignments

* Simplify

* 1px for whatever reason

* EditButton sizing fix
2020-07-07 14:28:26 +02:00
Jaco Greeff
a374510c4d
Handlers for OpaqueCall input/display types (#3135)
* Handlers for OpaqueCall input/display types

* Simplify disabled OpaqueCall
2020-07-07 09:30:24 +02:00
Jaco Greeff
ca5a5a95c1
Indicate own nominees on targets (#3133)
* Indicate own nominees on targets

* icon prop to Badge

* AddressName cachin cleanups
2020-07-07 07:55:54 +02:00
Jaco Greeff
abbcb941a2
Adjust known account icons (treasury, society) (#3129) 2020-07-05 18:55:52 +02:00
Thibaut Sardan
3b08bfbb4e
forgot this before (#3121) 2020-07-04 11:22:58 +02:00
Thibaut Sardan
b48d859604
Pull Dropdown into its own conviction component (#3119)
* add conviction dropdown

* number not string
2020-07-03 14:19:33 +02:00
Jaco Greeff
e8030005b7
Fix InputAddress lastValue (#3112) 2020-07-03 07:18:50 +02:00
Thibaut Sardan
4938edc0c4
Show unbonding value in staking account actions (#3098)
* use the right prop

* rename to stakingInfo for consistancy
2020-06-30 18:05:59 +02:00
Jaco Greeff
6a393256a4
Bump API, cater for new OpenTip structure (#3096)
* Bump API, cater for new OpenTip structure

* Simplify assignment

* Cleanups after latest typescript-eslint breakages

* More...

* Last-ish round
2020-06-30 13:43:06 +02:00
Jaco Greeff
7c68d68339
Group democracy locks (#3093)
* Group democracy locks

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

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

* Check for state changes before setting

Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
2020-06-30 07:48:42 +02:00
Jaco Greeff
d24d2882e4
Don't allow re-{validate, nominate} with active 0 (#3080) 2020-06-28 21:23:33 +02:00
Jaco Greeff
e34fa8f741
Add vesting claims (#3079)
* Add vesting claims

* Bump API
2020-06-28 16:35:38 +02:00
Jaco Greeff
e5e46accf6
Cleanup account menus (#3076) 2020-06-28 14:05:35 +02:00
Jaco Greeff
cb9abbdabb
Adjust asteriks layouts (#3068) 2020-06-27 15:11:01 +02:00
Jaco Greeff
029a4d85b0
Simplify IdentityIcon (#3065) 2020-06-27 13:24:26 +02:00
Jaco Greeff
7b9fec292c
Rework tags dependencies (#3063)
* Rework tags dependencies

* Remove size param
2020-06-27 12:38:48 +02:00
Jaco Greeff
97bbf311e3
Simplify AccountName caching (#3057) 2020-06-26 18:52:52 +02:00
Jaco Greeff
cb0aa838f8
Small optimizations (#3053)
* Small optimizations

* Additional tooltip
2020-06-25 22:19:10 +02:00
Jaco Greeff
01c020f62a
Cleanup label help (#3052) 2020-06-25 17:38:22 +02:00
Jaco Greeff
b78cc3fa2f
Adjust button rounding (#3051)
* Adjust button rounding

* ReferendumInfo icon
2020-06-25 15:34:35 +02:00
Jaco Greeff
5d7f07eca5
Small icon adjustments (#3050) 2020-06-25 14:50:19 +02:00
Jaco Greeff
97150f82c2
Cleanup peer deps (#3048)
* Cleanup peer deps

* Fix spinner size
2020-06-25 12:53:48 +02:00
Jaco Greeff
9d7027d236
Swap to fa spinner (#3047) 2020-06-25 11:50:07 +02:00
Jaco Greeff
ede19891e1
Swap Icon to FAIcon wrapper (#3046)
* Swap Icon to FAIcon wrapper

* Small tweaks
2020-06-25 11:00:36 +02:00
Jaco Greeff
a9d91cd1c3
Max-height to ui--output with scroll (#3042) 2020-06-24 16:53:44 +02:00
Jaco Greeff
364d3b9071
Allow entries() on map/doublemap (#3039) 2020-06-24 15:38:19 +02:00
Jaco Greeff
7289f02c81
Align staking status icons (#3027)
* Align staking status icons

* No content
2020-06-22 14:00:34 +02:00
Jaco Greeff
176c7e9e8b
API bumps & small block display adjustment (#3025)
* API bumps & small block display adjustment

* Adjust for new multisig metadata

* Staking table badge class
2020-06-22 12:10:56 +02:00
Jaco Greeff
410d0dd092
Fix Badge min-width (isSmall) (#3024)
* Fix Badge min-width (isSmall)

* Move sidebar balances to top
2020-06-22 09:54:22 +02:00
Jaco Greeff
de370cfde6
Adjust AddressMini with media (#3020)
* Adjust AddressMini with media

* Payout tables
2020-06-21 21:15:34 +02:00
Jaco Greeff
5bae454865
Media adjustments with AddressSmall (#3019)
* Media adjustments with AddressSmall

* Update packages/page-staking/src/Targets/Validator.tsx
2020-06-21 18:30:48 +02:00
Jaco Greeff
38704a5029
Display referendum voting status (#3016) 2020-06-21 11:10:41 +02:00
Jaco Greeff
f425edbceb
Shared staking filtering (#3009) 2020-06-20 22:24:16 +02:00
Jaco Greeff
d30b88b7f4
Adjust staking targets/overview sorting displays (#2999)
* Adjust staking targets/overview sorting displays

* Removce whack eslint bug comment
2020-06-20 14:02:42 +02:00
Jaco Greeff
e775b350af
Revert spinner margin adjustments (#2996)
* Revert spinner marging adjustments

* Remove extra div
2020-06-20 08:52:39 +02:00
Jaco Greeff
0f18e88022
Introduce signer busy (QR dupes) (#2994) 2020-06-20 08:23:42 +02:00
Jaco Greeff
1ee06b7c82
Improve status display via context (#2992) 2020-06-19 17:45:20 +02:00
Jaco Greeff
16eaca36f6
Suggest max values in bonding (leaving existential) (#2985) 2020-06-19 11:48:57 +02:00
Jaco Greeff
5460da3a48
Extend fund bonding warnings (#2980)
* Extend fund bonding warnings

* Fix warning display
2020-06-18 14:28:16 +02:00
Jaco Greeff
519af249f3
Disable QR seed import on IPFS (#2979) 2020-06-18 12:52:23 +02:00
Jaco Greeff
18bd0a6472
Bubble API extrinsic construction errors in extrinsics app (#2978)
* Display API extrinsic construction errors

* CHANGELOG
2020-06-18 09:03:24 +02:00
Jaco Greeff
a49093962e
Add i18n apply button (#2968) 2020-06-16 16:14:38 +02:00
Jaco Greeff
9da6b40024
Add proxied accounts, fix multisig cancel (#2958)
* Add proxied accounts, fix multisig cancel

* Multi toggle hides input

* Modal description
2020-06-15 15:51:55 +02:00
Jaco Greeff
fc5e75f01e
Alert for multisig approvals (#2953)
* Alert for multisig approvals

* Trigger on multisig events

* Allow display/submission of call data
2020-06-15 09:23:40 +02:00
Jaco Greeff
601ae6da08
Toss creaky signer Modal, revamp (#2933)
* Toss creaky signer Modal, revamp

* WIP

* WIP

* WIP

* WIP

* Basics seem working

* Adjust layout

* WIP

* Cleanups for unsigned

* Unsigned

* Start at signing-only

* Signing should be ok

* Signing operational

* Remove old modal

* Update packages/react-signer/src/Modal/TxSigned.tsx

* JS app integration

* Small styling adjustments

* Prelim proxy support

* Proxy on/off switch

* isProxyActive

* Multi + Proxy ordering (& testing)

* Proxy with multisig

* Remove debug logs

* Qr with 2 column layout

* Padding adjustments

* Cleanups

* Cleanup PaymentInfo

* Generic asset cleanup

* flatten

* Don't save latest values when filter is active
2020-06-14 18:59:22 +02:00
Jaco Greeff
15260c7369
Bump deps (UI & API) (#2946)
* Bump deps (UI & API)

* Adapt for new QR interface

* QueryableStorageEntry<'promise'>

* API bump
2020-06-13 00:11:19 +02:00
Jaco Greeff
3bbf2ab3be
Adjust external table links (collapse if none) (#2932) 2020-06-11 09:54:56 +02:00
Jaco Greeff
f44345dbd6
Disabled buttons in tables (#2926) 2020-06-10 20:06:26 +02:00
Jaco Greeff
63139f1519
0.44 (#2917) 2020-06-10 11:34:11 +02:00
Jaco Greeff
a9c1b08441
Withdraw with slashing spans (#2918)
* Withdraw with slashing spans

* prior length
2020-06-10 11:19:33 +02:00
Jaco Greeff
349a503b28
Button styling in tables (incl. spacing) (#2914) 2020-06-10 08:41:51 +02:00
Jaco Greeff
4b243c9ae9 Slight table css adjustments 2020-06-09 20:35:43 +02:00
Keith Ingram
2081464de8
Rewrite & update to page-contracts (#2873)
* first commit

* finish

* InputMegaGas, use BN consts'

* update util'

* tags issue

* manifest

* import bn_zero

* rm

* restore contract tags

* fix tags onClose

* sec to ms

* ms -> sec

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-06-09 14:56:10 +02:00
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
Jaco Greeff
f7630e2641
API 1.0-beta & common 2.0-beta (#2115)
* API 1.0-beta & common 2.0-beta

* May fix effect issue
2020-01-14 11:05:55 +01:00
Jaco Greeff
0113c2db08
Adjust sub name display (#2113) 2020-01-13 17:48:07 +01:00
Jaco Greeff
4362181e64
Staking filter (name, address) (#2110)
* Staking filter (name, address)

* Dislay parent & sub

* Formatting
2020-01-13 14:35:45 +01:00
Jaco Greeff
de39bbe297
Additional useTranslation conversions (#2109)
* Additional useTranslation conversions

* quotes

* Bumps

* Cleanup params wit overrides
2020-01-13 13:12:03 +01:00
Jaco Greeff
e8dd9ab706
Display sub identities (#2107) 2020-01-12 15:28:52 +01:00
Jaco Greeff
0edd30be4b
Lowercase filter (#2103)
* Lowercase filter

* Keep AccountId/AccountIndex mixed-case check

* Remove (unused) translation
2020-01-10 11:18:35 +01:00
Jaco Greeff
560048a0cd
Filter accounts/addresses by tag or name (#2102)
* Filter accounts/addresses by tag or name

* Filter identity names (as available)

* Adjust filter input label
2020-01-09 17:54:22 +01:00
Jaco Greeff
1edab85522
Some useTranslation updates (#2097)
* Some useTranslation updates

* AccountName caching
2020-01-09 14:51:58 +01:00
Jaco Greeff
0f1aa3a45b
Minor overflow adjustments (#2095)
* Minor overflow adjustments

* Default names to uppercase

* s/normal/none/

* isAddress check for text formatting

* Adjust caching with isAddress info

* Overflow to bottom
2020-01-07 16:12:20 +01:00
Jaco Greeff
562e11dc06
Bump deps (#2091) 2020-01-06 16:16:50 +01:00
Jaco Greeff
b83f87c2f9
Disable spellcheck on input fields (#2090) 2020-01-06 12:26:18 +01:00
Jaco Greeff
070fe59f5f Revert opacity adjustment 2019-12-20 13:00:48 +01:00
Jaco Greeff
a4ce84339e
Cleanup display from identity (#2081)
* Cleanup display from identity

* Bump API
2019-12-20 12:44:34 +01:00
Jaco Greeff
239eeeaa84
Grayscale identity (#2079) 2019-12-19 13:43:14 +01:00
Jaco Greeff
08adfbc43f
Provide judgement via account hover (#2078)
* Provide judgement via account hover

* Click to provide judgement
2019-12-19 13:08:21 +01:00
Jaco Greeff
dbad609e27
Display all identity info on hover (#2077)
* Display all identity info on hover

* Bump API

* displayName linting
2019-12-19 12:03:38 +01:00
Jaco Greeff
15bd35fd90
Add useTranslation for all apps (#2076) 2019-12-19 11:08:21 +01:00
Jaco Greeff
a441dc3a9f
Hide council voting when not a member (#2071)
* Hide council voting when not a member

* Disable instead of hide
2019-12-18 13:20:45 +01:00
Jaco Greeff
0645299933
Fix Identicon on-not-connected (#2070) 2019-12-18 12:36:26 +01:00
Jaco Greeff
aaf9757a96
(tiny) Badge styling updates (#2067) 2019-12-17 17:19:42 +01:00
Jaco Greeff
6adb79684c
Styling tweaks (#2066)
* Styling tweaks

* Linting
2019-12-17 16:07:30 +01:00
Jaco Greeff
1a8f7e2727
Use lookup accountId for IdentiIcon display (#2065) 2019-12-17 14:26:23 +01:00
Jaco Greeff
adf1c1c800
Identity judgements (#2064)
* Display identity judgements

* Small badge alignment adjustment

* Linting

* Check namaes against lowercase
2019-12-17 13:40:39 +01:00
Jaco Greeff
ebcc70f19b
Add expanded tooltip to per-account breakdown (#2063) 2019-12-17 11:53:03 +01:00
Jaco Greeff
717c80b665
Display identity names, set identity modal (#2054)
* Display identity names, set identity modal

* Update AddressRow types

* useToggle in accounts modal
2019-12-15 13:22:46 +01:00
Jaco Greeff
74dbf64808
Add useIsMountedRef hook (#2041)
* Add useIsMountedRef hook

* Use mounted ref on async operations (staking)

* Rework historic caching

* linting
2019-12-13 17:22:14 +01:00
Jaco Greeff
6c58db0187
Small cleanups on withCalls (#2040)
* Fixups

* More

* Some withCalls -> useCall

* Linting

* Always defined

* Re-apply democracy changes

* TimePeriod adjusted

* Cleanup imports

* Additional

* More conversions

* Small loading cleanups

* Small context updates
2019-12-13 15:55:15 +01:00
Jaco Greeff
6dab5e1295
Rollback latest (something went wrong) (#2039)
* Revert "[CI Skip]  0.38.0-beta.64"

This reverts commit 632c224df4.

* Revert "Apply useToggle as appropriate (#2036)"

This reverts commit 62f74422f2.

* Revert "[CI Skip]  0.38.0-beta.63"

This reverts commit 635f61637c.

* Revert "Small updates for V2 democracy (#2038)"

This reverts commit 32db955f8c.

* Revert last bumps
2019-12-13 11:25:50 +01:00
Jaco Greeff
62f74422f2
Apply useToggle as appropriate (#2036)
* Apply useToggle as appropriate

* Update inset
2019-12-13 10:05:54 +01:00
Jaco Greeff
24526345dc
Rework staking accounts layout (#2031)
* Rework staking accounts layout

* Optimize sort, simple substract

* Unneeded ?.

* Remove AddressCard

* Bump API
2019-12-11 18:37:57 +01:00
Jaco Greeff
ef388226b8
Add multi-address selection component (#2028) 2019-12-10 16:20:14 +01:00
Jaco Greeff
406a505871
Add ErrorBoundary component (#2026)
* Add ErrorBoundary component

* Decode call via effect

* Cleanups
2019-12-10 11:30:40 +01:00
Jaco Greeff
2f899cef4d
Add header prop on Modal (#2025)
* Add header prop on Modal

* Bump API, fixed electionsPhragmen

* s/HEADER/header/
2019-12-09 23:35:12 +01:00
Jaco Greeff
dafea25972
Allow voting on treasury page (#2019)
* Allow voting on treasury page

* More re-usable voting components (a start)

* Ficup imports

* Adjust modals

* Bump API
2019-12-09 17:54:57 +01:00
Jaco Greeff
e9a45f8dde
More effcicient derive for staking info (#2017) 2019-12-09 11:37:39 +01:00
Jaco Greeff
443bd6b494
Adjust treasury layout (#2011)
* Treasury layout

* Adjust viewport for mobile
2019-12-08 12:31:13 +01:00
Jaco Greeff
4cc58bf683 Some light tag sorting 2019-12-06 16:40:49 +01:00
Jaco Greeff
ee83086c4a
Rework address & accounts layout (#2008)
* Display accounts as rows

* Tags display

* Accounts seem ok (as a start)

* Filter by tags

* Don't add new tags via input

* Convert addresses

* Adjustments
2019-12-06 14:01:58 +01:00
Jaco Greeff
cf32e931ab
Revert _000 (Babel seem to have issues in dev) (#2002) 2019-12-05 14:10:18 +01:00
Jaco Greeff
c0b9451b78
Bump deps (#2001)
* Bump deps

* Rewrite
2019-12-05 13:18:38 +01:00
Jaco Greeff
a9baa96e87
Show democracy dispatch queue (#1997)
* Show democracy dispatch queue

* Bump API
2019-12-04 16:07:13 +01:00
Keith Ingram
a69bdfeef1 Propose tech committee motions (#1996)
* Propose tech committe motions

* bug, ignore .vscode

* linting

* Some cleanups

* Move Propose back
2019-12-04 12:22:19 +01:00
Jaco Greeff
4a3ff60dc2
Satking account layout changes (#1994) 2019-12-03 17:38:03 +01:00
Jaco Greeff
64ee39712e Table summary overflow 2019-12-03 12:20:28 +01:00
Jaco Greeff
2303a75aa3
Remove TxButton assert (#1988)
* Remove TxButton assert

* Linting
2019-12-03 00:31:31 +01:00
Keith Ingram
9bc6194265
Replace TxComponent and TxModal (base) (#1951)
* essentials

* cleanup

* versions

* rv file

* useForm function refs

* restore button ref

* adjust TxModalNew

* refactor

* useTx

* arg

* rework

* linting

* restore changed comps
2019-12-02 13:42:49 -08:00
Jaco Greeff
4f40a5bc5e
Remove broken tooltip expand (#1984)
* Remove tooltip click

* Tooltip click
2019-12-02 21:28:15 +01:00
Jaco Greeff
2eb21c938f
Layout changes for motions (#1983) 2019-12-02 21:01:35 +01:00
Jaco Greeff
2175a11e24
Proposal counters (#1982) 2019-12-02 19:41:43 +01:00
Jaco Greeff
9aeec2ab1d AddressMini withShrink 2019-12-02 14:04:08 +01:00
Jaco Greeff
ffbea9788c
Democracy display updates (#1974)
* Democracy updates

* Democracy UI cleanups

* Cleanup labels

* Move seconding, again...
2019-12-02 13:51:29 +01:00
Jaco Greeff
b05a01ce10
Support democracy with preimages (#1973)
* Add derive.democracy.proposals

* Preimage button

* Preimages work

* Allow Proposals, display referendums

* Update with height/width hack

* Bump deps
2019-12-02 10:51:21 +01:00
Jaco Greeff
6ea09e67d3
Rework staking lists, more info per page (#1972)
* Rework staking lists, more info per page

* Progress

* Thin cards as table rows

* Adjust label opacity

* Adj.
2019-12-01 15:47:16 +01:00
Jaco Greeff
91ee22b9be
Move seconding (#1968) 2019-11-30 16:50:56 +01:00
Jaco Greeff
c0401aefe3
Rework dropdown changes (#1964) 2019-11-30 16:10:06 +01:00
Jaco Greeff
f40af492d0
Apply locks per genesis range (#1962)
* Apply locks per genesis range

* Calc locks up-front
2019-11-29 11:18:54 +01:00
Jaco Greeff
f6976e1e49
Update ValidatorPrefs with commission (#1959)
* Update ValidatorPrefs with commission

* Bump API
2019-11-28 17:44:50 +01:00
Jaco Greeff
d36301810a
CC3 (#1955)
* CC3

* Bump API with type injection
2019-11-27 22:27:22 +01:00
Jaco Greeff
d842113151
Support v9 metadata (#1934)
* Support v9 metadata

* Cleanup key expansion

* Add isIterable

* Bump API (with V9)

* Bump common
2019-11-27 20:10:01 +01:00
Jaco Greeff
5a858fa1bd
Rework status name display (#1949)
* Rework status name display

* Fix props
2019-11-26 15:17:00 +01:00
Jaco Greeff
7a14adeee2
Check for controller availability (unlock) (#1940) 2019-11-25 13:13:26 +01:00
Jaco Greeff
533c8a72d8
Bump API, fixup storage types (#1933) 2019-11-23 23:03:48 +01:00
Luke Sugiura
35c85d8d35 Enable language setting options (#1919)
* translate settings page into Japanese

* enable language setting
2019-11-21 17:10:37 +01:00
Jaco Greeff
e1464b85f9
Adjust with API with explicit registry (#1922)
* Update for latest API (explicit registry)

* Edgeware adjusted types

* Bump API
2019-11-21 17:04:54 +01:00
Jaco Greeff
a95d7a4b8e
Bump API (#1911)
* Bump API

* Session keys cleanup
2019-11-19 14:39:54 +01:00
Jaco Greeff
c337e4dacb
Show rotate keys (as available) (#1906) 2019-11-18 16:44:37 +01:00
Jaco Greeff
c3e16ac040
s/useApiContext/useApi/ (#1900) 2019-11-16 20:21:46 +01:00
Jaco Greeff
e0acd15b43
useAccounts hook (#1898)
* useAccounts hook

* Drop some withRouter

* Add setImmediate to trackStream

* Combine unsubscribe into subscribe

* Use before define

* Ass trackPromise

* Cleanup mapping for params

* Addressbook display
2019-11-16 10:13:07 +01:00
Jaco Greeff
032f46cc2d
Popup menu expansion for account/address (#1896)
* Popup menu expansion for account/address

* Add chain locking to settings

* Swap top tag location
2019-11-15 20:59:06 +01:00
Jaco Greeff
c167227845
Add useApiContext (#1890)
* Add useApiContext

* Add missing withApiContext import

* useCacheKey, rename headers

* Adjustment on sessionRewards naming

* Renames based on defacto standards
2019-11-15 10:51:12 +01:00
Jaco Greeff
2663a4259c
Bump API, display vested (#1883)
* Bump API, display vested

* Add isVesting to constants
2019-11-14 18:52:01 +01:00
Jaco Greeff
39dcdca190
Staker breakdown graph (#1882) 2019-11-14 14:35:49 +01:00
Jaco Greeff
be039f9d5a
Fix InputBalance default display (#1880) 2019-11-14 11:44:40 +01:00
Jaco Greeff
918822f48a
Auto-populate Vote balance (#1879)
* Auto-populate Vote balance

* Commenting
2019-11-14 10:44:15 +01:00
Jaco Greeff
84f6c00829
Add elected stake (#1874) 2019-11-12 20:38:15 +01:00
Jaco Greeff
03158fb594
Add useFavorites hook (incl. react-hooks package) (#1873)
* Add useFavorites hook

* useFavorites to Nominate

* Fix filter: grayscale positioning
2019-11-12 18:32:52 +01:00
Jaco Greeff
e7e4efebeb
Enable validator overview (#1872)
* Enable validator overview

* CallDiv indicator for consts
2019-11-12 14:39:38 +01:00
Keith Ingram
7e65066d18 Functional InputNumber with fixed bugs (#1820)
* Functional InputNumber

* linting

* linting

* remove max button

* linting

* linting

* version

* version

* combine values

* fix

* Re-enable SI dropdown

* KSM  formats

* Formatting tweaks

* Mini fixes

* Adjust postfix opacity

* Linting

* More linting

* Remove unneeded list override

* Misc small adjustments

* Vertical alignment
2019-11-12 12:00:44 +01:00
Jaco Greeff
2b9dd5baa9
Blocks per session graph (hidden) (#1871) 2019-11-12 09:58:16 +01:00
Jaco Greeff
5ec79faa4a
Add fav & current as nominations (#1869)
* Add fav & current as nominations

* Toggle nominee at end

* Selection icons for council
2019-11-11 23:35:00 +01:00
Jaco Greeff
081c25a837
Enable pointer events for InputAddress (#1858) 2019-11-08 12:12:39 +01:00
Jaco Greeff
d71886034c
Icon in events display (#1857) 2019-11-08 11:37:25 +01:00
Jaco Greeff
ce3bb182ad
Strengten identicon checks (#1856) 2019-11-08 11:20:19 +01:00
Jaco Greeff
1874bee019
Only highlight stashes (not controllers) (#1854) 2019-11-08 10:58:41 +01:00
Jaco Greeff
a7404079cb
Bump deps (#1849) 2019-11-07 00:25:40 +01:00
Jaco Greeff
7048a65c3d
Derive from root account (#1847)
* Derive from root account

* Unlock... testing through

* Seems ok, still needs metadata

* ... and it works.
2019-11-06 19:30:24 +01:00
Keith Ingram
dd300c4431
Fix contract bug & improvements (#1845)
* constructor index bug

* Contract fixes

* lint

* console

* console
2019-11-05 21:23:44 +01:00
Jaco Greeff
b847268bd6
Add voting balance display (#1843)
* Add voting balance display

* Linting

* Naming
2019-11-04 23:05:32 +01:00
Jaco Greeff
6610275ee6
Bump with API (#1840) 2019-11-04 00:06:09 +01:00
Jaco Greeff
d05eb94052
Add Expanded component (#1834) 2019-11-03 10:50:15 +01:00
Jaco Greeff
e3bca04936
Staking RPC & UI optimizations (#1833)
* Staking query optimization

* Final roundup

* Bump API with new derive  interfaces
2019-11-02 23:54:23 +01:00
Jaco Greeff
65fae72921
s/available/transferrable/ (#1827)
* s/available/transferrable/

* Add missing DerivedBalances fields
2019-11-01 17:45:43 +01:00
Jaco Greeff
f415732fe7
Check freeBalance with bondExtra, not availableBalance (#1825) 2019-11-01 15:19:44 +01:00
Jaco Greeff
f1b96c7a52
Update API (shared sub improvements) (#1824) 2019-11-01 14:53:46 +01:00
Keith Ingram
c2543ae9b2
Contract.call RPC interface with return type (#1780)
* contracts api + rpc

* finalized

* tweak

* api bump

* linting
2019-10-31 20:45:31 +02:00
Jaco Greeff
c8c0a1d9c3
Staking display query opt. (#1819)
* Cleanup staking balance rendering

* Nominator details only on onClick

* Fix V1 display

* default for withNominations
2019-10-31 16:16:04 +01:00
Jaco Greeff
73e6d49a9a
Swap derive idAndIndex to info only (#1817) 2019-10-31 11:29:17 +01:00
Jaco Greeff
df095c2829
Staking updates (#1815)
* Staking updates

* Bump API

* So currentElected first in next up

* Linting

* Remove unused state entries
2019-10-30 15:53:52 +01:00
Jaco Greeff
3c5bee6dcf
Era points (#1811) 2019-10-29 21:34:26 +01:00
Jaco Greeff
3b8a763a3e
Display heartbeats via state (#1806)
* Display heartbeats via state

* Bump deps with API support

* Update sigs

* More linting
2019-10-29 12:48:33 +01:00
Jaco Greeff
6596f4eda4
Fix input addr crash (#1799) 2019-10-29 08:32:04 +01:00
Jaco Greeff
8b8b69caba
Addresses in nominate (#1794)
* Addresses in nominate

* Align uppercase
2019-10-28 21:29:09 +01:00
Jaco Greeff
420343224d
Lookup nicknames (#1793) 2019-10-28 20:48:53 +01:00
Jaco Greeff
c6beca5a4c
Update council candidate refresh (#1790)
* Display council voters

* Show voting stake

* Adjust AddressMini widths

* Swap to (mostly) AccountIndex display

* Create modals (no default opacity)

* Trigger PR build
2019-10-28 16:24:34 +01:00
Jaco Greeff
b18a8e7e98
Display council voters (#1787)
* Display council voters

* Show voting stake

* Adjust AddressMini widths
2019-10-28 12:43:50 +01:00
Jaco Greeff
5c380308ec
Display locked amounts (#1784) 2019-10-28 11:26:52 +01:00
Jaco Greeff
8c0c870d04
Nicknames & term progress (#1772)
* Nicknames & term progress

* Add reserved display

* Hide reserved on 0
2019-10-27 14:42:35 +01:00
kwingram25
1dc4e0e967 Contract call interface using RPC for non-mutating messages (#1745)
* start

* Droptdown functional

* continue

* initial working version
2019-10-21 15:25:05 +02:00
Jaco Greeff
f9f919d175 Don't double-up on locks 2019-10-21 14:55:42 +02:00
Jaco Greeff
1c3a4c937a
Update balance total to be free, reserved & bonded (#1748) 2019-10-21 12:58:12 +02:00
Jaco Greeff
5c2440146a
Updates for parachains (#1740)
* Updates for parachains

* Split result conversion, linting

* Pass through convertHex

* Cleanup event specification
2019-10-18 12:17:37 +02:00
Jaco Greeff
2f3117dc05
Droptdown functional (#1731) 2019-10-18 10:24:03 +02:00
Jaco Greeff
bdceb5e2bd
Set session key mismatch (#1730)
* Set session key mismatch

* Cleanup 0 render

* 0 checks
2019-10-16 11:36:23 +02:00
Jaco Greeff
a6d2dcaf72
Expose and use StatusContext (#1725) 2019-10-15 10:07:54 +02:00
Jaco Greeff
3f0d3eea2e
Bump API (Latest polkadot types) (#1721) 2019-10-11 16:56:40 +02:00
Eswara Sai
2a4d761e0f Added parser to extract i18n strings (#1710)
* Added parser to extract i18n strings

* Fixed issues with eslint for config file

* Moved i18n locales to apps/public folder

* Updated script to have i18n strings as default value
2019-10-11 15:12:36 +02:00
Jaco Greeff
b434bc346b
Align input background transparency (#1720) 2019-10-11 11:41:05 +02:00
Jaco Greeff
5328d54294
Limit nominees to 16 (#1717) 2019-10-11 10:56:55 +02:00
kwingram25
81c925f3d7 UI support for v2 ABI (#1602)
* ui support for v2 ABI

* drop v1 support

* update ABI display

* changes

* buttons

* update ABI display

* ABI v1 error message

* fix key warning

* Bump deps

* Bump deps

* Updates for merge

* default gas and endowment
2019-10-10 21:37:07 +02:00
Jaco Greeff
024a55e3d0
Fix nominate display, add commission display (#1703)
* Fix nominating display, Closes https://github.com/polkadot-js/apps/issues/1701

* Add commission display on staking overview
2019-10-07 15:27:43 +02:00
Jaco Greeff
7415befba2
Some more additional func conversions (#1692)
* Some more additional func conversions

* Create Address functional

* Minor cleanups

* Adapt ExtrinsicDisplay

* Linting updates
2019-10-04 17:45:10 +02:00
Jaco Greeff
7c1ff04500
Add insert key functionality (#1683) 2019-10-02 14:24:02 +02:00
Meghashyam Kodmad
7906457db9 updated react-dropzone to 10.1.9 (#1682)
* updated react-dropzone to 10.1.9

* fixed lint errors

* dropRef without current

* removed debugs
2019-10-01 18:05:02 +02:00
Jaco Greeff
1440d83545
Additional functional components (#1668)
* Additional functional components

* Additional

* SideBar

* Sign & Verify

* Small Signer modal updates

* Formatting

* Remove staking css (external file)

* Defaults in props

* Small adjustments
2019-10-01 16:22:23 +02:00
Jaco Greeff
14067296ed
Cleanup static methods (#1678) 2019-09-28 08:58:58 +02:00
Eswara Sai
785f6ed03e Added dismiss notifications feature (#1672)
* Added dismiss notifications feature

* Refactored fluid Button prop to isFluid
2019-09-27 15:01:48 +02:00
Jaco Greeff
a7a7e0b126
Update Polkascan ref. for CC2 (#1674)
* Update Polkascan ref. for CC2

* Move cc1 as well
2019-09-27 14:16:08 +02:00
Jaco Greeff
f67058e4c0
Cleanup InputAddress export, proper props (#1673) 2019-09-27 12:29:30 +02:00
Jaco Greeff
ba8d55c1f1
Fix nomination selection (multi) (#1671) 2019-09-27 10:15:57 +02:00
Jaco Greeff
ba9765ba1c
Convert status queue (#1658)
* Convert status queue

* Use queue refs (closures)
2019-09-25 20:56:59 +02:00
Jaco Greeff
79f2bc0e3a
Bump API (#1656) 2019-09-25 11:41:56 +02:00
Jaco Greeff
d50d309b4a
Bump API (latest substrate master) (#1655)
* Bump API (latest substrate master types)

* Bump API (Babe fixes)

* Adjust API missing types (StorageEntryPromise)
2019-09-24 19:06:37 +02:00
Jaco Greeff
5aac644a4e
Small explorer query fixes (#1654) 2019-09-24 16:46:40 +02:00
Jaco Greeff
8148047e96
Fixes for Option<enum/struct> rendering (#1653)
* Fixes for Option<enum/struct> rendering

* Update Struct.tsx

* Update Struct.tsx
2019-09-24 15:57:49 +02:00
Jaco Greeff
f33b4b7f91
Rework js-app with func. components (#1651) 2019-09-24 13:33:49 +02:00
Jaco Greeff
09c45ea3c2
More func. component conversions (#1650)
* More func. component conversions

* Linting updates
2019-09-24 11:42:55 +02:00
Jaco Greeff
6f8da05805
More func. components, Button labelIcon -> icon (req.) (#1649) 2019-09-24 10:00:05 +02:00
Jaco Greeff
aef86d373a
More func component conversions (#1641)
* More func component conversions

* ExtrinsicInput

* Selection inputs -> functional

* Cleanups

* State Selection & linting fixes
2019-09-23 15:37:55 +02:00
Jaco Greeff
f278a46e3e
Move SideBar css out of theme (#1646) 2019-09-23 14:28:46 +02:00
Stefanie Doll
d23b4a7837 Switch back to white menu items in sidebar (#1645) 2019-09-23 14:05:50 +02:00
Jaco Greeff
6fb8916e6f
More functional component conversions (#1640)
* More functional component conversions

* Expose systemVersion on api

* Signer checks

* KeyRing uses local IdentityIcon
2019-09-20 16:08:37 +02:00
Jaco Greeff
3a9d67f398
Add GlobalStyle component (#1638)
* Add GlobalStyle component

* Move all react-component/styles -> styled-components
2019-09-20 12:05:23 +02:00
Jaco Greeff
a66577eda4
More functional component conversions (#1633)
* More functional component conversions

* Cleanups

* functional Elapsed

* Status -> functional

* Couple more

* One more tiny one
2019-09-19 17:57:32 +02:00
Bhanu Teja P
01271da389 Add relevant icons to top-level buttons (#1618)
* Add relevant icons to top-level buttons

* Add some missing icons

* Add some missing icons

* Add missing icons
2019-09-19 12:57:10 +02:00
Jaco Greeff
f35b2d4428
Update fees, mortal & tips (#1590)
* Update fees, mortal & tips

* Linting

* Revert findCall

* Fix fee calculation (take version byte  into account)

* Remove MAX (weights), add weight note

* does not *
2019-09-18 14:53:51 +02:00
Jaco Greeff
fbe68b6c5d
Reset themes, single palette (#1607)
* Reset themes, single palette

* Additional comments

* Bump identicon, darkorange highlights

* Default button colors to $default

* isPrimary for all major (maybe rather shouldn't)

* All input buttons are non-primary

* Toggle to $highlight, links to $primary

* Swap darkorange to Thibaut-orange

* Icon  highlight to non-orange

* Highlight  package bump

* Updates

* Adjust referendum result color (aligning with orig Polkadot)

* Bumpos, button text color
2019-09-18 12:59:56 +02:00
Jaco Greeff
a92335aaf4
Ledger support (#1620)
* Ledger support

* libusb dep for CircleCI

* LedgerSigner for signer app

* Bump ui-*

* Extract ledger query

* Ledger support behind ?ledger=... param

* Fix query-string dep

* Bump deps
2019-09-18 10:37:59 +02:00
Jaco Greeff
84d693d00f
Don't rely on ui-keyring to provide SUI options (#1617)
* Don't rely on ui-keyring to provide SUI options

* functional KeyPair component

* Delete temp.txt

* Bump ui-*
2019-09-16 21:15:29 +02:00
Jaco Greeff
ad7506b83d
Api bump with rpc_methods call (#1616) 2019-09-16 16:39:01 +02:00
Jaco Greeff
16fb349f2a
Select icon type (#1614)
* Select icon type

* Fix edgeware node

* Fix node selection dropdown s/}/)/
2019-09-13 20:28:34 +02:00
Jaco Greeff
72f803926f
Some small component conversions (#1581)
* Some small component conversions

* Default exports

* Squashing

* Some additional components

* Linting
2019-09-13 10:29:44 +02:00
Jaco Greeff
8a77f5f0a6
Add Edgeware selector (#1606) 2019-09-12 23:06:29 +02:00
Jaco Greeff
4a6db79ab9
Chain names updates (#1605) 2019-09-12 21:38:32 +02:00
Lowhearth
4ecdf73ce9 Avoid overflow on staking pages #1502 (#1593)
* Closes #1502

Avoid text overflow on staking app

* adjusted flex ratio
2019-09-09 14:59:41 +02:00
Jaco Greeff
65a9d91ad0
Collapse unbonding, hover expands all at once (#1589)
* Collapse unbonding, hover expands all at once

* Return null (not 0)

* Linting
2019-09-06 15:53:21 +02:00
Jaco Greeff
86b8954b1c
Mobile signer support (via Qr) (#1583)
* Add external accounts via Qr

* WIP on signing

* And we are off to the races

* Add qr state

* Name checks

* Bump deps
2019-09-06 14:35:52 +02:00
Jaco Greeff
cc6763e68d
Bump api (SignerPayload updates) (#1584) 2019-09-04 16:47:42 +02:00
Jaco Greeff
b785c8acf2
genesisHash accounts toggle (#1573)
* genesisHash accounts toggle

* Bump deps

* Adjust toggle colors

* Use Api context

* Add genesisHash to addresses (on by default)
2019-09-03 16:26:03 +02:00
kwingram25
c9790f85d9
useContext instead of withApi (#1579)
* useContext instead of withApi

* types to interface, fixes
2019-09-03 15:00:09 +02:00
Jaco Greeff
ceedb44699
Edgeware support (#1577)
* Add edgeware types to the base

* Fix edgeware type imports

* Swap calcSignLength to BN result

* Don't allow max to go negative
2019-09-03 12:46:05 +02:00
Jaco Greeff
52ab9ac0e3
withApi -> useContext (fixes ref issues) (#1576) 2019-09-03 10:19:50 +02:00