Skip to content

PMM-14880-rta-pmm-demo: "login as guest"#886

Open
fabio-silva wants to merge 7 commits intomainfrom
PMM-14880-rta-pmm-demo
Open

PMM-14880-rta-pmm-demo: "login as guest"#886
fabio-silva wants to merge 7 commits intomainfrom
PMM-14880-rta-pmm-demo

Conversation

@fabio-silva
Copy link
Copy Markdown

Copy link
Copy Markdown

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

Adds a PMM demo-oriented “Log in as guest” path on the login page by fetching demo credentials and exposing a one-click login button.

Changes:

  • Fetches demo credentials on LoginCtrl mount and passes them down to the login page.
  • Renders a conditional “Log in as guest” button in LoginPage that triggers the existing /login flow.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.

File Description
public/app/core/components/Login/LoginCtrl.tsx Introduces pmmDemoCredentials state and async fetch to load demo credentials for guest login.
public/app/core/components/Login/LoginPage.tsx Adds UI for a conditional guest-login button that uses fetched demo credentials.

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

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.

3 participants