8000 Promote declarative-ui from experimental to supported by edewit · Pull Request #54150 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Promote declarative-ui from experimental to supported - #54150

Open
edewit wants to merge 5 commits into
keycloak:mainfrom
edewit:promote-declarative-ui-supported
Open

edewit wants to merge 5 commits into
keycloak:mainfrom
edewit:promote-declarative-ui-supported

Conversation

@edewit
@edewit edewit commented Oct 20, 2026
Copy link
Copy Markdown
Contributor

Summary

  • Promotes declarative-ui from Type.EXPERIMENTAL to Type.DEFAULT so the Declarative UI SPI is supported and enabled by default (#54149).
  • Adds a UI Customization guide for UiPageProvider / UiTabProvider, plus release notes and upgrading guide entries.
  • Removes the now-unnecessary --features=declarative-ui flags from JS CI and local server start scripts.

Docs check

Per docs/features.md, graduating to supported requires documentation without experimental notices. Before this change, formal docs lived only in the keycloak-quickstarts example. This PR adds:

  • docs/guides/ui-customization/declarative-ui.adoc
  • A pointer from the UI Customization introduction
  • Release notes + upgrading guide coverage for 27.0.0

Follow-up outside this repo: update the quickstart README to drop the experimental enablement note, and consider closing discussion #24805 once the promotion lands.

@edewit
edewit requested review from a team as code owners October 20, 2026 07:01
Copilot AI balanced review requested due to automatic review settings October 20, 2026 07:01
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 tab-provider example needs an update callback to keep the realm attribute synchronized after subsequent saves.

1 open issue
What changed in this PR

Promotes the Declarative UI SPI to supported and enabled by default, with documentation for extension developers.

Changes:

  • Changes the feature classification to Type.DEFAULT.
  • Adds a customization guide and release/upgrade notes.
  • Removes redundant feature flags from CI and local startup instructions.
File Description
js/​libs/​keycloak-admin-client/​README.md Removes explicit feature enablement.
js/​apps/​keycloak-server/​scripts/​start-server.js Removes the redundant startup flag.
docs/​guides/​ui-customization/​introduction.adoc Links to the new guide.
docs/​guides/​ui-customization/​declarative-ui.adoc Documents page and tab providers.
docs/​documentation/​upgrading/​topics/​changes/​changes-27_0_0.adoc Explains the default enablement change.
docs/​documentation/​release_notes/​topics/​27_0_0.adoc Announces supported status.
common/​src/​main/​java/​org/​keycloak/​common/​Profile.java Makes Declarative UI a default feature.
.github/​workflows/​js-ci.yml Removes explicit enablement from CI.

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings October 20, 2026 07:36
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.

🔵 Needs a closer look

The new guide misrepresents how its example affects the Account Console logo.

No open issues 🎉

1 previously missed issue

In code that hasn't changed since last review

Medium severity Realm logo attribute does not affect Account Console display

docs/​guides/​ui-customization/​declarative-ui.adoc:118

This example stores logo as a realm attribute, but the built-in Account Console reads its logo from the theme's properties.logo, so saving this field does not change the displayed logo. Describe it as a stored value for custom integrations, or explain the additional integration needed to display it.

1 resolved since last review

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings October 20, 2026 07:42
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.

🟢 Approval recommended

The feature promotion, documentation, and startup changes are consistent, with no unresolved blocking issues.

No open issues 🎉

Review effort: Balanced

@stianst stianst added the status/hold PR should not be merged. On hold for later. label Oct 21, 2026
Enable the Declarative UI SPI by default and document how to extend the
Admin Console with UiPageProvider and UiTabProvider.

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
The ComponentFactory onUpdate callback defaults to a no-op, so the
guide example must override it when syncing values to realm attributes.

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
The release notes link to a new UI Customization guide that is not on
keycloak.org yet, which fails the external links check.

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
@edewit
edewit force-pushed the promote-declarative-ui-supported branch from b316bae to a501e3a Compare November 27, 2026 12:28
Copilot AI balanced review requested due to automatic review settings November 27, 2026 12:28
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 guide omits the provider rebuild required for optimized deployments and implies that saving a realm attribute changes the Account Console logo without additional theme integration.

2 open issues

Review effort: Balanced

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.c
8000
om>
Copilot AI balanced review requested due to automatic review settings November 27, 2026 15:06
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.

🔵 Needs a closer look

Promoting private SPIs to supported creates a backward-compatibility commitment requiring maintainer confirmation that blocking feedback is resolved and the APIs meet docs/features.md requirements.

No open issues 🎉

2 resolved since last review

Review effort: Balanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/hold PR should not be merged. On hold for later.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0