Skip to content

feat(frontend): add linked accounts panel#142

Open
chinweobtagaz wants to merge 3 commits into
artisyn-io:mainfrom
chinweobtagaz:frontend/linked-accounts-panel
Open

feat(frontend): add linked accounts panel#142
chinweobtagaz wants to merge 3 commits into
artisyn-io:mainfrom
chinweobtagaz:frontend/linked-accounts-panel

Conversation

@chinweobtagaz
Copy link
Copy Markdown

🚀 Artisyn.io Pull Request

Mark with an x all 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.

  • Documentation (updates to README, docs, or comments)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

📝 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!

Copy link
Copy Markdown
Contributor

@Kaylahray Kaylahray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @chinweobtagaz Please fix the workflow

@chinweobtagaz
Copy link
Copy Markdown
Author

@Kaylahray resolved

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.

Linked accounts panel

2 participants