#58 — Implement Dashboards+Widgets API and persistence
Repo: Twill-AI/facade State: closed | Status: done Assignee: Unassigned
Created: 2024-08-01 · Updated: 2025-09-15
Description
See https://twillpayments.atlassian.net/wiki/spaces/TD/pages/7929859/Facade+API sections:
- List dashboards.
- Create new dashboard.
- Open dashboard.
- Update dashboard.
- Delete dashboard.
AC:
- API and relevant persistence for listed above items is implemented.
- Some basic tests are added.
- https://github.com/Twill-AI/facade/issues/38 is out of scope.
- https://github.com/Twill-AI/facade/issues/68 is out of scope.
Implementation details
On 2024/08/12 Product meeting we decided that widgets not on the dashboard should not be updateable.
Also we probably would need (in future) to inherit time range on widgets from the dashboard it added into.
It means that we need to clone widgets when they are added to the new dashboard. Updated DB diagram and API.
Implemented https://github.com/Twill-AI/python-shared/issues/14 because Piccolo ORM doesn’t support it yet.
Will integrate with https://github.com/Twill-AI/twill-llm-engine/issues/84 because need to get LLM Engine update with https://github.com/Twill-AI/python-shared/issues/14 and from “main” branch. Also integration here is expected to be small.
Notes
Add implementation notes, blockers, and context here
Related
Add wikilinks to related people, meetings, or other tickets