iachat/app/javascript/dashboard/components-next/captain/pageComponents
Tanmay Deep Sharma 7ade9061a8
feat: display total FAQ count in Related FAQs dialog (#13433)
## Description

Display the total count of generated FAQs in the Related FAQs dialog
title to give users immediate visibility into how many FAQs were
generated from a document.

## Type of change

Please delete options that are not relevant.

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

## Snapshots?

<img width="717" height="268" alt="Screenshot 2026-02-04 at 1 47 36 AM"
src="https://github.com/user-attachments/assets/c3e927ce-6d09-499d-8d02-8a44e0c353e2"
/>


## Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] 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
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream
modules

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Small UI-only change using existing store metadata; risk is limited to
incorrect/blank counts if `meta.totalCount` is missing or stale.
> 
> **Overview**
> Updates the `RelatedResponses` dialog to display the total related
response count in the title by reading
`captainResponses/getMeta.totalCount` (defaulting to 0) and appending it
as `(<count>)`.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
7cd67c9991faceeff33d33c319e324b1c6cf73f4. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2026-02-04 11:27:51 +05:30
..
assistant chore: Update theme colors and add new Inter variable fonts (#13347) 2026-01-28 14:36:04 -08:00
customTool chore: Update theme colors and add new Inter variable fonts (#13347) 2026-01-28 14:36:04 -08:00
document feat: display total FAQ count in Related FAQs dialog (#13433) 2026-02-04 11:27:51 +05:30
emptyStates chore: Replace installation name in captain empty state (#13083) 2025-12-16 15:04:34 +05:30
inbox chore: Update theme colors and add new Inter variable fonts (#13347) 2026-01-28 14:36:04 -08:00
response chore: Update theme colors and add new Inter variable fonts (#13347) 2026-01-28 14:36:04 -08:00
settings feat: Captain settings header component (#11912) 2025-07-09 22:21:25 +05:30
switcher chore: Hide assistant switcher on paywall screen (#12875) 2025-11-17 09:58:59 +05:30
BulkDeleteDialog.vue feat: Add support for bulk action for Captain FAQs (#10905) 2025-02-27 17:05:33 -08:00
DeleteDialog.vue feat: Add UI for custom tools (#12585) 2025-10-06 09:05:54 -07:00
Paywall.vue feat: Support bigger font size in dashboard (#10974) 2025-02-27 12:10:33 +05:30