-
-
Notifications
You must be signed in to change notification settings - Fork 361
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
fix: Congratulations popup after buying an NFT is not availiable anymore? #7512
Conversation
✅ Deploy Preview for nuxt-kodadot ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
AI-Generated Summary: This pull request mainly revolves around improving the buying notification feature within the application. It introduced changes in the The In In |
@roiLeo I'm substituting this popup and not showing the other notification , I think it does not make any sense to have both with the same info , what do you think ? |
components/buy/Buy.vue
Outdated
@@ -76,7 +80,7 @@ const handleBuy = async (nfts: TokenToBuy | TokenToBuy[]) => { | |||
interaction: ShoppingActions.BUY, | |||
nfts, | |||
urlPrefix: urlPrefix.value, | |||
successMessage: $i18n.t('mint.successNewNfts'), | |||
successMessage: null, |
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.
What if we pass another parameter to trigger a bigger notification component instead of null
?
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.
sure , good idea
@prury now it's squared :D it was not missing there , but i spotted the old messages that are still there , will remove that (done) feel free try again anywhere else where you can open the buy modal , cart , explore pages, collection , profile , etc , it's the same code so there should be no issue |
Kudos, SonarCloud Quality Gate passed! |
oh, nice catch! |
Perfect, ty @hassnian |
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.
✅ otherwise code lgtm
.is-squared { | ||
width: 36px; | ||
height: 36px; | ||
} |
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.
maybe icon is the problem, can't we do withtout fixed size?
pay 30 usd |
😍 Perfect, I’ve sent the payout 🪅 Let’s grab another issue and get rewarded! |
Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type
Context
Did your issue had any of the "$" label on it?
Community participation
Screenshot 📸
Copilot Summary
🤖 Generated by Copilot at e4327e1
This pull request enhances the user feedback when buying an item from the gallery. It adds a
MessageNotify
component that shows a custom success message with the item names, and updates theBuy
component and theuseTransaction
composable to support this feature. It also adjusts some styles and types to improve the UI and code quality.🤖 Generated by Copilot at e4327e1