Commit Graph

250 Commits

Author SHA1 Message Date
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
a64414b793
Bump extension libs, allow for new signed extensions (#2748) 2020-05-14 11:28:20 +02:00
Jaco Greeff
aa2074b20c
Slit Sidebar address Identity rendering (#2701) 2020-05-07 13:51:56 +02:00
Jaco Greeff
9dda5667b2
Relative content (#2688) 2020-05-05 10:12:05 +02:00
Jaco Greeff
363442a905
Fix scroll tearing (#2681) 2020-05-03 09:32:27 +02:00
Jaco Greeff
f21ae871f3
Load all namespaces up-front (no indv. queries) (#2680)
* Move i18n app to settings (discoverability)

* Load all namespecas up-front (no indv. queries)
2020-05-03 08:53:59 +02:00
Jaco Greeff
70045a9b85
Adjust i18next options for current (#2672) 2020-05-01 22:16:53 +02:00
Jaco Greeff
c72aa99195
Adjust signer modal with Columns (#2662)
* Adjust signer modal with Columns

* Small multisig adjustments
2020-04-30 14:24:53 +02:00
Jaco Greeff
1f6ffea2b8
i18n linting script (missing, extra) (#2629)
* i18n linting script (missing, extra)

* Correct missing top-level check

* Cleanup dead keys, split apps-routing

* Working with all keys detected

* Update routes export

* Last hanging bits
2020-04-25 15:18:11 +02:00
Keith Ingram
9703811f8b
AddressMenu popup when clicking on address name (#2563)
* AddressMenu

* use menu

* refactor

* draft

* cleanup

* Sidebar

* Sidebar

* improvements

* redesign

* bump

* Small adjustments

* Layout adjustments, useCallbacks (not perfect...)

* Remove _setName with extra effect, re-add badges (edit missing)

* Missing useCallback in Address

* no withSidebar on AddressToggle

* useAccountInfo CPU spikes (split effects, no useCallback deps)

* Alway have underline (even on address)

* secondary button color

* Add name callback

* Make identity appear with displayname

* Adjust judgement button position

* UI adjustments

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-04-22 19:43:20 +02:00
Jaco Greeff
eb6b27750a
Remove unneeded InputBalanceBonded indirection (#2585) 2020-04-20 08:30:16 +02:00
Jaco Greeff
8fcf2d8864
Adjust ErrorBoundary with trigger, cleanup InputAddress outer icon (#2528)
* Adjust ErrorBoundary with trigger, cleanup InputAddress outer icon

* Remove extra fluff
2020-04-07 17:12:04 +02:00
Jaco Greeff
978c83d3e1
Add stylelint (testing impacts) (#2524)
* Add stylelint (testing impacts)

* "defaultSeverity": "warning"

* Cleanup Table styles

* Default parser
2020-04-07 10:49:30 +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
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