Jaco Greeff
19d49f09be
Move to Ledger usage with hook ( #4195 )
...
* Move ledgerChains to apps-config
* Swap Ledger capabilities to hook
* Fix type usage
* getLedger returns promise
* Revert promise result
* cleanup
* use has ledger support (#4413 )
* use hasLedgerSupport
* Bump common
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
2021-01-14 20:58:02 +01:00
Jaco Greeff
41df626547
Bump networks (w/ hasLedgerSupport flag) ( #4415 )
...
* Bump networks (w/ hasLedgersupport flag)
* genesisHex
2021-01-14 16:38:26 +01:00
Jaco Greeff
5f3bd186c7
Add ump/dmp/hrmp queue sizes ( #4412 )
2021-01-14 14:37:43 +01:00
Jaco Greeff
6dbb188a1a
2021 ( #4310 )
2021-01-03 11:33:39 +01:00
Jaco Greeff
8f8118a5b9
ss58Prefix from consts (w/ API bump) ( #4308 )
...
* ss58Prefix from consts
* bump
2021-01-02 11:28:30 +01:00
Jaco Greeff
ba46bc5b37
Move ledger config ( #4306 )
...
* Move ledger config
* naming
2020-12-31 10:47:32 +01:00
Jaco Greeff
93b38ece21
Cleanup WebPack ( #4258 )
...
* Remove unused WP5 override
* Adjust
* Additional imports
* Adjust
2020-12-21 13:15:40 +01:00
Jaco Greeff
7d071d147d
Remove global registry imports (only use on api) ( #4218 )
...
* Remove global registry imports (only use on api)
* Additional
* QR only displayed when valid
* ApiSigner
2020-12-17 11:18:34 +01:00
Jaco Greeff
530122482d
RxJs/memoizee dep cleanups (use from util) ( #4212 )
...
* RxJs/memoizee dep cleanups (use from util)
* Remove 4K runtimeChunk
2020-12-15 11:58:47 +01:00
Jaco Greeff
fe31bc522d
Sharing of user types ( #4210 )
...
* Sharing of user types
* url encoding/decoding
* assert non-array
* Developer page URL encoding
* Cleanup saving/loading encoding
* Move fflate
* CopyButton
2020-12-15 10:54:40 +01:00
Jaco Greeff
e4fc6b7aea
Move moonbeam/sora RPCs to bundle-only ( #4174 )
...
* Move moonbeam/sora RPCs to bundle-only
* Update packages/react-components/src/InputRpc/useRpcs.ts
2020-12-08 16:38:01 +01:00
Jaco Greeff
58c27ed919
Bumpi API (bounty derives, typesBundle rpcs) ( #4173 )
...
* Bumpi API (bounty derives, typesBundle rpcs)
* linting
2020-12-08 16:09:56 +01:00
Ewa Kowalska
541213f233
Ek extract type only imports into separate group ( #4168 )
...
* Plug new beta of eslint plugin simple import sort
* Apply new configuration to existing imports
2020-12-07 16:04:05 +01:00
Jaco Greeff
c72a86f349
0.70 CHANGELOG ( #4165 )
2020-12-07 12:17:15 +01:00
Ewa Kowalska
87505b1c59
Eslint imports ( #4037 )
...
* Add eslint configuration
* Patch eslint plugin for sorting imports
* Apply eslint rules for imports
2020-12-01 14:40:42 +01:00
Jaco Greeff
754dc574e0
interface extends as appropriate ( #4067 )
2020-11-25 12:14:50 +01:00
Jaco Greeff
a0b82d88a4
Use import type { ... } ( #4052 )
...
* Use import type { ... }
* value imports
* TypeDefInfo
* Apply suggestions from code review
* fixes... am going blind.
2020-11-19 16:20:14 +01:00
Jaco Greeff
fce4f76297
Adjust config imports/exports ( #4051 )
...
* Adjust config imports/exports
* Move type import
* yarn
* drive-by type imports
2020-11-19 14:17:29 +01:00
Jaco Greeff
b08a783081
Display API errors with overlay ( #4048 )
2020-11-19 09:49:51 +01:00
Jaco Greeff
1bcd8e4821
s/moonbase-alphanet/moonbeam-alphanet/ ( #4014 )
...
* s/moonbase-alphanet/moonbeam-alphanet/
* colors
* Colors & logo for moonbase
2020-11-11 18:07:30 +01:00
Jaco Greeff
64299ebd29
Dev bump ( #4012 )
...
* Bump API/Common (esnext exports)
* Bump deps
* Adjust
* Bumps
* Bumps
* repository
* Update dev
* Remove Rococo (for the time being)
* script extension
2020-11-11 15:28:52 +01:00
Antoine Estienne
31904bf106
Support ethereum addresses for Moonbeam ( #3961 )
...
* support ethereum addresses
* corrections
* add standalone url and ethereum identicons
* add moonbeam config
* added changes from the old pr
* add new config
* added dummy rpc method declarations for eth methods
* wip fix address add modal
* support ethereum addresses
* corrections
* add standalone url and ethereum identicons
* add moonbeam config
* added changes from the old pr
* add new config
* added dummy rpc method declarations for eth methods
* wip fix address add modal
* wip repair app with new keyring
* use isDevelopement false for ethereum
* lint
* more formatng
* eth addresses by default for account creation
* added many more types to support moonbeam
* added color
* add h160 to types and components
* add rpc methods to app-config
* lint
* polish
* Update packages/react-params/src/initValue.ts
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
* Apply suggestions from code review
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
* moved ethereum networks to config
* added real rpc method typings
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-11-10 18:12:11 +01:00
Jaco Greeff
a7f2860d1c
Adjust contract Abi formatters for Balance ( #3920 )
...
* Adjust contract Abi formatters for Balance
* Update packages/react-components/src/util/getContractAbi.ts
* Bump API
2020-10-23 00:37:48 +02:00
Krzysztof Jelski
7b387762bd
Updated flow for creating accounts ( #3880 )
...
* Add 3 step account creation
* Add textarea with dropdown
* Add OWASP and styles to PasswordStrength
* Align the checkbox with other ui elements
* Notification on mnemonic copy
* Make confirmation label clickable
* Do not shorten address in creation modal
* Make address name not editable in header
* Always show password strength meter
* Always show password strength meter
* Update tests to new account flow
* Remove repeated dependency
* Remove console.log from test
* Update yarn.lock
* Restore imports order.
* Format div component according to style
* Remove cursor styling for old browsers
* Empty line
* Organize imports. Configure StrengthTester once. Use color from theme.
* wip on text area
* TextArea styling
* Checbox styling
* Update repeated password validity on first password change
* Simplify CopyButton notification code.
* Change TextArea styling to more consistent
* Make password strength indicator wider
* Move external warning down and show on both steps
* Inline TextArea subcomponents
* Move mnemonic saved confirmation label closer to buttons
* Add steps counter to header
* Remove space
Co-authored-by: Michał Ziętalak <michal.z@ethworks.io>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-10-22 15:59:01 +02:00
Jaco Greeff
893356fc50
Move extension init ( #3899 )
2020-10-19 15:17:29 +02:00
Jaco Greeff
b84e0313a3
Pull metadata decimals/ss58 from Api ( #3879 )
2020-10-15 12:29:43 +02:00
aniiantt
c08f874962
Acala upgrade testnet ( #3857 )
...
* upgrade acala types
* upgrade to acala tc5
* fix lint
* delete acala typesspec
* use singlequote quotes
2020-10-14 07:52:08 +02:00
Jaco Greeff
59623f419b
(Very) experimental dark theme (only localhost) ( #3731 )
...
* (Very) experimental dark theme (only localhost)
* Listener for theme changes
* ThemeProps
* Use actual theme with colors
* Page background
* Adjust with theme.bgPage
* Table adjustments
* Some progress (menu & inputs)
* Adjustments in a number of places
* Progress colors
* Modals
* Some calandar stuff
* Toggle
* Updates
* Hack around dropdowns
* Popup menus
* Overlays
* Connecting overlays
2020-10-01 15:50:33 +02:00
Jaco Greeff
7ba7339d96
SPDX ( #3705 )
2020-09-17 16:46:46 +02:00
Jaco Greeff
33dad7d03a
Update Ledger capability check (w/ WebUSB) ( #3666 )
2020-09-11 22:07:29 +02:00
Jaco Greeff
8815703d00
Bump dev, fix linting ( #3603 )
...
* Bump dev, fix linting
* Small zh adjustments
* Remove rpc.* zh
2020-09-03 16:36:24 +02:00
Jaco Greeff
0af86e2e5f
Explicit aye/nay buttons (no toggle) ( #3524 )
...
* Explicit aye/nay buttons (no toggle)
* Extract isDisabled
* Remove DOT banner
* Updates
* s/New DOT/DOT/
* Bump API
* .eslintrc
2020-08-26 13:37:00 +02:00
Jaco Greeff
3cb6333181
revert api ( #3525 )
2020-08-26 12:22:16 +02:00
Jaco Greeff
80bfc6033b
Bump API ( #3522 )
...
* Bump API
* Disable problemtic rule (some valid, most not)
* Bump API
2020-08-26 12:07:43 +02:00
Jaco Greeff
7bc5c314c4
HACK for Polkadot old/new DOTs ( #3402 )
...
* HACK for Polkadot old/new DOTs
* Format M balances
2020-08-12 14:20:16 +02:00
Jaco Greeff
6a5f37fd07
Link to extension upgrade, cater for non-existing case ( #3401 )
2020-08-12 12:49:45 +02:00
Jaco Greeff
51bceafb03
JSON v3 support ( #3256 )
...
* JSON v3 support
* Update deps
* isBusy adjustments
* Cleanup import
* Linting
* trigger
* Derive fixed, remove unused styles
* Backup adjustments
* Overlay & spinner ordering
2020-07-24 10:17:14 +02:00
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
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
Jaco Greeff
f40af492d0
Apply locks per genesis range ( #1962 )
...
* Apply locks per genesis range
* Calc locks up-front
2019-11-29 11:18:54 +01:00
Jaco Greeff
a345d919c1
Non-disabled on POA states ( #1960 )
2019-11-28 21:31:30 +01:00
Jaco Greeff
50bd4037d5
Update Edgeware types (ValidatorPrefs)
2019-11-28 17:59:16 +01:00
Jaco Greeff
d36301810a
CC3 ( #1955 )
...
* CC3
* Bump API with type injection
2019-11-27 22:27:22 +01:00
Jaco Greeff
d842113151
Support v9 metadata ( #1934 )
...
* Support v9 metadata
* Cleanup key expansion
* Add isIterable
* Bump API (with V9)
* Bump common
2019-11-27 20:10:01 +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
dc588838d6
Small query cleanups (historic) ( #1905 )
...
* Small query cleanups (historic)
* Rewards average counter update
2019-11-17 22:04:24 +01:00
Jaco Greeff
488bfef0c4
Add trackStream, impl. in staking overview ( #1891 )
...
* Add trackStream, impl. in staking overview
* Use trackStream in Address
* Fix linting
* Add reward displays
2019-11-15 15:06:47 +01:00
Jaco Greeff
5e19af9810
Extract getHistory query (re-use) ( #1877 )
2019-11-13 15:34:31 +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