WIP: Theming #27

Manually merged
viewit merged 1 commits from hirnwunde/KX-Bridge-Release:master into master 2026-05-21 14:37:40 +02:00
Contributor

Refactor: Introduce Theme Management System

  • Extract HTML/CSS/JS from Python into separate web/themes/default/ files
  • Enable UI customization without Python knowledge
# Refactor: Introduce Theme Management System - Extract HTML/CSS/JS from Python into separate `web/themes/default/` files - Enable UI customization without Python knowledge
hirnwunde added 1 commit 2026-05-21 02:18:24 +02:00
viewit added the
enhancement
label 2026-05-21 13:11:10 +02:00
Owner

Your theming is in! 🎨 Pulled into our dev branch and tested through:

  • Your default theme with the current ACE2 UI runs cleanly, asset routing via /kx/ui/ works, and the theme-name validation is solid. ✓
  • Removed the dead _web_assets import (from our earlier interim solution) — the frontend now comes entirely from your theme system.
  • Single-file binary solved: I built a shared kx-bridge.spec that embeds web/ (themes) into the one-file binary via datas; at runtime the bridge reads them from sys._MEIPASS (_WEB_BASE). So the Linux binary and the Windows EXE both ship the UI — verified the spec-built binary serves the themes correctly. Linux and Windows builds now use the same spec.
  • Docker build tested too (UI, theme assets, ACE2/skip, API).

Shipped in v0.9.14, with credit to you in the source + changelog. Really clean work — the hook docs make it genuinely pleasant for future themes. 🙏

Your theming is in! 🎨 Pulled into our dev branch and tested through: - Your `default` theme with the current ACE2 UI runs cleanly, asset routing via `/kx/ui/` works, and the theme-name validation is solid. ✓ - Removed the dead `_web_assets` import (from our earlier interim solution) — the frontend now comes entirely from your theme system. - **Single-file binary solved:** I built a shared `kx-bridge.spec` that embeds `web/` (themes) into the one-file binary via `datas`; at runtime the bridge reads them from `sys._MEIPASS` (`_WEB_BASE`). So the Linux binary **and** the Windows EXE both ship the UI — verified the spec-built binary serves the themes correctly. Linux and Windows builds now use the same spec. - Docker build tested too (UI, theme assets, ACE2/skip, API). Shipped in **v0.9.14**, with credit to you in the source + changelog. Really clean work — the hook docs make it genuinely pleasant for future themes. 🙏
viewit manually merged commit 312b4083d2 into master 2026-05-21 14:37:40 +02:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: viewit/KX-Bridge-Release#27
No description provided.