Closed mattupham closed 1 week ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
osmosis-frontend | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Sep 24, 2024 6:11pm |
The changes introduce functionality for managing a user watchlist and a favorites list within the AssetBalancesTable
component. A new state variable, favoritesList
, is initialized using the useLocalStorageState
hook, allowing persistence of user favorites across sessions. The AssetCell
component is updated to handle new props for watchlist management, enabling users to add or remove assets from their watchlist. The rendering logic of the AssetCell
is also modified to reflect the asset's status in the watchlist.
File | Change Summary |
---|---|
packages/web/components/table/asset-balances.tsx | Added functionality for user watchlist and favorites; introduced watchListDenoms and toggleWatchAssetDenom ; modified AssetCell to accept new props for managing watchlist status. |
AssetBalancesTable
component, which is directly related to the changes made in the main PR that also affects the same component. Both PRs involve enhancements to the asset management functionality within the table.
What is the purpose of the change:
Linear Task
https://linear.app/osmosis/issue/FE-1045/portfolio-v3-favorites
Brief Changelog
Testing and Verifying
https://github.com/user-attachments/assets/2487fca6-3a36-46ba-90fa-74bc6718fe0b