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
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
83a2ddedd4
useCallback in all staking callbacks ( #2376 )
...
* Add React.emomo to some components
* Linting
* useCallback for callbacks
* Additional useCallback impl.
2020-03-12 12:59:09 +01:00
Jaco Greeff
77622225b4
Split chain logo/info away from SideBar ( #2356 )
2020-03-09 16:39:00 +01:00
Jaco Greeff
d2e184b0cc
Add staking payout alert counter ( #2354 )
2020-03-09 09:08:04 +01:00
Jaco Greeff
2c2fdf843f
Adjust hightlight location/size
2020-03-06 20:47:01 +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
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
003deed845
Don't make unavailable apps crash the full app ( #2251 )
2020-02-07 10:58:37 +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
79de1162ea
useTranslation Suspense fallback ( #2158 )
...
* useTranslation Suspense fallback
* import path
* Some small useTranslation conversions
2020-01-20 17:20:04 +01:00
Jaco Greeff
03a5b2726c
Bump API (incl. staking ledger fixes) ( #2156 )
...
* Bump API (incl. staking ledger fixes)
* Api context
* Replace counter
* Linting
* Swap t -> useTranslation
* Cleanup unwrap
* Rebuild i18n (& make auto-config)
* Remove old eslint override
2020-01-20 15:08:03 +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
8861a57645
Additional useTranslation usage ( #2133 )
2020-01-16 12:33:37 +01:00
Jaco Greeff
8fbd691d52
Fixup sidebar translation ( #2096 )
...
* Fixup sidebar translation
* Update transaltion extraction
2020-01-09 12:01:04 +01:00
dushaobindoudou
8de5b3ad30
Translation into Chinese ( #2086 )
...
* fix: init
* fix: 添加部分翻译
* fix: 完成账户翻译的验证
* fix: 添加汉语支持
* fix: 完成第一个阶段
* fix: 翻译部分内容
* fix:
* fix: 添加账户和合约的翻译
* fix: reset source config
* fix: reset source
2020-01-09 11:34:20 +01:00
Jaco Greeff
562e11dc06
Bump deps ( #2091 )
2020-01-06 16:16:50 +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
0402d0e10f
Force reward retrieval to single-shot ( #2013 )
...
* Force reward retrieval to single-shot
* Remove inner setTimeout
2019-12-08 22:00:29 +01:00
Jaco Greeff
644fd0099a
Improve rewards rendering
2019-12-06 00:10:23 +01:00
Jaco Greeff
2175a11e24
Proposal counters ( #1982 )
2019-12-02 19:41:43 +01:00
Jaco Greeff
458e30f2b0
Subscribe to runtimeVersion in UI display ( #1910 )
2019-11-19 12:46:49 +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
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
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
d6601bd092
Hopefully sort out sudo not found (on deployed) ( #1759 )
...
* Hopefully sort out sudo not found (on deployed)
* Simplify
* Use sudoKey eq
* Extract isVisible
* Extract TOOLTIP_OFFSET
* Use isVisible state
* Linting...
2019-10-25 10:38:26 +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
ff5b5c2a3f
Remove unused balances props ( #1647 )
...
* Remove unused balances props
* Comment CSS horribleness
* Extra {
* Merge master
2019-09-23 15:21:11 +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
Eswara Sai
96f718cd75
Added network modal to select chain ( #1642 )
...
* Added network modal to change selection
* Added toggleNetworkModal function
2019-09-23 12:25:13 +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
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
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
52ab9ac0e3
withApi -> useContext (fixes ref issues) ( #1576 )
2019-09-03 10:19:50 +02:00
kwingram25
cdf1d88de5
Functional components (apps, react-components) ( #1564 )
...
* Functional components (apps, react-components)
* move consts
2019-09-01 14:23:42 +02:00
Jaco Greeff
f251964843
Swap substrate logo to hexagon ( #1558 )
2019-08-29 11:24:32 +02:00
Jaco Greeff
e976d3500d
Add images to chain dropdown ( #1553 )
...
* Add images to chain dropdown
* Warp up
2019-08-28 13:54:49 +02:00
Jaco Greeff
fe484dedfe
Cleanup logo consistency (incl. transform) ( #1550 )
2019-08-28 12:25:14 +02:00
Jaco Greeff
3d43241a5a
Add ChainImg component ( #1540 )
2019-08-26 14:57:57 +02:00
Jaco Greeff
d5e34157b5
Kusama CC1 -> Kusama (bond override) ( #1536 )
...
* Kusama CC1 -> Kusama (bond override)
* Kusama logo for W3F nodes
2019-08-26 09:15:06 +02:00
Jaco Greeff
9020524886
Display specVersion as part of chain details ( #1531 )
2019-08-24 22:02:16 +02:00
Jaco Greeff
e5413b6fce
Map logo to correct chain names ( #1523 )
2019-08-23 15:49:48 +02:00
Jaco Greeff
b8cb835b32
Only warn for controller === stash (Dev, Kusama) ( #1519 )
2019-08-21 21:41:13 +02:00
Jaco Greeff
23cac4cd2b
Allow chain-specific logo overrides ( #1499 )
...
* Allow chain-specific logo overrides
* Round-out available logos (current state)
2019-08-13 11:57:58 +02:00
Jaco Greeff
ebbe4b3f39
Adjust size of icon logo ( #1498 )
2019-08-12 16:20:13 +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
Jaco Greeff
3de65b60d2
Display logo based on node, prominent chain ( #1494 )
2019-08-12 12:11:46 +02:00
Jaco Greeff
b4de745cda
Support latest api (with dynamic types) ( #1447 )
...
* Make a start, halfway down with issues found...
* Around 80% through untangling the linter
* Seems linted...
* Adjust latest
* Update for latest (Moment -> u64)
* Method -> Call
* Bump api from npm
* formatNumber (no unwrap needed)
* Update to latest ui packages
* Revert internal version downgrades
2019-07-29 12:24:43 +02:00