Repository navigation
Conversation
The backend is about to make transcripts searchable, and a request without `types` searches every active type. Global search drops hit types it cannot render, so pages would come back short or empty. Ask only for the six types the popover renders.
rnambaale
force-pushed
the
fix/search-explicit-types
branch
from
November 25, 2026 05:15
9d0353b to
c572074
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Global search now tells the backend which result types it wants, instead of leaving
typesoff.The backend is about to make transcripts searchable (PR in review, not merged). A request without
typessearches every active type, and that set grows as new types ship. Global search ignores hit types it can't render, so once transcripts land, a page could come back mostly or entirely as transcript hits that we drop, leaving short or empty pages and understated counts on the people chips.GitHub Issue: [Resolves] #refactor-group/refactor-platform-rs#404
Changes
buildSearchQuerysends every type the client can parse when the caller gives notypes, so all callers are covered, not only global searchPARSEABLE_TYPESis derived from a hit-type to request-value mapping, so a hit type with no request value fails to compileScreenshots / Videos Showing UI Changes (if applicable)
N/a
Testing Strategy
npx vitest run __tests__/components/ui/search/searchrequest carries thetypesparameter above, and results look the same as before.Concerns