Commit Graph

216 Commits

Author SHA1 Message Date
Jaco Greeff
d2e184b0cc
Add staking payout alert counter (#2354) 2020-03-09 09:08:04 +01:00
Jaco Greeff
ea4853c9bb
s/http/ws/ 2020-03-09 05:41:07 +01:00
Jaco Greeff
b2903d6ea7
find the first available URL (#2350) 2020-03-09 05:39:45 +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
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
e5f611952d
Pull logos into repo ()easier to update externally (#2320)
* Pull logos into repo

* Bumps
2020-03-01 23:14:06 +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
c264986900
Adjust text color on sidebar (#2295) 2020-02-20 14:27:46 +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
433c06690a
Remove upgrade overlay (API with runtime upgrade support) (#2291)
* Remove upgrade overlay (API with runtime upgrade support)

* Bump deps
2020-02-19 17:15:57 +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
eb347819f5
Bump deps (#2247)
* Bump deps

* Allow urls from allowed list (unless saved)

* Cleanups
2020-02-07 09:58:00 +01:00
Jaco Greeff
a66f36d2ba
Apply WS_URL consistently (#2244) 2020-02-06 12:11:48 +01:00
Jaco Greeff
7466d6b239
Add derive availability failsafes (global) (#2210)
* Add derive availability failsafes (global)

* Check all isApiReady
2020-01-28 17:28:15 +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
0fce51cb1a
Metadata update reload (#2143)
* Metadata update reload

* Check around status
2020-01-22 12:23:19 +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
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
384d2160cf
Adjust overlays (#2142) 2020-01-17 15:29:02 +01:00
Jaco Greeff
8861a57645
Additional useTranslation usage (#2133) 2020-01-16 12:33:37 +01:00
Jaco Greeff
4febafac10
Connecting overlay rendering order (#2130)
* Connecting overlay rendering order

* API

* Combine components

* Unused import
2020-01-15 21:44:07 +01:00
Jaco Greeff
0795c9aa32
Remove FF warning (can now connect to local ws) (#2106) 2020-01-12 11:50:07 +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
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
31dea14271
Fix explorer (v1), withObservable unload & democracy images (#2062)
* Fix explorer (v1), withObservable unload & democracy images

* API bump

* Seconding count

* DerivedCollectiveProposal type
2019-12-17 11:00:42 +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
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
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
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
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
a79d909886
Add global event context (#1851)
* Global event context

* Cleanup events

* Slice logs

* event adjustments

* Keep old events

* Cleanup props
2019-11-08 09:45:41 +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
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
d3bd098f9a
Place authors on a context (#1808)
* Pleace authors on a context

* Cleanup empty effect

* Cleanup context, no new object
2019-10-29 15:00:03 +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
6a79ce2f53
Apps wrapper to functional (#1734) 2019-10-21 11:47:49 +02:00
Jaco Greeff
a6d2dcaf72
Expose and use StatusContext (#1725) 2019-10-15 10:07:54 +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