Skip to content

Commit

Permalink
feat: discussions support (#29355)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
daibhin and github-actions[bot] authored Feb 28, 2025
1 parent fcfae07 commit dc460f2
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion frontend/src/lib/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export const FEATURE_FLAGS = {
SURVEYS_CUSTOM_FONTS: 'surveys-custom-fonts', // owner: #team-surveys
YEAR_IN_HOG: 'year-in-hog', // owner: #team-replay
SESSION_REPLAY_EXPORT_MOBILE_DATA: 'session-replay-export-mobile-data', // owner: #team-replay
DISCUSSIONS: 'discussions', // owner: #team-replay
DISCUSSIONS: 'discussions', // owner: @daibhin @benjackwhite
REDIRECT_INSIGHT_CREATION_PRODUCT_ANALYTICS_ONBOARDING: 'redirect-insight-creation-product-analytics-onboarding', // owner: @biancayang
AI_SESSION_SUMMARY: 'ai-session-summary', // owner: #team-replay
AI_SESSION_PERMISSIONS: 'ai-session-permissions', // owner: #team-replay
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ import posthog from 'posthog-js'
import { Scene } from 'scenes/sceneTypes'
import { urls } from 'scenes/urls'

import { SIDE_PANEL_CONTEXT_KEY, SidePanelSceneContext } from '~/layout/navigation-3000/sidepanel/types'
import { ErrorTrackingIssue, ErrorTrackingIssueAssignee } from '~/queries/schema/schema-general'
import { Breadcrumb } from '~/types'
import { ActivityScope, Breadcrumb } from '~/types'

import type { errorTrackingIssueSceneLogicType } from './errorTrackingIssueSceneLogicType'
import { errorTrackingLogic } from './errorTrackingLogic'
Expand Down Expand Up @@ -115,6 +116,16 @@ export const errorTrackingIssueSceneLogic = kea<errorTrackingIssueSceneLogicType
},
],

[SIDE_PANEL_CONTEXT_KEY]: [
(_, p) => [p.id],
(issueId): SidePanelSceneContext => {
return {
activity_scope: ActivityScope.ERROR_TRACKING_ISSUE,
activity_item_id: issueId,
}
},
],

eventsQuery: [
(s) => [s.issue, s.filterTestAccounts, s.filterGroup, s.dateRange],
(issue, filterTestAccounts, filterGroup, dateRange) =>
Expand Down

0 comments on commit dc460f2

Please sign in to comment.