Skip to content

feat(ui): add social handle row (#13) & reusable transaction success toast - #20

Merged
Chucks1093 merged 1 commit into
accesslayerorg:mainfrom
joelpeace48-cell:feat/issues-13-16
Mar 25, 2026
Merged

feat(ui): add social handle row (#13) & reusable transaction success toast#20
Chucks1093 merged 1 commit into
accesslayerorg:mainfrom
joelpeace48-cell:feat/issues-13-16

Conversation

@joelpeace48-cell

Copy link
Copy Markdown

This PR addresses two frontend UI/UX enhancements assigned to the accesslayer-client:

🔍 Details & Implementation
Creator Card Updates (CreatorCard.tsx)

Added a conditional render block for the social handle using the LinkIcon from lucide-react.
Handles the missing data case cleanly with an opaque, italicized "No public handle" state.
Updated the handleBuy stub to simulate a transaction delay (using setTimeout) which resolves into triggering the new reusable transaction success toast.
Course Type Enhancements (course.service.ts)

Expanded the Course data model to formally accept an optional socialHandle?: string; property.
Toast Utilities Refactor (toast.util.tsx)

Renamed toast.util.ts to .tsx to support React nodes.
Exposes a new showToast.transactionSuccess(title, message) that leverages toast.custom() to render a highly tailored Tailwind card for success states, fully ready for future reuse.
🛠️ Changes Made
[MODIFY] src/services/course.service.ts
[MODIFY] src/components/common/CreatorCard.tsx
[RENAME & MODIFY] src/utils/toast.util.tsx

Closes #13
Closes #16
Closes #15
Closes #17

@drips-wave

drips-wave Bot commented Mar 25, 2026

Copy link
Copy Markdown

@joelpeace48-cell 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

@Chucks1093
Chucks1093 merged commit 7b0ece9 into accesslayerorg:main Mar 25, 2026
1 check passed
hally-Ayo pushed a commit to hally-Ayo/accesslayer-client that referenced this pull request Mar 26, 2026
…at/issues-13-16"

This reverts commit 7b0ece9, reversing
changes made to f70bd7f.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants