Commit Graph

29 Commits

Author SHA1 Message Date
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
b5c2d9b239
Adjust IdentityIcon defaults (#2710) 2020-05-08 17:01:18 +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
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
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
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
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
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
9a6c55a40b
Bump dev (incl. eslint fixes) (#2502) 2020-04-01 21:31:36 +02: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
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
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
de39bbe297
Additional useTranslation conversions (#2109)
* Additional useTranslation conversions

* quotes

* Bumps

* Cleanup params wit overrides
2020-01-13 13:12:03 +01:00
Jaco Greeff
562e11dc06
Bump deps (#2091) 2020-01-06 16:16:50 +01:00
Jaco Greeff
0645299933
Fix Identicon on-not-connected (#2070) 2019-12-18 12:36:26 +01:00
Jaco Greeff
1a8f7e2727
Use lookup accountId for IdentiIcon display (#2065) 2019-12-17 14:26:23 +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
c3e16ac040
s/useApiContext/useApi/ (#1900) 2019-11-16 20:21:46 +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
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
6610275ee6
Bump with API (#1840) 2019-11-04 00:06:09 +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
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
16fb349f2a
Select icon type (#1614)
* Select icon type

* Fix edgeware node

* Fix node selection dropdown s/}/)/
2019-09-13 20:28:34 +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
e6ca2db884
Rename ui-* -> react-* (#1495)
* Rename ui-* -> react-*

* Rename actual folders

* react-app -> react-components

* CSS links
2019-08-12 13:12:05 +02:00