Commit Graph

191 Commits

Author SHA1 Message Date
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
Jaco Greeff
16924fff15
Extra RPC endpoint split on hash (#1708) 2019-10-08 16:29:27 +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
5ee21ae275
Staking performance updates (#1670)
* Staking performance updates

* More default on props
2019-09-26 22:21:16 +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
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
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
f178674d7f
No wss warn on 127.0.0.1 (#1597) 2019-09-09 08:21:51 +02:00
Jaco Greeff
ed29ca4aa8
Fix Connecting (#1595)
* Fix Connecting

* Remove stray log
2019-09-09 07:43:02 +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
ec8be875df
typescript-eslint 2 (#1568)
* Setup for typescript-eslint 2

* Cleanup linting

* Bump ui version

* Exclude build folders
2019-09-01 13:34:56 +02:00
Jaco Greeff
e4c933cc87
Bump deps (#1560) 2019-08-30 09:09:11 +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
4c53997b66
Bump deps (#1543) 2019-08-27 15:19:59 +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