#222 — Support “favorited” for GET /dashboards and /llmchats API
Repo: Twill-AI/facade State: closed | Status: done Assignee: Unassigned
Created: 2024-12-02 · Updated: 2025-03-24
Description
Caused by https://twill-network.slack.com/archives/C06UCQP1BFC/p1732898868502479 and https://www.figma.com/design/ZUrZatocX5Vs79IBNqzGke/Twill-UI?node-id=2091-34284&t=ZUApvfzmVsZg8lMw-4
Need to have “favorited” status on Library’s “Dashboards” page. And due to we need to query “favorite” table anyway we may add filter by it.
AC:
- GET
/dashboardsAPI supports&is_favorite={bool}query parameter with behavior “if provided then sort by “favorited” status, the same way as GET/foldersworks. - GET
/dashboardsAPI returns rightis_favoritevalue in response (on Dec 2 it “On this API it is ‘null’ always.”). - GET
/llmchatsAPI supports&is_favorite={bool}query parameter with behavior “if provided then sort by “favorited” status, the same way as GET/foldersworks. - GET
/llmchatsAPI returns rightis_favoritevalue in response (on Dec 2 it “On this API it is ‘null’ always.”). - https://twillpayments.atlassian.net/wiki/spaces/TD/pages/7929859/Facade+API is updated with behavior above.
Notes
Add implementation notes, blockers, and context here
Related
Add wikilinks to related people, meetings, or other tickets