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

[🐛 Bug]: Button on the landing page always says "Free trial" even if you are logged in #4012

Open
Matvey-Kuk opened this issue Mar 13, 2025 · 3 comments
Assignees
Labels
Bug Something isn't working UI User interface related issues

Comments

@Matvey-Kuk
Copy link
Contributor

I'm logged in to Keep and I still see "Start free trial" which is a bit confusing:

Image

I think we should somehow leak auth status to the landing page and swap the button to "Proceed to the platform" or smth similar.

@Matvey-Kuk Matvey-Kuk changed the title [🐛 Bug]: Button on the landing page always says "Start free trial" even if you are logged in [🐛 Bug]: Button on the landing page always says "Free trial" even if you are logged in Mar 13, 2025
Copy link

dosubot bot commented Mar 13, 2025

The landing page currently determines whether a user is logged in by checking the session object. If the session object is null or does not contain a user, it implies that the user is not logged in [1]. To address the issue of the button text not updating based on authentication status, you can leverage the session data to conditionally render the button text.

You might want to update the component responsible for rendering the button to check the session object and change the text accordingly. If the user is logged in, display "Proceed to the platform"; otherwise, display "Start free trial". This approach ensures that the button text reflects the user's authentication status.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot dosubot bot added Bug Something isn't working UI User interface related issues labels Mar 13, 2025
@shahargl
Copy link
Member

I don't think its an issue. same thing with auth0 - if you're logged in, you still see both sign up and login.

Also - the landing page is not related with this repo

Image

@Matvey-Kuk
Copy link
Contributor Author

Not all products have it, but some:

Image Image

@Matvey-Kuk Matvey-Kuk self-assigned this Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working UI User interface related issues
Projects
None yet
Development

No branches or pull requests

2 participants