Jaco Greeff
67b69dc976
Split Sidebar flags (& use <Tag /> component) ( #2609 )
...
* Split Sidebar flags (& use <Tag /> component)
* Fix Account flags expansion
2020-04-23 10:49:34 +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
f3f3ade6ce
Council proposal to functional ( #2553 )
...
* Council proposal to functional
* Small cleanups
2020-04-11 20:44:10 +02:00
Jaco Greeff
936cc70d00
Treasury tipping ( #2551 )
2020-04-11 15:27:25 +02:00
Jaco Greeff
7e03898bb3
Cleanup "as any" on derive with useCall ( #2549 )
...
* Cleanup "as any" on derive with useCall
* Alignment
2020-04-11 11:43:21 +02:00
Jaco Greeff
d677d64817
UI support for simple payouts ( #2509 )
...
* UI support for simple payouts
* payout modal
* Adjust with era filtering
* Slow as molasses, but seems working
* Adjust th vertical alignment
* Bump API
* Update
* Cleanup reward retrievals
* linting
* Bumps
* Some rendering optimizations
* Re-add counter
* Fix new header linting
* Actual API bump
* Bumps
* Adjustments
* Adjust payouts as stand-alone tab
* Adjust nominations
* rm unused style
* change offsets
* Adjust
2020-04-08 16:39:32 +02:00
Jaco Greeff
9a6c55a40b
Bump dev (incl. eslint fixes) ( #2502 )
2020-04-01 21:31:36 +02:00
Jaco Greeff
fda189f15f
Adjust for new elections (use API derives) ( #2485 )
2020-03-30 14:25:53 +02:00
Jaco Greeff
3dfaf17ca8
Combine status event types ( #2478 )
...
* Combine status event types
* Adjust some tables
* Adjust targets
2020-03-29 10:04:21 +02:00
Jaco Greeff
b4d0ff93a2
Bump API (dispatchQueue derive) ( #2467 )
...
* Bump API (dispatchQueue derive)
* with democracy.nextExternal
2020-03-27 21:26:23 +01:00
Jaco Greeff
cdd9b5bd56
Bump API (derived type naming updates) ( #2465 )
2020-03-27 16:05:20 +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
Jaco Greeff
76b16913c2
Cleanups for AccountName ( #2446 )
...
* Cleanus for AccountName
* Remove unused toggle prop
* Re-add toggle
2020-03-23 17:18:31 +01:00
Jaco Greeff
55b8a60889
Cleanup some submission modals ( #2439 )
...
* Housekeeping, rename copyright headers
* Cleanup some submission modals
2020-03-23 09:03:27 +01:00
Jaco Greeff
b720cd1443
Hooks reworks with mounted refs ( #2417 )
2020-03-18 13:51:33 +01:00
Jaco Greeff
be2fe9c36d
Apply era filter onlly on recent ( #2415 )
2020-03-18 11:01:34 +01:00
Jaco Greeff
bb911aa9bb
Fix spinning rewards counter ( #2414 )
2020-03-18 10:35:08 +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
0aab9fd809
Staking counter does not display last claimed ( #2413 )
2020-03-18 09:36:39 +01:00
Jaco Greeff
78bef6d4c2
Remove timeouts from call unsubs ( #2393 )
2020-03-16 10:50:53 +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
Jaco Greeff
d1ef960c40
User latest era only for global staking counter ( #2382 )
2020-03-13 22:17:09 +01:00
Jaco Greeff
ec7b1b65b5
Bump API ( #2378 )
2020-03-12 23:55:08 +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
304dab95cc
Add React.memo to some components ( #2375 )
...
* Add React.emomo to some components
* Linting
2020-03-12 11:15:38 +01:00
Jaco Greeff
ac8c7cc410
Add global reward alert for payouts ( #2370 )
2020-03-11 17:30:01 +01:00
Jaco Greeff
45265f7cd3
Optional call
2020-03-09 21:42:25 +01:00
Keith Ingram
3afceac9d1
Parachains app ( #2308 )
...
* parachains app
* fin
* fin
* rec changes
* Fix sudo lookup
* sudoKey is already a string
* fix CI
* Fix build, re-gen i18n
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-03-02 08:48:29 +01:00
Keith Ingram
1c8e504457
TxButton to functional ( #2314 )
...
* TxButton to functional
* bug fix
* Small moves
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-03-01 18:55:54 +01:00
Jaco Greeff
756203fab8
Pull in collective hooks (from PR) ( #2264 )
2020-02-11 15:24:09 +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
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
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
24526345dc
Rework staking accounts layout ( #2031 )
...
* Rework staking accounts layout
* Optimize sort, simple substract
* Unneeded ?.
* Remove AddressCard
* Bump API
2019-12-11 18:37:57 +01:00
Jaco Greeff
0402d0e10f
Force reward retrieval to single-shot ( #2013 )
...
* Force reward retrieval to single-shot
* Remove inner setTimeout
2019-12-08 22:00:29 +01:00
Jaco Greeff
d2322b4d32
Fix refresh on council proposals ( #2012 )
2019-12-08 19:34:49 +01:00
Jaco Greeff
c58cbc6eaf
Fix useStream unsub ( #2010 )
...
* Fix useStream unsub
* non-deobounced on input
2019-12-07 23:19:14 +01:00
Jaco Greeff
644fd0099a
Improve rewards rendering
2019-12-06 00:10:23 +01:00
Jaco Greeff
c0b9451b78
Bump deps ( #2001 )
...
* Bump deps
* Rewrite
2019-12-05 13:18:38 +01:00
Keith Ingram
a69bdfeef1
Propose tech committee motions ( #1996 )
...
* Propose tech committe motions
* bug, ignore .vscode
* linting
* Some cleanups
* Move Propose back
2019-12-04 12:22:19 +01:00
Keith Ingram
9bc6194265
Replace TxComponent and TxModal (base) ( #1951 )
...
* essentials
* cleanup
* versions
* rv file
* useForm function refs
* restore button ref
* adjust TxModalNew
* refactor
* useTx
* arg
* rework
* linting
* restore changed comps
2019-12-02 13:42:49 -08:00
Jaco Greeff
2175a11e24
Proposal counters ( #1982 )
2019-12-02 19:41:43 +01:00
Jaco Greeff
50e44f2f2f
Fix historic blocks produced display ( #1966 )
2019-11-30 13:11:37 +01:00
Jaco Greeff
2648ee30e2
Bump API ( #1907 )
...
* Tracker updates
* Bump API
* Fix linting
* track* comments
2019-11-19 10:59:02 +01:00
Jaco Greeff
c337e4dacb
Show rotate keys (as available) ( #1906 )
2019-11-18 16:44:37 +01:00
Jaco Greeff
b82b769ca5
Cleanup reward graphs ( #1904 )
...
* Cleanup reward graphs
* Cleanup import
2019-11-17 14:37:33 +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