Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement user profile menu #111

Merged
merged 13 commits into from
Nov 28, 2024
Merged

feat: implement user profile menu #111

merged 13 commits into from
Nov 28, 2024

Conversation

babblebey
Copy link
Member

@babblebey babblebey commented Nov 20, 2024

Description

This PR implements the Profile menu component with a menu items and logout functionality; Also integrated the component into few selected pages across the project... these are...

  • The Homepage
  • The Jargons Editor

Changes Made

  • Introduced a new Profile component with a menu dropdown as an island created using react.js
  • Added a new doLogout action, which runs the task of removing the jargondevToken value from user cookies
  • Added a /logout page/route where the doLogout function is executed for logout functionality; this redirects the user to either the homepage or a value specified in the return_to param when the /logout route is called

Related Issue

Fixes #71

Screenshots/Screencasts

screencast-localhost_4321-2024_11_20-02_03_20.webm

Notes to Reviewer

NA

Copy link

vercel bot commented Nov 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
jargons-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 22, 2024 8:59pm

@babblebey babblebey changed the title Feat/profile menu feat: implement user profile menu Nov 20, 2024
@babblebey babblebey marked this pull request as ready for review November 20, 2024 14:48
@babblebey babblebey merged commit 391ce92 into main Nov 28, 2024
2 checks passed
@babblebey babblebey deleted the feat/profile-menu branch November 28, 2024 15:52
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.

Implement Profile Menu in Navbar on Jargons Editor Dashboard
1 participant