Jaco
b957353d22
Hooks (most, no generic) via createNamedHook ( #6451 )
2021-10-30 17:30:43 +03:00
Jaco
68a423748b
Adjust createNamedHook ( #6449 )
...
* Adjust createNamedHook
* All (most) in react-hooks now named
* Add useValidators hook
* linting?
2021-10-30 13:36:05 +03:00
Jaco
60a5334ff2
Add error stakcs to useCall & ErrorBoundary ( #6447 )
2021-10-30 10:41:24 +03:00
Ewa Kowalska
03a58ad8e7
Style badges in accounts list ( #6208 )
2021-10-06 11:48:47 +02:00
MiZiet
053e0efca2
Split registrars display ( #6157 )
...
* Add subs modal
* Add tests
* Add Translations
* Improve closing modal
* Improve tests
* Improve styles
* Style balances & identity
* Optimize imports
* Improve styles
* Set greater width to balance section
* Rename subs modal toggle
* Change 'amount' to 'count' in test name
* Set make modal header fixed while content is scrollable
* Style multisig
* Update multisig styles
* Capitalize headers
* Move sidebar tests to Sidebar.spec.tsx
* Remove duplications in tests
* Add UserIcon component
* Revert subs modal changes and add scrollable section in Sidebar
* Remove unused styles
* Use accountsPage clearAccount method
* Wrap subs into Expander
* Add useSubidentities hook
* Adjust api mock in tests
* WIP - split judgements
* Display judgements
* Handle no judgements case
* [WIP] Add popup test
* Extract JudgmentTag component
* Add popup test
* Refactor tests and remove pointer from no judgements tag
* Extract JudgementTag test class
* Close popup on scroll
* Remove old section
* Clean registration
* Clean up identity in useAccountInfo and mock in Page
* Remove fragment tag
* Fix imports
* Move SortedJudgements to /types
* Move Registrar interface to types
* Refactor clickRegistrar fcn
* Move hasAccount check to isRegistrar
* Add useJudgements hook
* Rename and move getJudgementColor to utils
* Fix import and casting in tests
* Sort imports
* Add review fixes
* Fix tests
Co-authored-by: Krzysztof Jelski <krzysztof@ethworks.io>
Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-09-29 10:45:34 +02:00
MiZiet
42ef182879
Style identity and balance sections in sidebar ( #6096 )
...
* Add subs modal
* Add tests
* Add Translations
* Improve closing modal
* Improve tests
* Improve styles
* Style balances & identity
* Optimize imports
* Improve styles
* Set greater width to balance section
* Rename subs modal toggle
* Change 'amount' to 'count' in test name
* Set make modal header fixed while content is scrollable
* Style multisig
* Update multisig styles
* Capitalize headers
* Move sidebar tests to Sidebar.spec.tsx
* Remove duplications in tests
* Add UserIcon component
* Revert subs modal changes and add scrollable section in Sidebar
* Remove unused styles
* Use accountsPage clearAccount method
* Wrap subs into Expander
* Add useSubidentities hook
* Adjust api mock in tests
* WIP - split judgements
* Revert mistaken commit
Co-authored-by: Krzysztof Jelski <krzysztof@ethworks.io>
Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
2021-09-19 08:49:23 +02:00
MiZiet
b6c827a908
Remove sui popup ( #5924 )
...
* Add custom popup
* Render popup window with react portal
* Handle scroll
* Handle pointer scroll
* Refactor types
* Add useOutsideClick
* Restore button styles
* Update types
* Add tests
* Set multiple refs
* Cleanup
* Cleanup
* Move offset const to the utils
* Add useCallback in useScroll
* Remove empty lines in useElementPosition
* Change styled components to functional
* Make sure popup window stays in view
* Highlight trigger button when popup is open
* Add uesPopupWindow hook
* Make triangle larger
* Use full trigger height
* Apply new lint rules
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-08-31 09:35:33 +02:00
Vitaliy
c9aef5cfe9
Add summary bar for accounts view ( #5876 )
...
* Show basic balance info
* Show bonded summary
* Show redeemable summary
* Show unbonding summary
* Adopt linter suggestions
* Hide cards with zero balance
* Apply simplifications
Co-authored-by: Jaco <jacogr@gmail.com>
* Remove dead code
* Simplify balance==undefined case
* Add summary bar tests (#5890 )
* Add tests for summary bar
* Improve test case name
Co-authored-by: Krzysztof Jelski <kjelski@gmail.com>
* Factor empty render into a beforeEach block
* Improve name of helper variable
Co-authored-by: Krzysztof Jelski <kjelski@gmail.com>
* Construct correct instance for StakingLedger.active
* Override only the relevant parts in each test case
* Simplify test cases
Co-authored-by: Krzysztof Jelski <kjelski@gmail.com>
Co-authored-by: Jaco <jacogr@gmail.com>
Co-authored-by: Krzysztof Jelski <kjelski@gmail.com>
2021-08-18 11:26:12 +02:00
Marcin Wachulski
809520ddc0
Add app-accounts testing support ( #5872 )
2021-07-28 11:50:06 +02:00
Jaco
97d2866e6e
Use useCollectiveModule for all collective locations ( #5762 )
...
* Use useCollectiveModule for all collective locations
* staking useCollectiveModule
* Bounties useCollectiveModule
* Mock collective
* Adjust
* useMember -> useCollectiveMembers
2021-07-05 08:03:27 +02:00
Jaco
5401577bbc
Adjust contribution state update (& indicator) ( #5561 )
2021-06-11 09:48:28 +02:00
Jaco
0e72723b7b
Enable Statemine <-> Kusama (w/ fees) ( #5495 )
...
* Enable Statemine <-> Kusama (w/ fees)
* Retrievals
* text
2021-06-08 11:08:15 +02:00
Jaco
7148e7e6b6
Allow xcm asset teleport ( #5413 )
...
* Allow xcm asset teleport
* Should be operational...
* lock cron
* Teleport from parachain to relay
* Only enable on relay
* Disable para teleport
2021-06-02 15:11:11 +02:00
Jaco
ece5999bea
Inflation adjustment (based on auctions) ( #5326 )
...
* Inflation adjustment (based on auctions)
* Adjust
* Adjust
* Apply adjustment after inflation
* Update packages/react-hooks/src/useInflation.ts
2021-05-22 09:34:33 +02:00
Jaco
8825a693f9
Remove deprecated contracts calls ( #5183 )
...
* Remove deprectaed contracts calls
* Drop support for contracts V2
2021-05-01 10:27:10 +02:00
Jaco
0c942dc10a
Add useMap{Entries, Keys} hooks ( #5164 )
2021-04-30 09:03:13 +02:00
Jaco Greeff
7c9aba6e4d
Extract batch creation into hook ( #5005 )
...
* Extract batch creation into hook
* Adjust
* Adjustfallback weight (just in-case...)
* Batch
2021-04-03 08:37:05 +02:00
Jaco Greeff
498a4818ff
Sort parachain lists with known first ( #5011 )
...
* Sort parachain lists with known first
* leases re-sort
* Adjust sorting
2021-04-02 21:19:52 +02:00
Jaco Greeff
d34bd33568
useBestNumber hook ( #4846 )
...
* useBestNumber hook
* Cleanups
2021-03-14 15:12:53 +01:00
Jaco Greeff
09c1fb716d
Initial display for auction bids ( #4828 )
...
* Initial display for auction bids
* Dedupe bids
2021-03-12 13:08:25 +01:00
Jaco Greeff
1ec6dfd302
Support new contracts putCode ( #4622 )
...
* Support new contracts putCode
* New works
* Swap to default constructor as available
* Split into steps
2021-02-06 15:51:09 +01:00
Jaco Greeff
024c03ba9b
Crowdloans ( #4613 )
...
* Crowdloans
* update icon
* crowdloads -> crowdloan
* Overview start
* Fund indexes
* Fund displays stucture
* Fund view
* Fund view expanded
* Update packages/page-crowdloan/src/useFundIndexes.ts
* Add skeleton
* useEventTrigger
* Cleanups
* Fund proposal
* Registrar
* Adjust current versions
* Update README.md
2021-02-06 11:24:04 +01:00
MiZiet
b09bc9cbc9
Adjust components placement and styling in bounties list ( #4460 )
2021-01-22 12:06:49 +01:00
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
fd9110f432
Swap parachain to multi calls (w/ useCallMulti) ( #4414 )
2021-01-14 18:15:29 +01:00
Jaco Greeff
f93cc49db6
Links to parachains (?rpc=) & best block ( #4395 )
...
* Links to parachains (?rpc=) & best block
* Adjust
* Add known types to ParaApi
2021-01-13 17:20:25 +01:00
Jaco Greeff
6dbb188a1a
2021 ( #4310 )
2021-01-03 11:33:39 +01:00
Jaco Greeff
593b42c275
Save target/overview toggles ( #4249 )
2020-12-20 12:55:10 +01:00
Jaco Greeff
4f3f98f97b
Don't double-up on stashId retrievals ( #4157 )
...
* Don't double-up on stashId retrievals
* Remove (onw-unused) useStashIds hook
2020-12-04 14:24:28 +01:00
Jaco Greeff
837dd58c61
Recent payouts toggle ( #4108 )
...
* Recent payouts toggle
* operator exposure
* media--*
* extra toggle padding
* align
2020-11-30 01:50:32 +01:00
Jaco Greeff
e940117fac
Show nominator return % per target ( #4091 )
...
* Show nominator return % per target
* 2 decimals
* Remove commented
2020-11-28 16:32:53 +01:00
Jaco Greeff
f8dc3d3641
Introduce useInflation hook ( #4084 )
...
* Introduce useInflation hook
* linting
2020-11-26 15:51:59 +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
Jaco Greeff
7ba7339d96
SPDX ( #3705 )
2020-09-17 16:46:46 +02:00
Jaco Greeff
6aefdd9178
useLoadingDelay for large lists ( #3310 )
...
* useLoadingDelay for large lists
* Accounts with isLoading
* sortedAddresses afecting check
2020-08-01 15:29:52 +02:00
Jaco Greeff
43470277e7
Add slashing indicator ( #3302 )
...
* Add slashing indicator
* Display slashing on targets page
* Show chilled from before slash
* Sizing
2020-07-31 14:09:28 +02:00
Jaco Greeff
4ab3e73a3b
useWeight hook (collective and soon on multisig) ( #2955 )
...
* useWeight hook (collective and soon on multisig)
* zero address
* Remove debug log
2020-06-15 10:36:20 +02:00
Keith Ingram
2081464de8
Rewrite & update to page-contracts ( #2873 )
...
* first commit
* finish
* InputMegaGas, use BN consts'
* update util'
* tags issue
* manifest
* import bn_zero
* rm
* restore contract tags
* fix tags onClose
* sec to ms
* ms -> sec
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-06-09 14:56:10 +02:00
Jaco Greeff
bea9e4f053
Allow ipns with chain specifier ( #2868 )
...
* Allow ipns with chain specifier
* fallback check
* Rename dns* to ipns*
2020-06-01 15:28:58 +02:00
Jaco Greeff
0789371b71
Re-add tc with length & weights ( #2840 )
...
* Re-add tc with length & weights
* Apply fixes
* Move useVotingstatus
2020-05-28 08:54:01 +02:00
Jaco Greeff
e410cc1473
Allow selectable targets ( #2637 )
2020-04-27 16:30:52 +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
936cc70d00
Treasury tipping ( #2551 )
2020-04-11 15:27:25 +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
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
ac8c7cc410
Add global reward alert for payouts ( #2370 )
2020-03-11 17:30:01 +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
562e11dc06
Bump deps ( #2091 )
2020-01-06 16:16:50 +01:00