Skip to content

Feat/wallet connect toast#646

Merged
Ogstevyn merged 3 commits into
Ogstevyn:mainfrom
devfoma:feat/wallet-connect-toast
Apr 28, 2026
Merged

Feat/wallet connect toast#646
Ogstevyn merged 3 commits into
Ogstevyn:mainfrom
devfoma:feat/wallet-connect-toast

Conversation

@devfoma
Copy link
Copy Markdown
Contributor

@devfoma devfoma commented Apr 28, 2026

Description:

This pr closes #560

This PR adds a success toast notification when a user successfully connects their Stellar wallet via Freighter. It also refactors the provider hierarchy to ensure toast functionality is available globally.

Key Changes:

  • Moved ToastProvider to root layout.tsx wrapping StellarProvider.
  • Integrated useToast into StellarContext.
  • Triggered toast.success("Wallet connected — " + truncatedKey) in the connect workflow.
  • Ensured session restoration (page reloads) does not trigger the toast.

Files Modified:

  • app/layout.tsx
  • components/ui/app-shell.tsx
  • context/StellarContext.tsx

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 28, 2026

@devfoma is attempting to deploy a commit to the Stephen's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 28, 2026

@devfoma Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Ogstevyn Ogstevyn merged commit 0e68646 into Ogstevyn:main Apr 28, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Issue #141] UX: Wallet Connected Success Toast

2 participants