Facade supports “standard” templates and adds them during on-boarding.

Repo: · Issue: #253 Status: Open · Priority: P2 Assignee: Unassigned

Description

Request

Caused/blocked by https://github.com/Twill-AI/twill-ai-ui/issues/184

To on-board customers with “standard” dashboards need to persist them somehow (with ability to edit for all tenants at once). Options:

  • [chosen] Hardcode in Facade. Pros: easy. Cons: hard to maintain by not-developers.
  • Persist in “master” tenant. Pros: may be managed by not devs. Cons: much bigger effort.

Acceptance criteria

  • Facade persists “standard” dashboards code directly in code (without LlmEngine-generated origins linked). All dashboards have:
    • Name
    • Category
    • Description
  • There is REST API for “standard” dashboards to:
    • list dashboards,
    • add selected dashboard to tenant for specified integration/datasource.
  • Facade automatically adds “standard” dashboards after first integration was loaded. Generates notification(s) about it.
  • Logic above is covered with unit tests.

Implementation Notes

Dash adds notes here while working

Link to people, meetings, dependent tickets