iachat/app/javascript/dashboard/components-next/captain/assistant
Sivin Varghese 1b02ebec68
fix: Approved FAQ not disappearing from pending list after filtering (#11909)
# Pull Request Template

## Description

This PR fixes an issue where approved FAQs were not removed from the
list when filtered by `pending` status.

**Fix:** Implemented real-time client-side filtering using a
`filteredResponses` computed property in `Index.vue`, updated all list
and selection logic to use it, and also hide the card toggle dropdown
button when the bulk action checkbox is selected.


## Type of change

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

## How Has This Been Tested?

### Loom video

https://www.loom.com/share/216221a4910c44ebb1d49ab9e34c820c?sid=98c9c239-54eb-4bd9-b04d-aeccc55bfb3a

## 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

---------

Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2025-07-12 10:06:30 +05:30
..
AssistantCard.story.vue chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
AssistantCard.vue feat: Allow customizing the responses, flows in Captain (#11385) 2025-04-29 15:42:15 -07:00
AssistantPlayground.vue feat: Allow customizing the responses, flows in Captain (#11385) 2025-04-29 15:42:15 -07:00
DocumentCard.story.vue chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
DocumentCard.vue feat: Add frontend changes for Captain limits (#10749) 2025-01-24 09:21:09 -08:00
InboxCard.story.vue chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
InboxCard.vue feat: Add frontend changes for Captain limits (#10749) 2025-01-24 09:21:09 -08:00
MessageList.vue fix: Update the character count for instructions (#11419) 2025-05-05 19:41:38 -07:00
ResponseCard.story.vue chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
ResponseCard.vue fix: Approved FAQ not disappearing from pending list after filtering (#11909) 2025-07-12 10:06:30 +05:30