Commit Graph

813 Commits

Author SHA1 Message Date
Antoine Estienne
31904bf106
Support ethereum addresses for Moonbeam (#3961)
* support ethereum addresses

* corrections

* add standalone url and ethereum identicons

* add moonbeam config

* added changes from the old pr

* add new config

* added dummy rpc method declarations for eth methods

* wip fix address add modal

* support ethereum addresses

* corrections

* add standalone url and ethereum identicons

* add moonbeam config

* added changes from the old pr

* add new config

* added dummy rpc method declarations for eth methods

* wip fix address add modal

* wip repair app with new keyring

* use isDevelopement false for ethereum

* lint

* more formatng

* eth addresses by default for account creation

* added many more types to support moonbeam

* added color

* add h160 to types and components

* add rpc methods to app-config

* lint

* polish

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

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

* Apply suggestions from code review

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

* moved ethereum networks to config

* added real rpc method typings

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

* Remove duplicate equality check

* Remove (now unneeded) isBn check
2020-11-08 13:36:58 +01:00
Jaco Greeff
524cbc8a80
Add fontWeight* to theme (#3985)
* Add fontWeight* to theme

* Cleanup comments

* fontWeightLarge -> fontWeightLight
2020-11-06 14:31:23 +01:00
Thibaut Sardan
08196d3093
Cleanup style expansion (#3943)
* cleanup style expansion

* ThemeDef

* Don't create unneeded objects

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-11-06 13:58:04 +01:00
Jaco Greeff
50fd662f8a
Revert font changes (#3976) 2020-11-05 12:50:40 +01:00
Jaco Greeff
5070ecdd10
s/fontFamily/fontSans/ (#3968) 2020-11-04 15:11:02 +01:00
Albert
2215541cd9
Apply Nunito fonts globally (#3882)
* Add nunito fonts

* Apply Nunito fonts globally

* Remove Nunito fonts (600,800)

* Add fontFamily to themes

* Unify font-weight and font-family across app

* Fix linting

* Use Monospace font from theme where required

* Add font-family from theme to buttons

* Revert font-family change in Claim

* Provide enough vertical space for rendering of an account name with verified identity

* Use theme font in transfer and search inputs

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
Co-authored-by: Krzysztof Jelski <krzysztof@ethworks.io>
2020-11-04 14:35:49 +01:00
Jaco Greeff
2a1fb452af
Add support for ethereum icon theme (#3964)
* Add support for ethereum icon theme

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

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

* Bump API with new block subs

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

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

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

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

* Add textarea with dropdown

* Add OWASP and styles to PasswordStrength

* Align the checkbox with other ui elements

* Notification on mnemonic copy

* Make confirmation label clickable

* Do not shorten address in creation modal

* Make address name not editable in header

* Always show password strength meter

* Always show password strength meter

* Update tests to new account flow

* Remove repeated dependency

* Remove console.log from test

* Update yarn.lock

* Restore imports order.

* Format div component according to style

* Remove cursor styling for old browsers

* Empty line

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

* wip on text area

* TextArea styling

* Checbox styling

* Update repeated password validity on first password change

* Simplify CopyButton notification code.

* Change TextArea styling to more consistent

* Make password strength indicator wider

* Move external warning down and show on both steps

* Inline TextArea subcomponents

* Move mnemonic saved confirmation label closer to buttons

* Add steps counter to header

* Remove space

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

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

* Adjust

* Remove (now unused) api

* Cleanup state on unmounted

* Update

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

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

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

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

* Cleanup displays

* Adjust

* Deploy & RPC call

* s/call/read/

* Adapt layout

* Swap to tables

* Update

* Updates to read/exec

* Adjust

* Updates

* Adjust with old code removal

* Update banner

* Adjust modals for dark

* Additional

* Bump API

* typo, case-sensitive

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

* background opacity

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

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

* Update packages/react-params/src/initValue.ts
2020-10-01 22:32:01 +02:00
Jaco Greeff
59623f419b
(Very) experimental dark theme (only localhost) (#3731)
* (Very) experimental dark theme (only localhost)

* Listener for theme changes

* ThemeProps

* Use actual theme with colors

* Page background

* Adjust with theme.bgPage

* Table adjustments

* Some progress (menu & inputs)

* Adjustments in a number of places

* Progress colors

* Modals

* Some calandar stuff

* Toggle

* Updates

* Hack around dropdowns

* Popup menus

* Overlays

* Connecting overlays
2020-10-01 15:50:33 +02:00
Jaco Greeff
880c13ff80
Adjust Inputaddress KeyPair styling (sizing, movement) (#3800) 2020-10-01 14:15:21 +02:00
Jaco Greeff
fd8d60ce6b
RoboHash icon theme (#3795)
* RoboHash icon theme

* Move to react-components

* Enable RoboHash

* Use full hash for generation

* Conversions

* Stream bytes

* background opacity

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

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

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

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

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

* Updates
2020-09-18 12:17:12 +02:00
Jaco Greeff
a96c36d158
Registry usage from type (#3709) 2020-09-18 08:07:25 +02:00
Jaco Greeff
7ba7339d96
SPDX (#3705) 2020-09-17 16:46:46 +02:00
Jaco Greeff
2e72142f6a
Determine nonce via accountNextIndex (#3704) 2020-09-17 16:08:36 +02:00
Jaco Greeff
90b1f12c04
Contrast menu on brightness (#3701)
* Add contrast colors on menu (dark vs light)

* Adjust contrast detection

* Adjust contrasts

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

* Expander table headings

* balances as expand header

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

* Adjust

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

* Table header padding

* Revert
2020-09-12 13:23:40 +02:00
Jaco Greeff
fab8c86dfa
Expander adjustment (right-align, icons) (#3668)
* Expander adjustment (right-align, icons)

* Alignements

* caret

* caret alignment
2020-09-12 12:14:47 +02:00
Jaco Greeff
a286bb90bc
Topmenu updates as per design (#3658)
* Topmenu updates as per design

* Explicit background to chain images

* Faint background (maybe, someday)

* Faint background for table highlights

* table headers

* Footer background

* Aletr badge (dark, as per suggestion)

* invert counter

* Small adjustments to opacity

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

* Status borders

* empty opacity

* Revert border

* Update packages/react-components/src/Status/index.tsx
2020-09-12 08:50:33 +02:00
Jaco Greeff
000179c5ca
Adjust calendar headings (#3656) 2020-09-11 09:33:05 +02:00
Jaco Greeff
57dc4d560d
Adjust table header/row coloring (#3655)
* Adjust table header/row coloring

* calnedra rows
2020-09-11 08:55:43 +02:00
Jaco Greeff
9b3121ea82
Display commission over eras as graph (#3644)
* Add commission-over-eras chart

* Untipped/closing view toggle

* Adjust alignment
2020-09-09 14:38:17 +02:00
Jaco Greeff
9228041dbe
Table border adjustments (#3639) 2020-09-08 13:41:37 +02:00
Jaco Greeff
f127e829bc
Align time unit strings (#3622)
* Align time unit strings

* Apply suggestions from code review

* dedup

* Rebuild i18n
2020-09-06 11:05:45 +02:00
Jaco Greeff
a17ddb54a2
Cleanup css comments (#3617) 2020-09-05 19:14:22 +02:00
Jaco Greeff
e41df0c3b9
Bump API (#3616)
* Bump API

* Adjust header color
2020-09-05 15:29:31 +02:00
Jaco Greeff
7ec4700905
Slight adjustments to the Table UI (#3615)
* Slight adjustments to the Table UI

* Adjust

* Final tweaks, ship it.

* Table header highlight

* Adjust

* Header padding

* comment line

* Adjust

* Final, enough playing.

* One tone lighter

* odd rows

* Lied... really the final

* background on rows (summry transparent)
2020-09-05 14:52:36 +02:00
Jaco Greeff
ffeab6a94e
Detect WASM (via util) (#3612)
* Detect WASM (via util)

* Linting

* Cleanups.
2020-09-05 12:26:25 +02:00
Jaco Greeff
230938b6b7
Align slashing layout with the rest (#3614)
* Align slashing layout with the rest

* Adjust

* Adjust banners

* Extra...
2020-09-05 11:28:56 +02:00
Jaco Greeff
584ce1e5bc
Tiny UI adjustments (#3608) 2020-09-04 12:27:09 +02:00
Jaco Greeff
506cec434b
Add cancel all to slashes page (#3607) 2020-09-04 11:15:25 +02:00
Jaco Greeff
8815703d00
Bump dev, fix linting (#3603)
* Bump dev, fix linting

* Small zh adjustments

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

* translations

* add vestingEndBlock

* translation

* fix lint

* formatNumber vestingEndBlock

* added countdown

* until

* lint fix

* fix

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

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

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

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

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

* Remove log

* release/stable

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

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

* Adjust opacity

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

* Add provider logos

* Unsafe assignment

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

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

* Extract isDisabled

* Remove DOT banner

* Updates

* s/New DOT/DOT/

* Bump API

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

* Disable problemtic rule (some valid, most not)

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

* next/prevMonth

* WIP

* Day layout

* Something shows

* Scheduler itesm

* Fix clacls, basics are there

* styled localized

* Constant retrievals

* Extraction cleanups

* extraMargin on article.error

* It works.

* Fix council ids

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

* Adjust locations

* Fix toggle order

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

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

* RPC/Extrinsics icons

* Split addressbook app

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

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

* 2000 sizing

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

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

* AddressInfo w/ New DOT

* Adjust

* Content padding

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

* Use divn instead of /

* Move useBlockTime out of createOptions

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

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

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

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

* Sycky, but navigation works...

* Adjust

* grouping

* It works, but is not great

* Cleanups

* Cleanups

* hover color

* Highlights

* Highlights, part 2

* Background to body

* Small adjustments (size, items)

* Localize Modal/route switching

* Remove light/full mode

* Flatter single-entry menus

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

* Display NodeInfo

* Misc

* Content & Tabs sizing

* Tab counters as bubbles

* Alignment

* Tabs styling

* Adjust font color to defaults

* Small tabs menu color adjustments

* ... the previous, again, adjusted

* Display Wiki/Github links

* ar motions

* Adjust Endpoints location

* Ensure content grows to available height

* Adjust tabs

* Menu background adjustment

* Adjust popup colors

* Adjust highlights

* Sligh breathing room

* Adaptive header background

* 2/3

* Adaptive is ok... for now.

* Back to black... erm, gray

* Lighten

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

* Sides readability

* Cleanups.

* Adjust.

* Overall adjustments (theme). Fix Tag yellow.

* Ok. Done.

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

* Globally start and stop substrate for all tests.

* Fix compilation problem.

* Another attempt to make both compilation and tests work.

* Apply suggestions from code review

* Run slow tests with docker only nightly.

* Update yarn.lock.

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

* Ordering

* Simplify unit formatting
2020-08-19 09:59:52 +02:00
Jaco Greeff
ebad8635f7
Adjust useCall options (#3430)
* Adjust useCall options

* Extract useCall options

* typo

* Apply suggestions from code review

* Adjust param creation in calls
2020-08-17 12:24:51 +02:00
Jaco Greeff
44055cbcde
Remove link tooltips (#3424)
* Remove link tooltips

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

* Apply suggestions from code review

* remove duplicated info

* Apply suggestions from code review

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

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

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

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

* Add actual default

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

* Header transparent

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

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

* adjust label classes

* Max bonded to unbond

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

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

* Apply suggestions from code review

* Adjust parachains

* Adjust

* Formatting

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

* locked balance as default

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

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

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-08-07 14:37:41 +02:00
Jaco Greeff
7b64762478
Bumps, yarn stale (#3352)
* Bumps, yarn stale

* Bump berry

* WIP

* Rewrite
2020-08-06 15:47:43 +02:00
Jaco Greeff
98fd2ed1fa
Adjust AddressToggle with named (#3349) 2020-08-05 21:18:20 +02:00
Jaco Greeff
107bfc7065
Warn on locally stored accounts (#3345) 2020-08-05 14:39:51 +02:00
Jaco Greeff
f71e5c9cbc
Quick endorse with median (#3340)
* Tip endorse with median

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

* Accounts with isLoading

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

* Adjust multi-list with loading

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

* Collapsible

* Selection of new url

* Sidebar icon override

* url validity

* Remove  network selection from settings

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

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

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

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

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

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

* Basic buttons

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

* Basic button

* Slight button background

* Disabled no background

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

* Adj.

* Spacing
2020-07-24 21:17:03 +02:00
Jaco Greeff
7af66875b9
Proper angle/percentage calc from BN (#3261) 2020-07-24 19:38:14 +02:00
Jaco Greeff
33b5812f9a
Display time left (not blocks) (#3259)
* Display time left (not blocks)

* Poll percentages

* Poll progress
2020-07-24 17:51:01 +02:00
Jaco Greeff
bbd919d0d7
Adjust Progress hl (#3258)
* Highlight background on progress outer

* Adjust

* Sizing
2020-07-24 16:39:23 +02:00
Jaco Greeff
97e2af124c
Circular progress (#3257) 2020-07-24 13:59:32 +02:00
Jaco Greeff
51bceafb03
JSON v3 support (#3256)
* JSON v3 support

* Update deps

* isBusy adjustments

* Cleanup import

* Linting

* trigger

* Derive fixed, remove unused styles

* Backup adjustments

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

* Sizing

* Update

* Smaller

* Yet smaller

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

* Add Polkadot override
2020-07-21 09:54:55 +02:00
Jaco Greeff
7c9ed82251
API bump for votingBalance (#3240) 2020-07-20 20:45:07 +02:00
Jaco Greeff
cf03e360a7
Adjust parent media breakpoint (#3234) 2020-07-19 21:28:37 +02:00
Jaco Greeff
413db9fca4
All children (e.g. toolips) on FormatBalance (#3227) 2020-07-18 10:23:32 +02:00
Jaco Greeff
85161540b7
Rework Progress component (#3211)
* Reowkr Progress component

* Toggle colors

* Sligh cursor adjustment
2020-07-16 16:33:50 +02:00
Jaco Greeff
0c5f2754cf
Native toggle component (#3209) 2020-07-16 13:30:34 +02:00
Jaco Greeff
78dcf3c8a9
Adjust alignment of SI dropdown (#3206)
* Adjust alignment of SI dropdown

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

* Stray 123-code ref

* Rewrite yarn.lock

* Remove 123 from README
2020-07-14 17:02:51 +02:00
Jaco Greeff
8ed93360d9
Rework Button (#3171)
* Rework Button

* Input dropdown buttons

* Adjust cursor & border (InputNumber SI, disabled)

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

* Cleanup classes

* Cleanup linting

* Small cleanups

* Swap to actual <button ...>

* Sidebar adjust

* Adjust className creation

* Adjust signer toggle

* Button disabled cursor

* Poll adjust loading

* Basic buttons, SideBar with theme

* Adjust button styling

* Adjust Button shadows
2020-07-13 21:25:12 +02:00
Thibaut Sardan
c7ebb0247f
do not use filter on selected accounts (#3175) 2020-07-13 20:15:53 +02:00
Jaco Greeff
9d821ae0f7
Adjust poll wording (#3176)
* Adjust poll wording

* Poll header

* Adjust column widths

* Result adjustment
2020-07-13 15:09:49 +02:00
Jaco Greeff
88d81b0ac3
Flatten IdentityIcon wrappers (#3170)
* Flatten IdentityIcon wrappers

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

* inactive hover

* Adjust sequence display

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

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

* Adjustments for nodes

* Hopefully sort out Badge/Icon alignment

* ui--Icon pointers
2020-07-11 11:24:50 +02:00
Jaco Greeff
17a3deb04c
Polkadot poll app (#3162)
* Polkadot poll app

* Bump deps

* Fix vanitygen dep

* Small formatting adjustments

* Adjust padding consistency

* Value align

* Show end blocks & time remaining

* Disable toggles on votend

* Countdown & close

* Uppercase millionand billion

* long-form million/billion

* Hide toggle when not voting
2020-07-10 23:25:50 +02:00
Jaco Greeff
01587003eb
Small CSS optimizations (#3156) 2020-07-10 12:50:59 +02:00
Jaco Greeff
1c7865cf65
Adjust Badge to inline default (as used) (#3150)
* Adjust Badge to inline default (as used)

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

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

* Adjust for Edgeware

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

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

* display accounts amount and conviction

* delegation modal without react-component

* add conviction dropdown

* number not string

* use string rather than accountId and KeyringAddress

* all changing

* use ConvictionDropdown from react-components

* delegate column in accounts

* with expander

* with modals

* ordering

* Apply suggestions from code review

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

* ordering

* implement suggestion and fix lint

* Small layout adjustments with help text

* Only delegate to owned accounts

* Use AddressMini for delegation layout

* Remove ununsed imports

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

* Modal popup

* Log accountId & hex

* Spacing

* Reduce for addressToBits
2020-07-08 08:51:34 +02:00
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