Repository navigation
feat: Global Search across errors, events, sessions, releases, and users (#494) - #571
Merged
Merged
Conversation
Add GET /api/search and /dashboard/search with free-text + key:value filters, grouped limited results, and deep links into existing list views. Co-authored-by: Cursor <[email protected]>
Merge query filters into result hrefs, forward events View all via propertiesContains, fold device into sessions q, and scope Issues by ErrorOccurrence for release/platform/time filters. Co-authored-by: Cursor <[email protected]>
Align session/user/event/issue scoping with list parity (effective release, NULL-env fallback, metricsUntil windows, Issues last_seen for time-only), and fix search keyboard Enter/pending + emptyQuery UX. Co-authored-by: Cursor <[email protected]>
Release hits now require event/session/error activity in the same nav/range/metricsUntil window as other groups (Release Health KPI sources). Co-authored-by: Cursor <[email protected]>
Treat route-built session/event/error time windows as a valid search signal so time-only queries stay consistent across groups, and rank user hits by latest session activity instead of identity A–Z. Co-authored-by: Cursor <[email protected]>
Time-only issue hits (no release/platform) now filter last_seen with errorOccurrenceRange so all-time/open-ended nav matches events/sessions. Co-authored-by: Cursor <[email protected]>
Treat http(s):// tokens as free text instead of ignored filters, and forward API parsed.freeText into View all list links so colon-bearing terms match grouped hits. Co-authored-by: Cursor <[email protected]>
Guard form submit on isPending and scope Enter→highlighted-hit to the search input so pending nav and focused result rows are not bypassed. Co-authored-by: Cursor <[email protected]>
Forward View all Events free text as list `q` (name OR properties, AND terms) instead of propertiesContains-only so name-only and multi-word hits stay consistent. Co-authored-by: Cursor <[email protected]>
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit ed758b8. Configure here.
…teardown Issues and Sessions list `q` now AND whitespace terms like Global Search (message/fingerprint; session identity/device fields). Also re-check `window` inside captureClientException async callbacks so Vitest teardown cannot throw ReferenceError. Co-authored-by: Cursor <[email protected]>
5 tasks
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.

Summary
/dashboard/search(nav tab) backed byGET /api/search?q=…key:valuefilters (environment,release,browser,country,device,platform,error,user,from/to/range)Closes #494
Behavior notes (PR docs)
ignoredKeysin the API response)device:mapping:mobile→ ios/android/mobile/iphone/ipad;desktop→ desktop/web/windows/mac/linux/chrome os; otherwise substring ILIKE on platform / device_os / device_browserrelease:__unknown__uses the existing Unknown sentinel from Dashboard: Releases Health page — adoption and regression across versions #453propertiesContains(Events listnameis exact-match)Test plan
/dashboard/searchwith a project selected; empty query shows empty statecheckout) → grouped hits across entities within limitscheckout environment:production release:v1.4.0foo:bar) → ignored filters notice; query still runspnpm lint && pnpm test && pnpm buildMade with Cursor