User’s feedback API
Repo: · Issue: #128 Status: Open · Priority: P2 Assignee: Martin
Description
Need to implement ability to gather precise feedback from users. Also current “Like/Dislike” LLM Chat Items feedback is not used/visible.
Let’s limit feedback scope/features to only:
- Integrations (including first one, for on-boarding and relevant issues).
- LLM Chats and any entity which contains it (i.e. dashboards and widgets on dashboards).
- No in-platform screenshots/videos support (because it would require “blob” storage support). Users may provide links from external sources.
Flow:
- Users are given with some control(s) in UI to input: Like/Dislike, text with description “what is good or wrong” and relevant links, decide whether we allowed to connect with the user (email/phone/etc.) or not, consent checkbox “I allow Twill to read information around this issue”, “Submit” button.
- Facade persists feedback with in-app context around it and we are having alert in
#alerts-prodwith some relevant information. - Facade OpenAPI UI provides way to query specific feedback details.
AC:
- “master” tenant has new table “feedback” with the structure like:
id intcreated_at timestamptenant_id string// 10 charsuser_id stringintegration_id int | null// NULL if it is for LLM Chat.llmchat_id int | null// NULL if it is for integration.connect_way string | null// To support HTML form fields likecheckbox 'Allow to connect me'(we know email but don’t have ability to sent custom emails now so it would probably via Mike) orEmail if you want us to connect with you(in future, to allow users provide custom email, not with which they have registered) orEmail of phone if you want us to connect with youand so on. Now just copy email if agree.explanation string// User’s explanation of the issue. Should support links and be as big as needed.context string// Here JSON whi
Implementation Notes
Dash adds notes here while working
Related
Link to people, meetings, dependent tickets