Skip to content

fix unstyled button in account already exisited page - #51521

Merged
rmartinc merged 1 commit into
keycloak:mainfrom
gaoyikeshuer:account-exist-ui-bug-51330
Aug 10, 2026
Merged

fix unstyled button in account already exisited page#51521
rmartinc merged 1 commit into
keycloak:mainfrom
gaoyikeshuer:account-exist-ui-bug-51330

Conversation

@gaoyikeshuer

@gaoyikeshuer gaoyikeshuer commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

after fix
Screenshot 2026-08-06 at 16 11 39

Closes #51330

Copilot AI balanced review requested due to automatic review settings August 6, 2026 15:25
@gaoyikeshuer
gaoyikeshuer requested review from a team as code owners August 6, 2026 15:25

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.

Pull request overview

Adds PatternFly styling to the account-link confirmation page.

Changes:

  • Uses shared button macros for spacing and hover styles.
  • Distinguishes primary and secondary actions.

@mabartos
mabartos self-requested a review August 6, 2026 15:41
Closes keycloak#51330

Signed-off-by: Yike Gao <yikegao8@gmail.com>
Copilot AI review requested due to automatic review settings August 7, 2026 09:45
@gaoyikeshuer
gaoyikeshuer force-pushed the account-exist-ui-bug-51330 branch from a44869c to be2df11 Compare August 7, 2026 09:45

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.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@gaoyikeshuer

gaoyikeshuer commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

Root cause is the v2 theme doesn't have login-idp-link-confirm.ftl, so it used the base version, whose kcButtonDefaultClass/kcButtonLargeClass don't exist in v2. so copied the login-idp-link-confirm.ftl from v1 with the v2 button styles

@mabartos

Copy link
Copy Markdown
Member

@gaoyikeshuer I'll check this more deeper, but LGTM from the first sight. Do we know about some other pages that might be affected by the defaulting to the base theme with some potential issues? Would be good to confirm it. Thanks!

@mabartos mabartos left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@rmartinc rmartinc 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.

Thanks everybody! LGTM too!

@rmartinc
rmartinc merged commit 9830dd2 into keycloak:main Aug 10, 2026
91 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Account already existed page button has no gap and no hover on effect

5 participants