iachat/app/javascript/dashboard
Baptiste Fontaine 2a365bf19e
feat: show email subject in conversation search results (#10843)
# Pull Request Template

## Description

This addresses #10842. It exposes `additional_attributes` in the
conversations search endpoint, uses it in
`SearchResultConversationsList` to pass
`conversation.additional_attributes?.mail_subject` down to
`SearchResultConversationItem`, which in turn displays it.

Fixes #10842

## Type of change

Please delete options that are not relevant.

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality not to work as expected)
- [ ] This change requires a documentation update

## How Has This Been Tested?

I have tested this locally by searching for conversations. See this
screenshot where I searched for "noreply":
![Screenshot from 2025-02-05
11-04-54](https://github.com/user-attachments/assets/689e3e99-c20b-48a7-9c3e-35d45ffeafc1)

I would love to add automated tests but I’m not sure how to do that.

## 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
- [ ] New and existing unit tests pass locally with my changes
- [x] Any dependent changes have been merged and published in downstream
modules

---------

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: iamsivin <iamsivin@gmail.com>
2025-02-06 10:38:57 +05:30
..
api chore: Search improvements (#10801) 2025-02-03 19:34:50 +05:30
assets revert: Next bubble improvements (#10795) 2025-01-29 20:04:45 -08:00
components feat(v4): Update the report pages to show aggregate values (#10766) 2025-01-28 09:19:18 +05:30
components-next fix: incorrect sender name on email meta (#10837) 2025-02-06 08:52:02 +05:30
composables feat: Add frontend changes for Captain limits (#10749) 2025-01-24 09:21:09 -08:00
constants feat: update colors for v4 (#10660) 2025-01-15 17:13:03 +05:30
helper chore: Disable audio alert for pending status conversation (#10777) 2025-01-28 18:49:12 +05:30
i18n feat: show email subject in conversation search results (#10843) 2025-02-06 10:38:57 +05:30
mixins chore: fix circleci on vite build (#10214) 2024-10-07 15:27:41 +05:30
modules feat: show email subject in conversation search results (#10843) 2025-02-06 10:38:57 +05:30
routes feat: Add unread badge to sidebar for inbox view (#10803) 2025-01-31 15:14:10 +05:30
store chore: Search improvements (#10801) 2025-02-03 19:34:50 +05:30
App.vue fix: Resolve accountId from the route, initialize route-sync before the app is loaded (#10245) 2024-10-08 09:25:51 -07:00
featureFlags.js feat(v4): Update the report pages to show aggregate values (#10766) 2025-01-28 09:19:18 +05:30