Commit Graph

46 Commits

Author SHA1 Message Date
Jaco Greeff
1b6bd4eeaf
Allow final prcedence for registry types (#3154) 2020-07-09 18:08:08 +02:00
Jaco Greeff
a0cec26a52
Warning on no injected accounts (#3126) 2020-07-04 21:55:01 +02:00
Jaco Greeff
6a393256a4
Bump API, cater for new OpenTip structure (#3096)
* Bump API, cater for new OpenTip structure

* Simplify assignment

* Cleanups after latest typescript-eslint breakages

* More...

* Last-ish round
2020-06-30 13:43:06 +02:00
Jaco Greeff
16eaca36f6
Suggest max values in bonding (leaving existential) (#2985) 2020-06-19 11:48:57 +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
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
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
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
562e11dc06
Bump deps (#2091) 2020-01-06 16:16:50 +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
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
Keith Ingram
7e65066d18 Functional InputNumber with fixed bugs (#1820)
* Functional InputNumber

* linting

* linting

* remove max button

* linting

* linting

* version

* version

* combine values

* fix

* Re-enable SI dropdown

* KSM  formats

* Formatting tweaks

* Mini fixes

* Adjust postfix opacity

* Linting

* More linting

* Remove unneeded list override

* Misc small adjustments

* Vertical alignment
2019-11-12 12:00:44 +01:00
Jaco Greeff
a7404079cb
Bump deps (#1849) 2019-11-07 00:25:40 +01:00
Jaco Greeff
6efee435b6
Bump deps (#1657) 2019-09-25 14:41:07 +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
2b505a3c13
ss58Format overrides (#1630) 2019-09-18 17:25:13 +02:00
Jaco Greeff
514d99894d
Bump deps (#1603) 2019-09-12 16:32:40 +02:00
Jaco Greeff
ceedb44699
Edgeware support (#1577)
* Add edgeware types to the base

* Fix edgeware type imports

* Swap calcSignLength to BN result

* Don't allow max to go negative
2019-09-03 12:46:05 +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
28e254150c
Use ss58Format from chain properties (#1517)
* Use ss58Format from chain properties

* Linting
2019-08-21 20:28:30 +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