iachat/app/javascript/dashboard/routes/dashboard
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
..
campaigns feat: Update UI for Copilot (#11561) 2025-06-02 22:02:03 -05:00
captain fix: Approved FAQ not disappearing from pending list after filtering (#11909) 2025-07-12 10:06:30 +05:30
commands chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
contacts feat: Show active Contacts (#8243) 2025-06-04 21:52:13 +05:30
conversation chore: Disable drag on macro item when preview is open (#11847) 2025-07-02 11:59:15 +05:30
customviews chore: Update buttons in dashboard (#11145) 2025-03-31 17:21:32 -07:00
helpcenter chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
inbox chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
notifications chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
settings chore: Alphabetically sort inbox list on settings page (#11921) 2025-07-11 11:46:15 +05:30
suspended chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
upgrade fix: Show billing upgrade page if there is a mismatch in the user count (#11886) 2025-07-06 19:30:27 -07:00
dashboard.routes.js feat(ee): Add Captain features (#10665) 2025-01-14 16:15:47 -08:00
Dashboard.vue chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30