Skip to content

fix: added toast notification for share button#841

Closed
rupeshca007 wants to merge 2 commits intoaccordproject:mainfrom
rupeshca007:fix-share-button-toast
Closed

fix: added toast notification for share button#841
rupeshca007 wants to merge 2 commits intoaccordproject:mainfrom
rupeshca007:fix-share-button-toast

Conversation

@rupeshca007
Copy link
Copy Markdown

Closes #839

This pull request adds missing visual feedback for the Share button in the sidebar. Previously, generating a share link gave no feedback to the user.

Changes

  • Replaced the static message import from antd in PlaygroundSidebar.tsx with the context-aware App.useApp() hook.
  • This ensures the message.success toast notification successfully renders within the application's React tree when the user clicks the Share button.

Flags

  • None.

Screenshots or Video

N/A

Related Issues

Author Checklist

  • Ensure you provide a DCO sign-off for your commits using the --signoff option of git commit.
  • Vital features and changes captured in unit and/or integration tests
  • Commits messages follow AP format
  • Extend the documentation, if necessary
  • Merging to main from fork:branchname

@rupeshca007 rupeshca007 requested a review from a team as a code owner March 20, 2026 16:32
@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 20, 2026

Deploy Preview for ap-template-playground ready!

Name Link
🔨 Latest commit c2b014b
🔍 Latest deploy log https://app.netlify.com/projects/ap-template-playground/deploys/69c1758c1b8ab5000880d04e
😎 Deploy Preview https://deploy-preview-841--ap-template-playground.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 8, 2026

This PR is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions Bot added the Stale label Apr 8, 2026
@github-actions github-actions Bot closed this Apr 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug/UX: Missing visual feedback (toast/notification) when clicking the "Share" button

1 participant