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
Jaco Greeff
144c8bbd85
eslint fixes (round 2) ( #1401 )
...
* eslint fixes (round 2)
* ui-params converted
* Tiny.
* Classes fix
* Some type cleanups
* Cleanup traling ,
* < 1k
* Small additions
* <750
* Mini updates modifiers
* More ui-app cleanups
* 312 problems (182 errors, 130 warnings)
2019-07-15 23:17:19 +02:00
Jaco Greeff
0e2265ff70
Some initial pre-eslint cleanups ( #1383 )
...
* Some initial cleanups
* Make it lint
* Small s/type/interface/ additions
* Small minor s/type/interface/
* More type -> interface
* Add lint:new rule
* Some small updates
* Cleanup dangling tslint issues
* Small updates
* ui-signer cleanups
* ui-reactive updated
* Make lint:new run
* Mini ui-params cleanups
* Some additions
* Tiny... and done for now.
* 1950 problems (1241 errors, 709 warnings)
* 1829 problems (1181 errors, 648 warnings)
* 1674 problems (1181 errors, 493 warnings) (no any... for now)
* Small additions.
* Array<T> -> T[] (all)
2019-07-14 22:27:12 +02:00
Jaco Greeff
5b5ab129d3
Turn SideBar transfer into modal link ( #1217 )
...
* Turn SideBar transfer into modal link
* ui--RecentlyOffline badge location
2019-05-27 22:24:59 +02:00
Jaco Greeff
9426ec9c31
Hide edit on injected accounts, Button w/ tooltip ( #1192 )
...
* Hide edit on injected accounts, Button w/ tooltip
* Don't display "add tags" when not isEditable
* Indentation
2019-05-22 22:01:55 +02:00
Jaco Greeff
1027afa7e8
Create an overlay for no accounts ( #1105 )
...
* Create an overlay for no accounts
* Overlays to the top
* Remove extrinsics, talk about hidden features
* Relocated styled-components
* Dismiss button
2019-05-09 15:45:21 +02:00
Jaco Greeff
01eba9476a
Add app dashboard (skeleton) ( #1059 )
...
* Add dashboard skeleton
* Populate dashboard
* Space comments
* typos
* Update index.tsx
2019-05-02 13:26:42 +02:00
kwingram25
0c7f1b8924
Sudo app added ( #1036 )
...
* sudo app start
* finish sudo app
* console
* split into two tabs, sidebar filtering
* unused SubjectInfo
* Attempt to get sanity into yarn.lock
* Add actual needsSudo to sudo route
2019-04-30 15:52:37 +02:00
Thibaut Sardan
1702226f07
Hide Sidebar scrollbar on Firefox ( #1026 )
2019-04-17 14:41:11 +01:00
kwingram25
f2133c653b
Wiki link ( #1020 )
2019-04-15 23:38:35 -07:00
Jaco Greeff
e5f84e8eee
Align collapse button to collapsed center ( #1012 )
2019-04-13 09:52:46 +02:00