Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions static/app/views/issueList/overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ import {useHasPageFrameFeature} from 'sentry/views/navigation/useHasPageFrameFea
import {useLLMContext} from 'sentry/views/seerExplorer/contexts/llmContext';
import {registerLLMContext} from 'sentry/views/seerExplorer/contexts/registerLLMContext';

import {useSelectedGroupSearchView} from './issueViews/useSelectedGroupSeachView';
import {IssueListFilters} from './filters';
import {IssueListCommandPaletteActions} from './issueListCommandPaletteActions';
import {
Expand Down Expand Up @@ -874,18 +875,22 @@ function IssueListOverviewInner({
// stays accurate if the user edits the search bar.
const isTaxonomyView = query.includes('issue.category:');

const {data: groupSearchView} = useSelectedGroupSearchView();

useLLMContext({
contextHint:
(isTaxonomyView
? 'Sentry issue feed — filtered taxonomy view. The query below contains the active category filter. '
: 'Sentry issue list page. ') +
'Shows a filterable, sortable list of grouped issues. ' +
'viewName is the name of the saved issue view being displayed (if any). ' +
'query is the current search filter (Sentry search syntax). ' +
'displayedIssues is a pipe-delimited CSV with header row (shortId|title|issueType|level|priority|events|users|firstSeen) of the visible issues on the current page. ' +
'issueCount is the total matching issues — there may be more than what is displayed. ' +
'Tools: get_issue_details(issue_id) for issue aggregate stats; ' +
'get_event_details(event_id?, issue_id?) for a specific error event; ' +
'telemetry_live_search(dataset, question, project_slugs) for querying spans/errors/logs/metrics.',
viewName: groupSearchView?.name,
query,
sort,
issueCount: queryCount,
Expand Down
1 change: 1 addition & 0 deletions static/app/views/seerExplorer/hooks/useSeerExplorer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ const STRUCTURED_CONTEXT_ROUTES = new Set([
'/explore/traces/',
'/explore/traces/trace/:traceSlug/',
'/issues/',
'/issues/views/:viewId/',
'/issues/errors-outages/',
'/issues/breached-metrics/',
'/issues/warnings/',
Expand Down
Loading