Ewa Kowalska
ad8226a5c3
Account sidebar - single button for editing name and tags ( #6049 )
...
* WIP - merge edition of account name and tags
* [WIP] - tests
* Apply test improvements
* Improve tests
* Improve tests and use useCallback
* WIP - add cancel button
* Outside click
* Add more tests
* Apply styling
* Add opacity on not editable elements
* Remove unnecessary code and fix type of sidebar ref
* Disable eslint rule
* Place edit button within account menu buttons
* Adjust test setup
* Ato-lint fixes
* Update styles
* Apply review suggestions
* Remove unused styles and change type of sidebar ref
* Remove onCancel from useAccountInfo hook
* Fix issue with edit button
* Apply review suggestions, remove tests
* Adjust tests
* Simplify tests
* Apply lint fixes
* Change layout of buttons
Co-authored-by: MiZiet <michalzietalak@o2.pl>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-09-09 19:40:09 +02:00
fixxxedpoint
8ef4ed18dd
Changed THRESHOLD in useBlockTime so chains that uses values smaller than 1s for the MinimumPeriod (pallet_timestamp) parameter are displayed correctly ( #6045 )
2021-09-01 13:25:35 +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
Jaco
e267f07639
Discard invalid configuration minimumPeriod values ( #5913 )
...
* Discard invalid configuration minimumPeriod values
* Update packages/react-hooks/src/useBlockTime.ts
2021-08-03 08:46:33 +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
42cb6b84d3
Rework collective queries ( #5732 )
...
* Rework collective queries
* members derive
* All via derive
* Adjust society useMembers
* Adjust optional consts
* Detect council module locations
* Adjust tech comm with module locations
* Rework loading
* Unused type import
2021-07-02 10:42:13 +02:00
Jaco
7c84bccbb9
Adjust Ledger lookups via hash/apps only ( #5618 )
...
* Adjust Ledger lookups via hash/apps only
* Lookup on all genesis hashes
* Lookup against all hashes
* Adjust ledger lookups
2021-06-29 16:23:00 +02:00
Jaco
e347442666
Treasury account from palletId (as available) ( #5714 )
2021-06-29 07:52:41 +02:00
Jaco
a237847956
Randomize parachain endpoints ( #5656 )
2021-06-22 14:19:26 +02:00
Jaco
299c95eb3d
Remove Substrate 2.0 generation payouts ( #5612 )
...
* Remove Subtrate 2.0 generation payouts
* Display available totals
* Empty available
* No need to check for batch availability
* Adjust headers
* Adjust views
2021-06-17 08:27:19 +02:00
Jaco
b47f6cbacf
Check endpoints sort order ( #5564 )
...
* Check endpoints sort order
* colors adjust
* Adjust
* Sorting via objects
* linting
* shared santize
2021-06-11 17:41:03 +02:00
Jaco
5401577bbc
Adjust contribution state update (& indicator) ( #5561 )
2021-06-11 09:48:28 +02:00
Jaco
c21dadcd9e
Optimize crowdloan refresh (delta only on events) ( #5549 )
...
* Optimize crowdloan refresh (delata only on events)
* Adjust own contributions
2021-06-10 09:05:40 +02:00
Jaco
09343fba3f
Optimize finding loan account (hex-only encoding) ( #5524 )
2021-06-09 11:25:16 +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
3d6b6734dc
Chain types CI check ( #5460 )
...
* Chain types CI check
* SLOW for test
2021-06-05 13:58:33 +02:00
Jaco
6f45181a23
Ensure multi destinations for teleport are available ( #5454 )
...
* Ensure multi destinations for teleport are available
* One-way teleport warning
* Statemine colors
2021-06-04 14:45:47 +02:00
Jaco
80bac62fc2
Extract relay by genesis ( #5445 )
2021-06-04 07:23:36 +02:00
Jaco
094c3a84e7
Allow empty teleport array ( #5434 )
...
* Allow empty teleport array
* Enable para -> relay
* Set Rococo genesis
* No Rococo teleport (yet)
2021-06-03 14:19:41 +02:00
Jaco Greeff
210aed00c5
Merge branch 'master' into jg-para-relay
2021-06-03 14:31:34 +03:00
Jaco
3208fe117e
Carry teleport info per chain ( #5430 )
...
* Carry teleport info per chain
* Always has teleports
2021-06-03 13:21:21 +02:00
Jaco
8a95b1a93b
Handle BN type-only imports correctly ( #5428 )
...
* Handle BN type-only imports correctly
* lint fixes
2021-06-03 10:41:55 +02:00
Jaco
42dc1bc1ca
Option for WebHID (experimental) for Ledger ( #5422 )
...
* Option for WebHID (experimental) for Ledger
* Connection type change
2021-06-03 07:50:04 +02:00
Jaco Greeff
f470363254
Enable para -> relay teleport
2021-06-02 18:23:54 +03:00
Jaco
0942a03a3a
Adjust teleport weights for XCM ( #5416 )
2021-06-02 15:54:29 +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
e32c48755d
Display ideal staked ( #5346 )
2021-05-22 09:52:53 +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
e432429750
Check for registered code before crowdloan or bid ( #5274 )
2021-05-13 19:47:18 +02:00
Jaco
470b910d7f
Bump API ( #5239 )
...
* Bump API
* Adjust typing
2021-05-09 11:01:57 +02:00
Jaco
8df64b3221
Bump API (metadata v13 support) ( #5209 )
...
* Bump API (metadata v13 support)
* Actual API bump
2021-05-05 10:30:00 +02:00
Jaco
cf6c682333
Optional balances & timestamp ( #5188 )
2021-05-02 16:00:48 +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
Krzysztof Jelski
6bac862800
Check if accounts are loaded before hiding a tab ( #5177 )
2021-05-01 06:45:34 +02:00
Jaco
a298715c6e
useEventTrigger without string specifiers ( #5166 )
...
* useEventTrigger with section.method string specifiers
* Remove string useEventTrigger
* Adjust useExtrinsicTrigger
* Update packages/react-hooks/src/useExtrinsicTrigger.ts
2021-04-30 14:10:21 +02:00
Jaco
0c942dc10a
Add useMap{Entries, Keys} hooks ( #5164 )
2021-04-30 09:03:13 +02:00
Jaco
c5d71b429c
Membership app ( #5147 )
...
* Membership app
* Bump
2021-04-26 21:14:31 +02:00
Jaco
c2265a75e4
Bump deps ( #5136 )
2021-04-24 11:04:52 +02:00
Jaco
b3ba9a4b6a
Display asset balances ( #5128 )
2021-04-23 13:46:51 +02:00
Jaco
0c5934c13f
Use batch management hook for asset create ( #5102 )
2021-04-20 11:38:36 +02:00
Jaco Greeff
a45652525c
Fix paymentinfo with no accounts ( #5022 )
2021-04-04 08:10:07 +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
31448157eb
Split parathreads tab ( #4997 )
...
* Split parathreads tab
* Keep threads warm
* Remove extra ?.
* Type for id + leases
2021-04-01 15:58:27 +02:00
Jaco Greeff
b341581f51
Crowdloan withdrawals ( #4966 )
...
* Crowdloan withdrawals
* cleanups
* Modal
* withdraw batch & single
2021-03-29 11:20:51 +02:00
Jaco Greeff
5c1cfd472d
Refresh single fund info ( #4956 )
...
* Refresh single fund info
* Media queries
* className fix
* Countdown on ended
* s/count/unique/
* loading
* only count in state
2021-03-27 09:19:11 +01:00
Jaco Greeff
2e68dc3cc0
Additional calcInflation check ( #4900 )
2021-03-22 10:44:49 +01:00
Jaco Greeff
bfd6e387d5
Avoind NaN for returns ( #4899 )
2021-03-22 10:26:07 +01:00