LocalAI/core/http/react-ui/src/pages
Ettore Di Giacinto b1a99436c7
feat(branding): admin-configurable instance name, tagline, and assets (#9635)
Adds a whitelabeling feature so an operator can replace the LocalAI
instance name, tagline, square logo, horizontal logo, and favicon from
the admin Settings page. Defaults fall back to the bundled assets so
existing installs are unaffected.

The public GET /api/branding endpoint is reachable pre-auth so the
login screen can render the configured branding before sign-in.
Mutating routes (POST/DELETE /api/branding/asset/:kind) remain
admin-only. Text fields (instance_name, instance_tagline) ride the
existing /api/settings flow; binary assets get a dedicated multipart
upload route that persists files under DynamicConfigsDir/branding/.

To prevent the Settings page's stale local state from clobbering an
upload on save, UpdateSettingsEndpoint preserves whatever the on-disk
asset filename fields are regardless of the body — /api/branding/asset/*
are the sole writers for those fields.

The MCP catalog gains get_branding and set_branding tools (text fields
only; file upload stays UI-only) plus a configure_branding skill prompt.

While wiring this up, the same restart-loss class of bug surfaced for
several existing fields whose RuntimeSettings entries were never read
by the startup loader. Fix loadRuntimeSettingsFromFile() to load:

  - branding (instance_name, instance_tagline, *_file basenames)
  - auto_upgrade_backends, prefer_development_backends
  - localai_assistant_enabled
  - open_responses_store_ttl
  - the 7 existing AgentPool fields (enabled, default/embedding model,
    chunking sizes, enable_logs, collection_db_path)

Also exposes 3 new AgentPool runtime settings (vector_engine,
database_url, agent_hub_url) via /api/settings + the Settings UI, with
the same load-on-startup wiring. The file watcher's manual-edit path
is intentionally not changed — the in-process API endpoints already
update appConfig directly, so the watcher is redundant for supported
flows and a separate refactor for everything else.

15 TDD specs cover the loader behaviour (1 branding + 11 adjacent + 3
new agent-pool); 2 specs cover the persistence helpers and the
clobber-prevention contract.


Assisted-by: claude-code:claude-opus-4-7

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2026-05-02 15:51:36 +02:00
..
Account.jsx feat(react-ui): page-width archetype system + mobile/tablet nav polish 2026-04-27 11:51:29 +00:00
AgentChat.jsx fix(react-ui): don't yank chat scroll to bottom while user is reading 2026-04-26 19:35:39 +00:00
AgentCreate.jsx feat(react-ui): page-width archetype system + mobile/tablet nav polish 2026-04-27 11:51:29 +00:00
AgentJobDetails.jsx feat(react-ui): page-width archetype system + mobile/tablet nav polish 2026-04-27 11:51:29 +00:00
AgentJobs.jsx feat(react-ui): page-width archetype system + mobile/tablet nav polish 2026-04-27 11:51:29 +00:00
Agents.jsx feat(react-ui): page-width archetype system + mobile/tablet nav polish 2026-04-27 11:51:29 +00:00
AgentStatus.jsx feat(react-ui): page-width archetype system + mobile/tablet nav polish 2026-04-27 11:51:29 +00:00
AgentTaskDetails.jsx feat(react-ui): page-width archetype system + mobile/tablet nav polish 2026-04-27 11:51:29 +00:00
auth.css feat(react-ui): editorial refresh with Nord palette and polished primitives (#9550) 2026-04-24 23:35:59 +02:00
BackendLogs.jsx feat(react-ui): page-width archetype system + mobile/tablet nav polish 2026-04-27 11:51:29 +00:00
Backends.jsx feat(react-ui): page-width archetype system + mobile/tablet nav polish 2026-04-27 11:51:29 +00:00
Chat.jsx feat: react chat redesign (#9616) 2026-04-29 22:33:26 +02:00
CollectionDetails.jsx feat(react-ui): page-width archetype system + mobile/tablet nav polish 2026-04-27 11:51:29 +00:00
Collections.jsx feat(react-ui): page-width archetype system + mobile/tablet nav polish 2026-04-27 11:51:29 +00:00
Explorer.jsx chore: css cleanups 2026-03-31 16:37:38 +02:00
FaceRecognition.jsx feat: add biometrics UI (#9524) 2026-04-24 08:50:34 +02:00
FineTune.jsx feat(react-ui): page-width archetype system + mobile/tablet nav polish 2026-04-27 11:51:29 +00:00
Home.jsx feat(branding): admin-configurable instance name, tagline, and assets (#9635) 2026-05-02 15:51:36 +02:00
ImageGen.jsx chore(ui): improve visibility of forms, color palette 2026-04-14 21:53:03 +00:00
ImportModel.jsx feat(react-ui): page-width archetype system + mobile/tablet nav polish 2026-04-27 11:51:29 +00:00
Login.jsx feat(branding): admin-configurable instance name, tagline, and assets (#9635) 2026-05-02 15:51:36 +02:00
Manage.jsx fix(ui): hide meta-dev backends in System → Backends Development toggle 2026-04-27 20:38:20 +00:00
ModelEditor.jsx feat(react-ui): page-width archetype system + mobile/tablet nav polish 2026-04-27 11:51:29 +00:00
Models.jsx feat(react-ui): page-width archetype system + mobile/tablet nav polish 2026-04-27 11:51:29 +00:00
NodeBackendLogs.jsx fix(distributed): per-replica backend logs (store aggregation + UI) 2026-04-27 20:55:24 +00:00
Nodes.jsx fix(distributed): per-replica backend logs (store aggregation + UI) 2026-04-27 20:55:24 +00:00
NotFound.jsx feat(react-ui): page-width archetype system + mobile/tablet nav polish 2026-04-27 11:51:29 +00:00
P2P.jsx feat(react-ui): page-width archetype system + mobile/tablet nav polish 2026-04-27 11:51:29 +00:00
Quantize.jsx feat(react-ui): page-width archetype system + mobile/tablet nav polish 2026-04-27 11:51:29 +00:00
Settings.jsx feat(branding): admin-configurable instance name, tagline, and assets (#9635) 2026-05-02 15:51:36 +02:00
SkillEdit.jsx feat(react-ui): page-width archetype system + mobile/tablet nav polish 2026-04-27 11:51:29 +00:00
Skills.jsx feat(react-ui): page-width archetype system + mobile/tablet nav polish 2026-04-27 11:51:29 +00:00
Sound.jsx chore(ui): improve visibility of forms, color palette 2026-04-14 21:53:03 +00:00
Studio.jsx feat: add (experimental) fine-tuning support with TRL (#9088) 2026-03-21 02:08:02 +01:00
Talk.jsx feat(react-ui): page-width archetype system + mobile/tablet nav polish 2026-04-27 11:51:29 +00:00
Traces.jsx feat(react-ui): page-width archetype system + mobile/tablet nav polish 2026-04-27 11:51:29 +00:00
TTS.jsx chore(ui): improve visibility of forms, color palette 2026-04-14 21:53:03 +00:00
Usage.jsx feat(react-ui): page-width archetype system + mobile/tablet nav polish 2026-04-27 11:51:29 +00:00
Users.jsx feat(react-ui): page-width archetype system + mobile/tablet nav polish 2026-04-27 11:51:29 +00:00
VideoGen.jsx chore(ui): improve visibility of forms, color palette 2026-04-14 21:53:03 +00:00
VoiceRecognition.jsx feat: add biometrics UI (#9524) 2026-04-24 08:50:34 +02:00