iachat/app/javascript/dashboard/components-next/captain/assistant
Sivin Varghese 3e27e28848
chore: Update captain pending FAQ interface (#12752)
# Pull Request Template

## Description

**This PR includes,**
- Added new pending FAQs view with approve/edit/delete actions for each
response.
- Implemented banner notification showing pending FAQ count on main
approved responses page.
- Created dedicated route for pending FAQs review at
/captain/responses/pending.
- Added automatic pending count updates when switching assistants or
routes.
- Modified ResponseCard component to show action buttons instead of
dropdown in pending view.

Fixes
https://linear.app/chatwoot/issue/CW-5833/pending-faqs-in-a-different-ux

## Type of change

- [x] New feature (non-breaking change which adds functionality)

## How Has This Been Tested?

### Loom video
https://www.loom.com/share/5fe8f79b04cd4681b9360c48710b9373


## Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [x] 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: Pranav <pranav@chatwoot.com>
2025-10-28 20:47:42 -07:00
..
AddNewRulesDialog.story.vue feat: New GuardRails and Response Guidelines edit page (#11932) 2025-07-16 21:52:25 +05:30
AddNewRulesDialog.vue feat: New Scenarios page (#11975) 2025-07-30 19:34:27 +05:30
AddNewRulesInput.story.vue feat: New GuardRails and Response Guidelines edit page (#11932) 2025-07-16 21:52:25 +05:30
AddNewRulesInput.vue feat: New GuardRails and Response Guidelines edit page (#11932) 2025-07-16 21:52:25 +05:30
AddNewScenariosDialog.vue feat: New Scenarios page (#11975) 2025-07-30 19:34:27 +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
BulkSelectBar.vue feat: New GuardRails and Response Guidelines edit page (#11932) 2025-07-16 21:52:25 +05:30
DocumentCard.story.vue chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
DocumentCard.vue feat: add FE changes for captain pdf support for faq generation (#12115) 2025-09-02 19:01:16 +05:30
InboxCard.story.vue chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
InboxCard.vue chore: Replace Thumbnail with Avatar (#12119) 2025-08-11 15:47:17 +05:30
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 chore: Update captain pending FAQ interface (#12752) 2025-10-28 20:47:42 -07:00
RuleCard.story.vue feat: New GuardRails and Response Guidelines edit page (#11932) 2025-07-16 21:52:25 +05:30
RuleCard.vue feat: New Scenarios page (#11975) 2025-07-30 19:34:27 +05:30
ScenariosCard.story.vue feat: New Scenarios page (#11975) 2025-07-30 19:34:27 +05:30
ScenariosCard.vue chore: Improvements in scenarios (#12098) 2025-08-14 19:07:28 +05:30
SuggestedRules.story.vue feat: New GuardRails and Response Guidelines edit page (#11932) 2025-07-16 21:52:25 +05:30
SuggestedRules.vue feat: New GuardRails and Response Guidelines edit page (#11932) 2025-07-16 21:52:25 +05:30
ToolsDropdown.story.vue feat: New Scenarios page (#11975) 2025-07-30 19:34:27 +05:30
ToolsDropdown.vue feat: New Scenarios page (#11975) 2025-07-30 19:34:27 +05:30