iachat/app/javascript/dashboard
Pranav 0b4028b95d
feat: Add support for the references in FAQs (#10699)
Currently, it’s unclear whether an FAQ item is generated from a
document, derived from a conversation, or added manually.

This PR resolves the issue by providing visibility into the source of
each FAQ. Users can now see whether an FAQ was generated or manually
added and, if applicable, by whom.

- Move the document_id to a polymorphic relation (documentable).
- Updated the APIs to accommodate the change.
- Update the service to add corresponding references. 
- Updated the specs.

<img width="1007" alt="Screenshot 2025-01-15 at 11 27 56 PM"
src="https://github.com/user-attachments/assets/7d58f798-19c0-4407-b3e2-748a919d14af"
/>

---------

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2025-01-16 15:27:30 +05:30
..
api feat: Add assistant filter support to documents page (#10697) 2025-01-15 21:41:07 -08:00
assets chore(v4): Update colors (#10700) 2025-01-16 15:27:23 +05:30
components chore(v4): Update colors (#10700) 2025-01-16 15:27:23 +05:30
components-next feat: Add support for the references in FAQs (#10699) 2025-01-16 15:27:30 +05:30
composables feat: integrate new bubbles (#10550) 2024-12-19 18:41:55 +05:30
constants feat: update colors for v4 (#10660) 2025-01-15 17:13:03 +05:30
helper fix: Remove Report API calls from being called on every event (#10691) 2025-01-15 11:23:00 -08:00
i18n feat: Add support for the references in FAQs (#10699) 2025-01-16 15:27:30 +05:30
mixins chore: fix circleci on vite build (#10214) 2024-10-07 15:27:41 +05:30
modules feat: update colors for v4 (#10660) 2025-01-15 17:13:03 +05:30
routes feat: Add support for the references in FAQs (#10699) 2025-01-16 15:27:30 +05:30
store feat(ee): Add Captain features (#10665) 2025-01-14 16:15:47 -08:00
App.vue fix: Resolve accountId from the route, initialize route-sync before the app is loaded (#10245) 2024-10-08 09:25:51 -07:00
featureFlags.js feat: Add new sidebar for Chatwoot V4 (#10291) 2024-10-23 18:32:37 -07:00