Commit Graph

85 Commits

Author SHA1 Message Date
Jaco Greeff
6f0d8f85a4
Allow Ledger for Polkadot (#3022)
* Allow Ledger for Polkadot

* Bump deps

* getLedger with chain info
2020-06-22 22:20:37 +02:00
Jaco Greeff
16eaca36f6
Suggest max values in bonding (leaving existential) (#2985) 2020-06-19 11:48:57 +02:00
Jaco Greeff
519af249f3
Disable QR seed import on IPFS (#2979) 2020-06-18 12:52:23 +02:00
Jaco Greeff
0973bf2aa5
Split sign/send for UI updates (#2971)
* Add ProxySigner (update wrapper)

* setTimeout(1)

* Split sign & send parts
2020-06-17 12:32:25 +02:00
Jaco Greeff
dc7b4cb449
Multisig final detection (#2900) 2020-06-08 11:25:21 +02:00
Ivan Rukhavets
368fefef72
Electron app: save accounts to FS, do not download backup, hide warning banner (#2880)
* Electron app: save accounts to FS, do not download backup, hide warning banner

* extract store
2020-06-04 19:58:48 +02:00
Jaco Greeff
c60ba8708a
Bumps w/ eslint (#2802)
* Bumps w/ eslint

* Additional

* Additional

* Additional

* Additional

* Remove style props

* Additional

* Additional

* Additional

* Additional (< 100)

* eslint passes, tsc next

* tsc fixes

* Update deps

* Update i18n
2020-05-24 19:41:14 +02:00
Jaco Greeff
d06c6bd818
Move back initSettings (#2783) 2020-05-20 23:54:40 +02:00
Krzysztof Jelski
e38b27ad90
Basic Electron App setup (#2765)
* Basic Electron setup.

* wip

* Integrate electron with react components from apps workspace

* Refactor package.json scripts.

* Copy public files from apps.

* Import 'initSettings' from apps workspace, fix code style, move scripts into global package.json

* Add build electron step into CI

* Split webpack file into renderer and main

* Add HMR into renderer.config

* Add optimization process in main webpack configuration

* Add ts translation in main webpack config and fix electron start script

* Update dependencies.

* Update dependencies. Change package name.

* Move initSettings func into Api component

* Extract webpack base config and move initSettings into react-api

* Fix webpack config and simplify initSettings import

* WIP on packing electron app (electron.ts doesnt have relative path)

* Fix relative path to the main index.html

* Add README in electron package, update main package.json scripts, add mention about electron-package in main README

* Remove unused dependencies form electron package.json

* Missing file from merge

* Fix main README and change name field in main package.json

* Update dependencies.

* Remove old webpack-dev-serve (creating issues with plugin)

Co-authored-by: jozwiak <kubencki@gmail.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-05-20 13:29:25 +02:00
Jaco Greeff
0e53569f12
Cleanup old cache entries (#2771) 2020-05-19 11:06:55 +02:00
Jaco Greeff
8f8f87234c
Re-bump extension injector (#2622) 2020-04-24 12:40:19 +02:00
Jaco Greeff
0c7c08a323
Extension load adjustments (#2621) 2020-04-24 12:17:33 +02:00
Jaco Greeff
fb3ea44120 Promise resolve fix 2020-04-22 22:18:54 +02:00
Jaco Greeff
a95f73e90f
Re-add extension load init (#2602) 2020-04-22 22:01:47 +02:00
Jaco Greeff
556a9cd98a
Use web3Enable as-is (loading even in latest beta) (#2598) 2020-04-21 15:28:42 +02:00
Jaco Greeff
a8d6ba7863
Use system_chainType (#2559)
* Use system_chainType

* Formatting cleanups

* Alignment of Expander -> BalanceFormat

* Formatting
2020-04-12 13:32:43 +02:00
Jaco Greeff
67b70b075e
Rewrite yarn.lock (#2504) 2020-04-01 23:34:51 +02:00
Jaco Greeff
9a6c55a40b
Bump dev (incl. eslint fixes) (#2502) 2020-04-01 21:31:36 +02: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
Jaco Greeff
519b2f4848
Allow extension metadata update (#2458)
* Allow extension metadata update

* Counter + display

* add icon

* getSystemIcon import

* Upgrade with types & calls

* trigger displays

* Bumps

* Bump
2020-03-26 11:35:43 +01:00
Jaco Greeff
1c133e7fc7
React API cleanups (#2412)
* React API cleanups

* ApiState cleanups

* Remove stray log from earlier
2020-03-18 09:47:26 +01:00
Jaco Greeff
fb60f89582
Bump API (+ small fixes) (#2410)
* Bump API (+ small fixes)

* Actual API bump
2020-03-18 00:46:20 +01:00
Jaco Greeff
15c6b90b6a
Introduce React.memo for react-components (#2404)
* Introduce React.memo for react-components

* Api with memo

* Cleanup Dropdown

* Adjust toggle highlight

* Chart exports
2020-03-17 12:49:42 +01:00
Jaco Greeff
5956819162
Enable extensions on load event (safety net) (#2401)
* Enable extensions on load even (safety net)

* Bumps
2020-03-17 07:34:03 +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
1f6fc07e0b
Swap tokenSymbol to default when not specified (#2301)
* Swap tokenSymbol to default when not specified

* Bumps
2020-02-25 12:24:56 +01:00
Jaco Greeff
f80e22a883
Updates for lazy payouts (#2292)
* Updates for lazy payouts

* Add chain overrides

* Align currentEra & indexes

* Empty nominator updates

* currentElected -> nextElected

* Bump deps

* Bump api
2020-02-24 21:00:39 +01:00
Jaco Greeff
ecef8ca8cd
Adjust Edgeware types (imports) (#2294)
* Adjust Edgeware types (imports)

* Bump deps
2020-02-20 14:20:28 +01:00
Jaco Greeff
ba42a5cce4
Edgeware upgraded to new BalanceLock (#2290) 2020-02-19 13:08:14 +01:00
Jaco Greeff
a77cc5805b
Adjust ChainImg (node renames) (#2287)
* Adjust ChainImg (node renames)

* Bumps
2020-02-18 21:51:19 +01:00
Jaco Greeff
3f543ac340
Set registry ss58Format based on overrides (#2286) 2020-02-18 16:48:52 +01:00
Jaco Greeff
0c98fc0efc
Set missing ss58 global (keyring doesn't set) (#2282) 2020-02-17 20:53:34 +01:00
Jaco Greeff
64061d44d4
Egdeware logo fix (#2281) 2020-02-17 17:41:03 +01:00
philipstanislaus
c6a2f341f3
Add centrifuge chain types (#2268) 2020-02-11 20:49:25 +01:00
Jaco Greeff
042242b60b
Address -> AccountId support for Polkadot/Kusama-next (#2257)
* Address -> AccountId support for Polkadot/Kusama-next

* BalanceLock types for Edgeware & Kulupu
2020-02-10 21:11:52 +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
d0ed2897cb
Add Westend, externalize endpoints (#2171)
* Add Westend, externalize endpoints

* Update scanner with all current namespaces

* WebEnd type overrides

* Westend link to Polkascan
2020-01-24 11:14:45 +01:00
Jaco Greeff
0aa6c99a0d
Swap Edgeware types to published (#2173) 2020-01-23 11:24:37 +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
384d2160cf
Adjust overlays (#2142) 2020-01-17 15:29:02 +01:00
Jaco Greeff
e9de3cf489
API cleanups (#2139)
* API cleanups

* Revert ready setting

* ... oops

* Adjust dropdown right margin

* API -> functional
2020-01-17 13:04:41 +01:00
Jaco Greeff
272bc66a65
Kulupu (#2092)
* Kulupu

* Add old DispatchInfo ovverride

* Old DispatchError & DispatchResult

* Moment typo
2020-01-08 12:53:15 +01:00
Jaco Greeff
562e11dc06
Bump deps (#2091) 2020-01-06 16:16:50 +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
74dbf64808
Add useIsMountedRef hook (#2041)
* Add useIsMountedRef hook

* Use mounted ref on async operations (staking)

* Rework historic caching

* linting
2019-12-13 17:22:14 +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
1524e086a6
Update ValidatorPrefs for Edgeware (#2029) 2019-12-10 21:32:36 +01:00
Drew Stone
434997055e Update extra key (#2027) 2019-12-10 15:48:07 +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