Skip to content

Support providing Console/UC UI extensions (main.js and style.css) from themes #9993

@ruibaby

Description

@ruibaby

Environment

Your current Halo version: 2.24

Details

Currently, only plugins can provide Console/User Center UI extensions (main.js and style.css) via the console/ directory in the plugin JAR. Themes are limited to providing Thymeleaf templates and static assets for the front-end site.

It would be helpful if themes could also provide main.js and style.css to extend the Console and User Center UI. This would allow themes to contribute custom settings pages, extension points, routes, and components — just like plugins do today.

Use cases include:

  • Themes providing richer configuration UI in the Console (e.g., live preview, drag-and-drop layout settings)
  • Themes contributing custom tabs or panels in the Console theme detail page
  • Themes extending the User Center with theme-specific features
  • Themes wanting to extend the editor with custom blocks without having to create a separate plugin

Additional information

None

Metadata

Metadata

Assignees

Labels

area/coreIssues or PRs related to the Halo Corearea/uiIssues or PRs related to the Halo UIkind/featureCategorizes issue or PR as related to a new feature.
No fields configured for Feature.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions