Files
fusion/packages/dashboard/app/components/__tests__
gsxdsm cf1b33bf5e FN-7942: index Project Models chat-default settings in Settings search
Extends the shared Settings search index so queries like "chat" surface the Project Models section's Direct-chat default fields, which previously had no matching searchable terms.

- Add chat-related searchableText keywords (chat, new chat, chat default, chat model, chat agent, etc.) to the project-models SETTINGS_SECTIONS entry
- Add searchableKeys covering the i18n chat-default labels (chatHeading, chatDescription, chatNewSessionMode*, chatDefaultKind/Model/Agent) so translated labels are also indexed
- Export SettingsSection type plus normalizeSettingsSearchText/sectionMatchesSettingsSearch/filterSettingsSectionsForSearch/SETTINGS_SECTIONS from SettingsModal.tsx for direct unit testing
- Add SettingsModal.search.test.ts covering chat-query matches and a negative case (unrelated Remote Access term does not match)
- Add changeset fn-7942-settings-search-chat.md (patch, fix category)

Files changed:
 .changeset/fn-7942-settings-search-chat.md         |  7 +++
 .../dashboard/app/components/SettingsModal.tsx     | 50 +++++++++++++++++++---
 .../__tests__/SettingsModal.search.test.ts         | 41 ++++++++++++++++++
 3 files changed, 92 insertions(+), 6 deletions(-)

Fusion-Task-Id: FN-7942

Fusion-Task-Lineage: fa044908-7ada-4334-a789-6d2bf08afdb8

Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-13 07:44:12 -07:00
..
2026-05-19 23:04:12 -07:00