-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: markets page watchlist #7795
base: feat_markets_category
Are you sure you want to change the base?
Conversation
@@ -96,6 +96,7 @@ export const AssetHeader: React.FC<AssetHeaderProps> = ({ assetId, accountId }) | |||
{name} {`(${symbol}${asset.id ? ` ${middleEllipsis(asset.id)}` : ''})`} | |||
</Heading> | |||
|
|||
<WatchAssetButton assetId={assetId} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@reallybeard FYI, this adds watchlist capabilities on asset page for consistency with mobile
}, [appDispatch, assetId, isAssetIdWatched]) | ||
const handleToggleWatchAsset: React.MouseEventHandler<HTMLButtonElement> = useCallback( | ||
e => { | ||
e.stopPropagation() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Allows the larger hitbox of the card not to fire its own onClick
df19d6f
to
ea7b778
Compare
631a865
to
091f2ea
Compare
ea7b778
to
b94e3a7
Compare
091f2ea
to
755121b
Compare
b94e3a7
to
4a722a1
Compare
755121b
to
91cdebb
Compare
Description
Adds watchlist tab / icon to the markets page.
Issue (if applicable)
closes #7685
Risk
Low
Testing
Engineering
Operations
Screenshots (if applicable)