bug: Clicking "edit preferences" while signed out redirects to /account

Open Beginner friendly
#663 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
typescript
Domain
frontend

Research direction

Start at the header navbar and its three-bars profile dropdown, then reproduce the signed-out "Edit Preferences" flow from the linked home page. Trace the dropdown action that currently redirects to /account and verify the signed-out state opens a "login to edit preferences" popup instead; the signed-in popup behavior should remain unchanged.

Written by the indexing model from the issue text.

Description

bug frontend
Provide environment information

System:
OS: Windows 11 10.0.26200
CPU: (14) x64 Intel(R) Core(TM) Ultra 7 155U
Memory: 6.54 GB / 15.45 GB
Binaries:
Node: 20.18.0 - C:\nvm4w\nodejs\node.EXE
Yarn: 1.22.22 - C:\Users\zeche\AppData\Roaming\npm\yarn.CMD
npm: 10.8.2 - C:\nvm4w\nodejs\npm.CMD
pnpm: 10.0.0 - C:\Users\zeche\AppData\Roaming\npm\pnpm.CMD
Deno: 1.46.3 - C:\Users\zeche.deno\bin\deno.EXE

Describe the bug

While signed out, clicking on the "Edit Preferences" button in the three-vertical-lines profile dropdown in the header navbar redirects the user to /account. When signed in, the user gets the "edit preferences" popup opened. As of recently the /account page has been removed, so the user should instead be presented with a "login to edit preferences" popup when he is not signed in.

Link to reproduction

https://peterplate.com/

To reproduce

Go to any page where the nav is present, like home. Click the three bars in the top right to open the profile dropdown. Click "edit preferences" and find that it redirects you to /account.

Additional information

No response

Dominant language
TypeScript
Stars
9
Forks
1
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from icssc/PeterPlate

All issues in icssc/PeterPlate

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.