Skip to content

Conversation

@kmichalikk
Copy link
Contributor

@kmichalikk kmichalikk commented Dec 8, 2025

This PR hides the "Log in" button in Demo Mode.

Closes #2299

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR hides the "Log in/Log out" button in the navigation panel when the application is running in Demo Mode. The change ensures users in demo mode (where authentication is disabled) do not see authentication-related UI elements, improving the user experience by removing non-functional features.

  • Imports useConfig hook to access the demoMode configuration flag
  • Wraps the authentication button component in a conditional render using {!demoMode && (...)}

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@grzanka grzanka added this pull request to the merge queue Dec 9, 2025
Merged via the queue into master with commit 86cc5ed Dec 9, 2025
17 checks passed
@grzanka grzanka deleted the @kmichalikk/hide-login-on-demo branch December 9, 2025 08:53
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.

Login button should not be displayed on demo version

3 participants