chatwoot/app/javascript/dashboard
Sivin Varghese ee293c3598
fix: Show default dashboard prompt for contact and articles (#11675)
# Pull Request Template

## Description

This PR fixes an issue where the copilot displayed irrelevant prompts on
the Contacts and Article pages.

Previously, conversation-specific prompts like "Summarize", "Suggest
answer", and "Rate the conversation" were shown even outside
conversations. With this update, users navigating to the Contacts or
Articles routes will now see appropriate dashboard prompts such as "High
priority conversation" and "List contacts".

## Type of change

- [x] Bug fix (non-breaking change which fixes an issue)

## How Has This Been Tested?

### Screenshots

**Contacts Page**
<img width="1401" alt="image"
src="https://github.com/user-attachments/assets/242f42a1-d9a5-4369-bd00-5c22e977970d"
/>

**Articles page**
<img width="1401" alt="image"
src="https://github.com/user-attachments/assets/12c5575d-9c50-4530-a0c9-2f02fbf4c732"
/>



## Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [ ] I have commented on my code, particularly in hard-to-understand
areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream
modules
2025-06-04 13:54:51 -05:00
..
api feat: Show active Contacts (#8243) 2025-06-04 21:52:13 +05:30
assets fix: Design issues with profile settings style (#11630) 2025-05-29 12:07:05 -06:00
components feat: Show active Contacts (#8243) 2025-06-04 21:52:13 +05:30
components-next fix: Show default dashboard prompt for contact and articles (#11675) 2025-06-04 13:54:51 -05:00
composables feat: auto resolve label option and fixes (#11541) 2025-06-04 14:53:24 +05:30
constants feat: Prevent saving preferences and status when impersonating (#11164) 2025-05-20 17:34:30 -07:00
helper feat: Add stores for copilotMessages and copilotThreads (#11603) 2025-05-27 18:36:32 -06:00
i18n feat: Show active Contacts (#8243) 2025-06-04 21:52:13 +05:30
mixins chore: fix circleci on vite build (#10214) 2024-10-07 15:27:41 +05:30
modules feat: show articles in the list only if feature is enabled (#11607) 2025-05-29 14:19:35 +05:30
routes feat: Show active Contacts (#8243) 2025-06-04 21:52:13 +05:30
store feat: Show active Contacts (#8243) 2025-06-04 21:52:13 +05:30
App.vue feat: Upgrade page instead of banner (#11202) 2025-03-28 02:28:17 -07:00
featureFlags.js feat: Instagram Inbox using Instagram Business Login (#11054) 2025-04-08 10:47:41 +05:30