Commit Graph

232 Commits

Author SHA1 Message Date
Jaco Greeff
9fde464c11
Bump dev, JSX prop rules (#2499) 2020-04-01 15:30:08 +02:00
Jaco Greeff
86e883b952
Adjust table (header) backgrounds (#2481)
* Adjust table (header) backgrounds

* Summary padding
2020-03-29 22:44:27 +02:00
Jaco Greeff
c9cf0581a0
Adjust all table layouts with headers (#2480)
* Some small CSS adjustments

* Adjust all table layouts with headers

* Adjust... somewhat

* Adjust

* Ok, enough for now...

* Adjust extrinsic from display

* header adjustments
2020-03-29 18:44:39 +02:00
Jaco Greeff
9f4d97839a
Some small UI adjustments (#2471) 2020-03-28 10:29:45 +01:00
Jaco Greeff
e4c0cfd262
Exhaustive hooks (#2463)
* Exhaustive hooks

* selectUrl screw-up

* Adjust name badge

* Cleanup SideBar effects
2020-03-27 12:49:17 +01:00
Hanwen Cheng
3f79f24b3b
feat: add ability to export network specifications from network setting screen (#2360)
* init the network specs change screen

* meta data should be comment out

* update component

* component ui

* complete the component with @polkadot/ui

* update transalation

* center the modal

* change name

* use default color of chain

* remove path id in network specs

* refactor modal into metadata

* Update packages/page-settings/src/Metadata/index.tsx

Co-Authored-By: Jaco Greeff <jacogr@gmail.com>

* reformat

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-03-26 21:38:39 +01:00
Jaco Greeff
39759950ce
Referendum passing status (#2447)
* Referendum passing status

* WarmUp totalIssuance

* Optional balances
2020-03-23 19:55:17 +01:00
Jaco Greeff
114966882a
Global API init indicator (#2438) 2020-03-23 08:47:26 +01:00
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
2209078f5c
Adjust UI highlights based on chain/node color settings (#2384)
* Adjust app hightlights

* Default fallback
2020-03-14 08:49:50 +01:00
Keith Ingram
38405a8d3a
Display collective prime voter info and warnings (#2374)
* Display prime voter info

* enhancements

* Update packages/page-council/src/index.tsx

* Use React.memo, align society with council displays

* Fix merge lints

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-03-13 12:39:37 +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
1ac640f107
Add password confirmation (#2365)
* Add password confirmation

* Update mock for state_getKeys

* Bump API (indices support)
2020-03-10 20:23:05 +01:00
Jaco Greeff
4d1908ed4d Bump API 2020-03-09 19:23:39 +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
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