feat(frontend): add linked accounts panel#142
Open
chinweobtagaz wants to merge 3 commits into
Open
Conversation
Kaylahray
requested changes
May 31, 2026
Contributor
Kaylahray
left a comment
There was a problem hiding this comment.
Hi @chinweobtagaz Please fix the workflow
…route paths for linked accounts
Author
|
@Kaylahray resolved |
…lict in settings page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 Artisyn.io Pull Request
Mark with an
xall the checkboxes that apply (like[x])📌 Type of Change
Created New Git Branch: Created and switched to the target branch frontend/linked-accounts-panel.
Linked Providers Page (/artisan/settings):
Created the component inside src/app/(dashboard)/artisan/settings/page.tsx with a premium layout that matches the dashboard theme.
Built a custom list representing connection states for Google, GitHub, Apple, Facebook, and Twitter.
Implemented animated user-interaction dialogs for linking (Connect) and unlinking (Disconnect) social accounts.
Added user safety validation (failsafe to prevent unlinking the last remaining login provider).
Created Mock API Backend (/api/account-links):
Created a dynamic API Route Handler inside src/app/api/account-links/route.ts to process GET, POST, and DELETE calls.
Used cookie persistence to store provider link states across refreshes.
Configured robust fallback logic on the frontend page to query localStorage if the server environment is offline or has missing API routes.
📝 Changes description
📸 Evidence (A photo is required as evidence)
Thank you for contributing to Artisyn.io, we are glad that you have chosen us as your project of choice and we hope that you continue to contribute to this great project, so that together we can make our mark at the top!