Closed mattupham closed 2 weeks 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 20, 2024 5:58am |
The pull request introduces enhancements to the AssetBalancesTable
and AssetActionsCell
components by implementing a dropdown menu for asset actions and adding new props for asset conversion logic. The AssetActionsCell
now conditionally renders action buttons, including a conversion option, based on user interaction. Additionally, a new AssetActionsDropdown
component encapsulates the dropdown functionality, improving modularity. A feature flag for "alloyedAssets" is also added to the feature flag system, enhancing control over application features.
Files | Change Summary |
---|---|
packages/web/components/table/asset-balances.tsx |
Added new imports for dropdown functionality, defined Action type, and introduced getActionOptions and handleSelectAction functions. Modified AssetActionsCell to use a dropdown for actions and created AssetActionsDropdown component. |
packages/web/hooks/use-feature-flags.ts |
Added "alloyedAssets" feature flag to AvailableFlags type and initialized it in defaultFlags . |
AssetBalancesTable
and AssetActionsCell
components may relate to the modifications in the EventProperties
type in analytics-events.ts
, particularly with the addition of coinDenom
, which is relevant for tracking actions related to assets.
What is the purpose of the change:
Linear Task
https://linear.app/osmosis/issue/FE-726/porfolio-v3-alloyed-convert-button-deposit-withdraw-dropdown https://linear.app/osmosis/issue/FE-1061/portfolio-v3-portfolioalloyed-feature-flag
Brief Changelog
Testing and Verifying