@@ -6,7 +6,7 @@ import { useEffect } from 'react'
66import { useRef } from 'react'
77
88import { IconFilter , IconList , IconSearch } from '@posthog/icons'
9- import { LemonCollapse , LemonDivider } from '@posthog/lemon-ui'
9+ import { LemonDivider } from '@posthog/lemon-ui'
1010
1111import { Resizer } from 'lib/components/Resizer/Resizer'
1212import { ResizerLogicProps , resizerLogic } from 'lib/components/Resizer/resizerLogic'
@@ -66,33 +66,36 @@ export function ErrorTrackingIssueScene(): JSX.Element {
6666 < ErrorTrackingSetupPrompt >
6767 < BindLogic logic = { issueFiltersLogic } props = { { logicKey : ERROR_TRACKING_ISSUE_SCENE_LOGIC_KEY } } >
6868 { issue && (
69- < div className = "px-4" >
70- < SceneTitleSection
71- canEdit
72- name = { issue . name }
73- onNameChange = { updateName }
74- description = { null }
75- resourceType = { { type : 'error_tracking' } }
76- actions = {
77- < div className = "flex items-center gap-1" >
78- < IssueAssigneeSelect
79- assignee = { issue . assignee }
80- onChange = { updateAssignee }
81- disabled = { issue . status != 'active' }
82- />
83- < IssueStatusSelect status = { issue . status } onChange = { updateStatus } />
84- </ div >
85- }
86- />
87-
69+ < >
70+ < div className = "px-4" >
71+ < SceneTitleSection
72+ canEdit
73+ name = { issue . name }
74+ onNameChange = { updateName }
75+ description = { null }
76+ resourceType = { { type : 'error_tracking' } }
77+ actions = {
78+ < div className = "flex items-center gap-1" >
79+ < IssueAssigneeSelect
80+ assignee = { issue . assignee }
81+ onChange = { updateAssignee }
82+ disabled = { issue . status != 'active' }
83+ />
84+ < IssueStatusSelect status = { issue . status } onChange = { updateStatus } />
85+ </ div >
86+ }
87+ />
88+ </ div >
8889 < ErrorTrackingIssueScenePanel issue = { issue } />
89- </ div >
90- ) }
9190
92- < div className = "ErrorTrackingIssue flex h-[calc(100vh-var(--scene-layout-header-height)-50px)]" >
93- < LeftHandColumn />
94- < RightHandColumn />
95- </ div >
91+ < div className = "ErrorTrackingIssue h-[calc(100vh-var(--scene-layout-header-height)-50px)] flex" >
92+ < div className = "flex flex-1 h-full" >
93+ < LeftHandColumn />
94+ < RightHandColumn />
95+ </ div >
96+ </ div >
97+ </ >
98+ ) }
9699 </ BindLogic >
97100 </ ErrorTrackingSetupPrompt >
98101 )
@@ -103,7 +106,7 @@ const RightHandColumn = (): JSX.Element => {
103106 const tagRenderer = useErrorTagRenderer ( )
104107
105108 return (
106- < div className = "flex flex-1 gap-y-1 px-4 py-3 overflow-y-auto min-w-[375px]" >
109+ < div className = "flex flex-1 gap-y-1 overflow-y-auto min-w-[375px]" >
107110 < PostHogSDKIssueBanner event = { selectedEvent } />
108111
109112 < ExceptionCard
@@ -139,7 +142,7 @@ const LeftHandColumn = (): JSX.Element => {
139142 width : desiredSize ?? '30%' ,
140143 minWidth : 320 ,
141144 } }
142- className = "flex flex-col relative bg-bg-light "
145+ className = "flex flex-col relative bg-surface-primary "
143146 >
144147 < TabsPrimitive
145148 value = { category }
@@ -148,7 +151,7 @@ const LeftHandColumn = (): JSX.Element => {
148151 >
149152 < div >
150153 < ScrollableShadows direction = "horizontal" className = "border-b" hideScrollbars >
151- < TabsPrimitiveList className = "flex justify-between space-x-2 " >
154+ < TabsPrimitiveList className = "flex justify-between space-x-0.5 " >
152155 < TabsPrimitiveTrigger className = "flex items-center px-2 py-1.5" value = "exceptions" >
153156 < IconList className = "mr-1" />
154157 < span className = "text-nowrap" > Exceptions</ span >
@@ -195,35 +198,26 @@ const LeftHandColumn = (): JSX.Element => {
195198}
196199
197200const ExceptionsTab = ( ) : JSX . Element => {
198- const { eventsQuery, eventsQueryKey } = useValues ( errorTrackingIssueSceneLogic )
201+ const { eventsQuery, eventsQueryKey, selectedEvent } = useValues ( errorTrackingIssueSceneLogic )
199202 const { selectEvent } = useActions ( errorTrackingIssueSceneLogic )
200203
201204 return (
202205 < div className = "flex flex-col h-full" >
203- < LemonCollapse
204- embedded
205- panels = { [
206- {
207- key : 'filters' ,
208- header : 'Add filters' ,
209- content : (
210- < ErrorFilters . Root >
211- < div className = "flex gap-2 justify-between flex-wrap" >
212- < ErrorFilters . DateRange />
213- < ErrorFilters . InternalAccounts />
214- </ div >
215- < ErrorFilters . FilterGroup />
216- </ ErrorFilters . Root >
217- ) ,
218- } ,
219- ] }
220- />
206+ < div className = "px-2 py-3" >
207+ < ErrorFilters . Root >
208+ < div className = "flex gap-2 justify-between flex-wrap" >
209+ < ErrorFilters . DateRange />
210+ < ErrorFilters . InternalAccounts />
211+ </ div >
212+ < ErrorFilters . FilterGroup />
213+ </ ErrorFilters . Root >
214+ </ div >
221215 < LemonDivider className = "my-0" />
222216 < Metadata className = "flex flex-col overflow-y-auto" >
223217 < EventsTable
224218 query = { eventsQuery }
225219 queryKey = { eventsQueryKey }
226- selectedEvent = { null }
220+ selectedEvent = { selectedEvent }
227221 onEventSelect = { ( selectedEvent ) => {
228222 if ( selectedEvent ) {
229223 selectEvent ( selectedEvent )
0 commit comments