agnes-the-ai-analyst/app/web
Vojtech Rysanek 4b48377d44 feat(web): instance.custom_scripts — operator-injected HTML/JS into base.html
Add a generic, placement-aware mechanism for operators to inject HTML/JS
into every page that extends base.html or base_login.html. Each entry
takes name, enabled, placement (head_start | head_end | body_end), and
html. Replaces the need for per-vendor helpers when shipping feedback
widgets, analytics, or error-capture snippets.

Trust boundary mirrors the existing instance.logo_svg / instance.overview
pattern — admin-only, rendered with `| safe`. Resolved by
app/instance_config.py::get_custom_scripts(), surfaced in
/admin/server-config via _KNOWN_FIELDS["instance"]. Empty default keeps
the OSS vendor-neutral; sample Marker.io block ships commented out in
config/instance.yaml.example as the canonical example.
2026-05-21 13:22:27 +04:00
..
static feat(web): /home value-first redesign + unified page-shell across app (#366) 2026-05-21 06:19:16 +00:00
templates feat(web): instance.custom_scripts — operator-injected HTML/JS into base.html 2026-05-21 13:22:27 +04:00
__init__.py feat: add FastAPI server with auth, RBAC, and all API endpoints 2026-03-27 15:19:18 +01:00
connector_prompts.py feat(setup): configurable instance brand + connector setup overhaul (#268) 2026-05-12 17:10:08 +02:00
router.py feat(web): instance.custom_scripts — operator-injected HTML/JS into base.html 2026-05-21 13:22:27 +04:00
setup_instructions.py feat(web): /home value-first redesign + unified page-shell across app (#366) 2026-05-21 06:19:16 +00:00