Skip to content

Conversation

@JammingBen
Copy link
Contributor

  • Prevents loading the plain view logo on / routes because it would cause a flickering on regular page reloads.
  • Fixes the missing logo on plain views such as access-denied.
  • Adjusts the card background color on plain views to the regular surface color to match the default login form.

refs #1394

Don't load the plain view logo on `/` routes because it would cause a flickering on regular page reloads.
@JammingBen JammingBen self-assigned this Oct 20, 2025
Copilot AI review requested due to automatic review settings October 20, 2025 09:04
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 fixes UI issues in the plain view layout by preventing logo flickering on root routes and standardizing card styling across plain view pages.

  • Prevents loading the plain view logo on / routes to eliminate flickering during page reloads
  • Removes the bg-role-surface-container class from card components to use default surface color
  • Converts the Plain layout component from Options API to Composition API

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/web-runtime/src/layouts/Plain.vue Converts to Composition API and adds conditional logo rendering to prevent flickering
packages/web-runtime/src/pages/accessDenied.vue Removes custom background color class from card
packages/web-runtime/src/pages/logout.vue Removes custom background color class from card
packages/web-runtime/src/pages/missingOrInvalidConfig.vue Removes custom background color class from card
packages/web-runtime/src/pages/oidcCallback.vue Removes custom background color class from card
packages/web-runtime/src/pages/resolvePrivateLink.vue Removes custom background color class and refactors card props
packages/web-runtime/src/pages/resolvePublicLink.vue Removes custom background color class from card
packages/web-runtime/tests/unit/pages/snapshots/accessDenied.spec.ts.snap Updates snapshot to reflect background color class removal

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Adjusts the card background color on plain views to the regular surface color to match the default login form.
Copy link
Contributor

@AlexAndBear AlexAndBear left a comment

Choose a reason for hiding this comment

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

thx

@JammingBen JammingBen merged commit 6fa7f6b into main Oct 20, 2025
28 checks passed
@JammingBen JammingBen deleted the fix/plain-view-logo branch October 20, 2025 12:16
@openclouders openclouders mentioned this pull request Oct 20, 2025
1 task
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.

3 participants