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
c3e16ac040
s/useApiContext/useApi/ ( #1900 )
2019-11-16 20:21:46 +01:00
Jaco Greeff
e0acd15b43
useAccounts hook ( #1898 )
...
* useAccounts hook
* Drop some withRouter
* Add setImmediate to trackStream
* Combine unsubscribe into subscribe
* Use before define
* Ass trackPromise
* Cleanup mapping for params
* Addressbook display
2019-11-16 10:13:07 +01:00
Jaco Greeff
c167227845
Add useApiContext ( #1890 )
...
* Add useApiContext
* Add missing withApiContext import
* useCacheKey, rename headers
* Adjustment on sessionRewards naming
* Renames based on defacto standards
2019-11-15 10:51:12 +01:00
Jaco Greeff
03158fb594
Add useFavorites hook (incl. react-hooks package) ( #1873 )
...
* Add useFavorites hook
* useFavorites to Nominate
* Fix filter: grayscale positioning
2019-11-12 18:32:52 +01:00
Jaco Greeff
a79d909886
Add global event context ( #1851 )
...
* Global event context
* Cleanup events
* Slice logs
* event adjustments
* Keep old events
* Cleanup props
2019-11-08 09:45:41 +01:00
Jaco Greeff
e3bca04936
Staking RPC & UI optimizations ( #1833 )
...
* Staking query optimization
* Final roundup
* Bump API with new derive interfaces
2019-11-02 23:54:23 +01:00
Jaco Greeff
11cc4c57d6
Share BlockAuthor context with explorer ( #1809 )
2019-10-29 15:36:38 +01: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
0e70ce1b8b
Some more css -> styled conversions ( #1677 )
2019-10-01 14:29:56 +02:00
Jaco Greeff
f5b0247270
Additional func. component conversions ( #1659 )
...
* Additional func. component conversions
* rendering function cleanups (pre-convert)
* Additional
* Forks to functional
2019-09-26 16:16:07 +02:00
Jaco Greeff
5aac644a4e
Small explorer query fixes ( #1654 )
2019-09-24 16:46:40 +02:00
Jaco Greeff
00048285d0
Some more functional component conversions ( #1648 )
2019-09-23 17:46:15 +02:00
Jaco Greeff
a9cd43c8f0
Some more func component conversions ( #1639 )
2019-09-20 12:04:58 +02:00
Jaco Greeff
51fcab9fc8
Enable Forks, swap Explorer app to func ( #1637 )
...
* Enable Forks, swap Explorer app to func
* thisEventHash -> newEventHash
* Linting
* Back to fragments
2019-09-19 15:30:51 +02:00
Jaco Greeff
1e0c99dae3
Minor func. component updates ( #1631 )
...
* Minor func component updates
* Swap peer summary to functional
* Swap to setInterval
* Remove unneeded catch
2019-09-19 11:55:44 +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
7a75a85842
Fix staking display for Edgeware ( #1611 )
2019-09-13 13:02:01 +02:00
Jaco Greeff
72f803926f
Some small component conversions ( #1581 )
...
* Some small component conversions
* Default exports
* Squashing
* Some additional components
* Linting
2019-09-13 10:29:44 +02:00
Jaco Greeff
387550f2be
Some additional fork stats ( #1604 )
2019-09-12 18:09:58 +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
fbcb0f3001
Detect periods as secs or miliseconds ( #1580 )
...
* Detect periods as secs or miliseconds
* Cleanup timer unmount
* Additional NodeInfo cleanups
2019-09-03 14:43:00 +02:00
Jaco Greeff
52ab9ac0e3
withApi -> useContext (fixes ref issues) ( #1576 )
2019-09-03 10:19:50 +02:00
kwingram25
5f49e6c8d6
Functional components (react-query, react-params, misc) ( #1567 )
2019-09-01 14:24:14 +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
kwingram25
2752bedc6e
Functional components (app-*) ( #1559 )
...
* Functional components (app-*)
* refactor
* refactor
* refactor
* refactor
* refactor
* Revert "refactor"
This reverts commit 300a12ed7de5b1000f32f5269dff67f5ee1c1515.
* onRemove
2019-08-29 17:45:02 +02:00
Jaco Greeff
66ca8ea61e
Hygiene, some additional type -> interface ( #1552 )
...
* Higene, some additional type -> interface
* Liniting
2019-08-28 12:52:48 +02:00
Jaco Greeff
c5bf7427ef
Fix index position ( #1548 )
2019-08-28 10:04:42 +02:00
Jaco Greeff
351f8a57fd
Remove "slots" wording in epoch & era ( #1537 )
2019-08-26 10:20:55 +02:00
Jaco Greeff
b525abeeeb
Forks by height (in addition to width & finalized) ( #1535 )
...
* Forks by height (in addition to width & finalized)
* Bump API (SetId)
2019-08-26 09:14:11 +02:00
Jaco Greeff
8e2551138e
Swap to subscribeNewHeads in API ( #1529 )
2019-08-24 12:47:26 +02:00
Jaco Greeff
e22cd8cfa4
Typo in className ( #1528 )
2019-08-24 09:01:37 +02:00
Jaco Greeff
059c568dda
Rework fork display, cleanup linking ( #1526 )
...
* Rework fork display, cleanup linking
* Sort
* Rendering via links (with linear drops)
* Additional comments around structure
2019-08-24 08:27:47 +02:00
Jaco Greeff
2fea198765
AuraBabe fork display ( #1518 )
...
* AuraBabe fork display
* Ok, well, it does something... theoretically...
* Ok, yes, well, it does do _something_
* Updates, seems to do the trick
* Adjust sizing
* Vertical ellipsis
* Add comments around process
* blockNumber class
* Retrieving missing headers
* Extra checks for tree ellipsis
2019-08-22 15:26:40 +02:00
Jaco Greeff
9a77b6165f
Bump API (new SignedExtra) ( #1511 )
2019-08-19 10:15:52 +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
3c88e7ecd9
Bump api ( #1468 )
2019-08-02 16:07:52 +02:00
Jaco Greeff
0ad96ed8d6
Support Babe session/era progress ( #1458 )
2019-07-30 15:38:17 +02:00
kwingram25
e8a02b754b
Add tip to signer ( #1448 )
...
* Add tip to signer
* preserve payload.tip
* add tip to block explorer
* toBn
* caps
* deps
* greater than zero
2019-07-29 12:49:43 +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
c774ec907d
Add birth to mortality ( #1411 )
2019-07-16 16:29:03 +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
kwingram25
e9b5f72e8b
Change council to collective/elections ( #1398 )
...
* Change council to collective/elections
* fix proposal type
* package
2019-07-14 20:26:32 +01:00
kwingram25
fee32b2cd5
Mortal/immortal extrinsics ( #1393 )
...
* show mortality
* NodeInfo
* NodeInfo
2019-07-12 15:11:34 +01:00
kwingram25
b74755bbaa
Treasury app ( #1324 )
...
* treasury app
* fixes
* more fixes
* treasury app
* fixes
* more fixes
* fixes + collections
* force travis
2019-06-25 15:20:53 +01:00
Jaco Greeff
c76161263b
Small rework of styled (to bottom) ( #1310 )
...
* Small rework of styled (to bottom)
* Add isRoot to council
2019-06-19 17:31:31 +02:00
Jaco Greeff
39df1c060b
Bump API, adjust era/session index ( #1298 )
...
* Bump API, adjust era/session index
* Bump, nextSessionId
2019-06-16 00:13:09 +02:00