#296 — [Bug]: User able to add the same KPI widget to summary more than once
Repo: Twill-AI/twill-ai-ui State: closed | Status: done Assignee: raymondehizoba
Created: 2025-04-22 · Updated: 2025-04-22
Description
Steps to reproduce
To reproduce:
- Create a new query that return kpi widget in a chat
- Create a new query that return chart widget in a chat
- (both widgets should be added to summary by default) Try to add widgets to dashboard’s summary
What was the expected behavior?
Expected result: no possibility to add the same widget to a dashboard’s summary for the 2nd+ time for all types of widgets
Actual result: I’m able to add KPI widget to the dashboard’s summary more than once,
- This could lead to wrong logic for handling which of them should be draggable
- also could lead to inability to remove widget from summary
KPI
https://github.com/user-attachments/assets/4ba47b3f-d4e1-458a-9e33-46159505d3c4
Chart widget
https://github.com/user-attachments/assets/58edb41e-24b2-400b-9430-acd67c14fc77
Notes
Add implementation notes, blockers, and context here
Related
Add wikilinks to related people, meetings, or other tickets