iachat/app/javascript/dashboard/components-next/copilot
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
..
Copilot.story.vue feat(ee): Add copilot integration (v1) to the conversation sidebar (#10566) 2024-12-10 15:36:48 -08:00
Copilot.vue feat: Update UI for Copilot (#11561) 2025-06-02 22:02:03 -05:00
CopilotAgentMessage.vue chore: Update Copilot UI in favor of the new design (#11544) 2025-05-21 18:14:51 -07:00
CopilotAssistantMessage.vue feat: Update UI for Copilot (#11561) 2025-06-02 22:02:03 -05:00
CopilotEmptyState.vue fix: Show default dashboard prompt for contact and articles (#11675) 2025-06-04 13:54:51 -05:00
CopilotInput.vue feat: Add components to show steps in the copilot thinking process (#11530) 2025-05-20 21:35:29 -07:00
CopilotLauncher.vue fix: Reset conversation sidebar when copilot is open (#11657) 2025-06-03 13:39:18 -05:00
CopilotLoader.story.vue feat(ee): Add copilot integration (v1) to the conversation sidebar (#10566) 2024-12-10 15:36:48 -08:00
CopilotLoader.vue feat(ee): Add copilot integration (v1) to the conversation sidebar (#10566) 2024-12-10 15:36:48 -08:00
CopilotThinkingBlock.vue feat: Update UI for Copilot (#11561) 2025-06-02 22:02:03 -05:00
CopilotThinkingGroup.story.vue feat: Add components to show steps in the copilot thinking process (#11530) 2025-05-20 21:35:29 -07:00
CopilotThinkingGroup.vue feat: Update UI for Copilot (#11561) 2025-06-02 22:02:03 -05:00
ToggleCopilotAssistant.vue feat: allow copilot use without connecting an inbox (#10992) 2025-02-28 15:20:39 -08:00