Commit Graph

171 Commits

Author SHA1 Message Date
Jaco Greeff
d3bd098f9a
Place authors on a context (#1808)
* Pleace authors on a context

* Cleanup empty effect

* Cleanup context, no new object
2019-10-29 15:00:03 +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
6a79ce2f53
Apps wrapper to functional (#1734) 2019-10-21 11:47:49 +02:00
Jaco Greeff
a6d2dcaf72
Expose and use StatusContext (#1725) 2019-10-15 10:07:54 +02:00
Eswara Sai
2a4d761e0f Added parser to extract i18n strings (#1710)
* Added parser to extract i18n strings

* Fixed issues with eslint for config file

* Moved i18n locales to apps/public folder

* Updated script to have i18n strings as default value
2019-10-11 15:12:36 +02:00
Jaco Greeff
16924fff15
Extra RPC endpoint split on hash (#1708) 2019-10-08 16:29:27 +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
5ee21ae275
Staking performance updates (#1670)
* Staking performance updates

* More default on props
2019-09-26 22:21:16 +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
3a9d67f398
Add GlobalStyle component (#1638)
* Add GlobalStyle component

* Move all react-component/styles -> styled-components
2019-09-20 12:05:23 +02:00
Jaco Greeff
a66577eda4
More functional component conversions (#1633)
* More functional component conversions

* Cleanups

* functional Elapsed

* Status -> functional

* Couple more

* One more tiny one
2019-09-19 17:57:32 +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
Jaco Greeff
f178674d7f
No wss warn on 127.0.0.1 (#1597) 2019-09-09 08:21:51 +02:00
Jaco Greeff
ed29ca4aa8
Fix Connecting (#1595)
* Fix Connecting

* Remove stray log
2019-09-09 07:43:02 +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
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
e4c933cc87
Bump deps (#1560) 2019-08-30 09:09:11 +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
4c53997b66
Bump deps (#1543) 2019-08-27 15:19:59 +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
cb2d0b6bfe
BlockNumber/Index as u32 default (#1493)
* BlockNumber/Index as u32 default

* Adjust message

* Remove extra createType (prefer primitives)

* Bump API

* Bump API, EventRecord injection
2019-08-11 19:33:15 +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
9d76cadeec
Update for new Extrinsic v1/v2 support (#1435)
* Pull era/nonce/signer information for Extrinsic

* Bumop api... here we go...

* Fixup types, only signer is left

* Stub signer

* Apisigner operational
2019-07-22 21:27:17 +02:00
Jaco Greeff
7dd6930163
Display extension info for "create now" overlay (#1430)
* Display extension info for "create now" overlay

* Revert banner sharing

* Lint
2019-07-21 20:18:06 +02:00
Jaco Greeff
083ee86226
Allow passing of endpoint via url (#1382)
* Allow passing of endpoint via url

* Add latest query-string package
2019-07-17 13:46:00 +02:00
Jaco Greeff
8bb35dd9ff
Complete eslint swap (#1407) 2019-07-16 11:56:40 +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
facf34cc2f
Additional syled-component conversions (#1265)
* Additional syled-component conversions

* Small updates

* Providers to index

* Cleanup linting
2019-06-04 13:30:16 +02:00
Jaco Greeff
ba6b0c6df7
Basic council overview (#1267)
* Cleanup styles for staking

* Basic council members list

* AddressRow adjustments

* Less-spacy rows

* Adjust after merge

* Move accounts to first tranch

* s/council/members/

* Update CardGrid.tsx

* Remove any on styled props

* Small readability tweak
2019-06-04 10:04:14 +02:00
Thibaut Sardan
66eb434e31 Direct link to account creation (#1266)
* create link

* comment
2019-06-03 11:51:08 +02:00
Jaco Greeff
c9f023c1a2
Small overlay adjustments (#1261)
* Small overlay adjustments

* Adjust radius

* Remove unneeded any

* Remove apps/tyles.ts

* Adjust styles, always with close
2019-06-02 16:29:55 +02:00
Jaco Greeff
6ef01c0024
Render AddressRow balances from AddressInfo (#1259)
* Render AddressRow balances from AddressInfo

* Extract BalanceActiveType

* Filtering around AddressSummary children
2019-06-01 08:36:28 +02:00
Jaco Greeff
8fc1be3a27
Disable react-hot-loader (#1257) 2019-05-31 17:30:34 +02:00