Zero icon indicating copy to clipboard operation
Zero copied to clipboard

Homepage shows incorrect button text for logged-in users

Open aialok opened this issue 6 months ago • 2 comments

Bug Description

When a user is already authenticated but navigates manually to the /home route (e.g., by typing the URL), the homepage still displays “Sign In” button instead of reflecting the logged-in state. This creates a misleading experience, as the user is already signed in.

Steps to Reproduce

  1. Log in successfully and land in /main/inbox.
  2. Manually change the URL to /home.
  3. Observe the homepage still showing "Sign In" / "Get Started".

Expected Behavior

  1. The homepage should detect the user's session and show a “Go to Inbox” or equivalent button.
  2. Alternatively, the user should be redirected to /inbox.

Image

Actual Behavior

  1. When navigating manually to /home, even after login, the UI still shows Sign In.
  2. It does not reflect the actual session state.

Image

What browsers are you seeing the problem on?

Chrome

Application Version

Latest

Environment Information

  • OS : Fedora
  • Node js - recommended on contributing guidelines
  • Chrome

Relevant Log Output

N/A

aialok avatar Jun 21 '25 19:06 aialok

Hi @MrgSub, I would love to take this issue. I have already fixed it. Should I open a PR?

aialok avatar Jun 21 '25 19:06 aialok