Skip to content

Display logout button if reauthentication failed - #1089

Open
TheOneRing wants to merge 1 commit into
mainfrom
work/logout
Open

Display logout button if reauthentication failed#1089
TheOneRing wants to merge 1 commit into
mainfrom
work/logout

Conversation

@TheOneRing

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The new failed-authentication layout likely breaks Shift+Tab keyboard navigation due to Keys.onBacktabPressed being attached to the Loader instead of the first focusable control.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR updates the OAuth credentials QML UI so that users can access the “Stay logged out” action even when reauthentication fails, aligning the failed-authentication screen with the refresh/reauth flow behavior.

Changes:

  • Add a logout-button Loader to the “login failed” view in OAuthCredentials.qml.
  • Add an explanatory comment for the logout button visibility in Credentials.qml.
File summaries
File Description
src/gui/qml/credentials/OAuthCredentials.qml Adds a second view-state placement for the logout button so it can appear when authentication is invalid/failed.
src/gui/qml/credentials/Credentials.qml Documents that the logout button is hidden in the wizard context.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/gui/qml/credentials/OAuthCredentials.qml Outdated
@TheOneRing
TheOneRing force-pushed the work/logout branch 3 times, most recently from 07c5c4e to 6a33d90 Compare September 8, 2026 12:54
@TheOneRing
TheOneRing requested a review from guruz September 8, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants