Skip to content

Add theme capability summaries to Console - #10297

Draft
ruibaby wants to merge 2 commits into
halo-dev:mainfrom
ruibaby:feat/theme-capability-summary
Draft

ruibaby wants to merge 2 commits into
halo-dev:mainfrom
ruibaby:feat/theme-capability-summary

Conversation

@ruibaby

@ruibaby ruibaby commented Sep 8, 2026

Copy link
Copy Markdown
Member

What type of PR is this?

  • Feature
  • Bug fix
  • Improvement
  • Cleanup
  • Documentation

What this PR does / why we need it:

Add capability summaries to the Console theme detail page:

  • List the system, custom, layout, and other templates provided by the theme, excluding static assets.
  • Show page layout contract support and diagnostics.
  • Show UI loading status and registered Console/User Center capabilities.
  • Provide dialogs for detailed template and UI capability information.

A new theme capabilities endpoint supplies template information and route patterns resolved from the current site configuration. Template descriptions and routes use a single frontend lookup, and route patterns are displayed as plain text. Existing settings tabs remain the entry point for theme settings.

Which issue(s) this PR fixes:

Refs #10044

This draft covers themes only; plugin detail improvements remain out of scope.

Special notes for your reviewer:

Implemented with LLM assistance: Codex for the backend and Claude Code for the frontend. Full review is pending.

Validation:

  • Focused backend tests passed for theme capabilities, UI bundles, endpoint routing, and WebFlux configuration.
  • Latest validation: focused backend capability and endpoint tests passed; Claude Code reported 43 frontend tests, typecheck, lint, format checks, and browser checks passing against the updated endpoint.
  • The loaded-theme UI declaration path still needs browser verification.
  • Source diff whitespace checks passed, excluding generated API client files.

Does this PR introduce a user-facing change?

主题详情页支持查看系统与自定义模板、页面布局支持情况及 UI 扩展能力。

@pkg-pr-new

pkg-pr-new Bot commented Sep 8, 2026

Copy link
Copy Markdown

Open in StackBlitz

@halo-dev/api-client

npm i https://pkg.pr.new/@halo-dev/api-client@10297

@halo-dev/components

npm i https://pkg.pr.new/@halo-dev/components@10297

@halo-dev/richtext-editor

npm i https://pkg.pr.new/@halo-dev/richtext-editor@10297

@halo-dev/ui-shared

npm i https://pkg.pr.new/@halo-dev/ui-shared@10297

@halo-dev/ui-plugin-bundler-kit

npm i https://pkg.pr.new/@halo-dev/ui-plugin-bundler-kit@10297

commit: 71d0596

@sonarqubecloud

sonarqubecloud Bot commented Sep 9, 2026

Copy link
Copy Markdown

This branch has not been deployed

No deployments
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.

1 participant