@@ -41,7 +41,6 @@ import type { Entry } from '@trace/har';
4141import './workbench.css' ;
4242import { testStatusIcon , testStatusText } from './testUtils' ;
4343import type { UITestStatus } from './testUtils' ;
44- import { SettingsView } from './settingsView' ;
4544
4645export const Workbench : React . FunctionComponent < {
4746 model ?: modelUtil . MultiTraceModel ,
@@ -69,7 +68,7 @@ export const Workbench: React.FunctionComponent<{
6968 const [ highlightedLocator , setHighlightedLocator ] = React . useState < string > ( '' ) ;
7069 const [ selectedTime , setSelectedTime ] = React . useState < Boundaries | undefined > ( ) ;
7170 const [ sidebarLocation , setSidebarLocation ] = useSetting < 'bottom' | 'right' > ( 'propertiesSidebarLocation' , 'bottom' ) ;
72- const [ showScreenshot , setShowScreenshot ] = useSetting ( 'screenshot-instead-of-snapshot' , false ) ;
71+ const showScreenshot = false ;
7372
7473 const setSelectedAction = React . useCallback ( ( action : modelUtil . ActionTraceEventInContext | undefined ) => {
7574 setSelectedCallId ( action ?. callId ) ;
@@ -310,13 +309,6 @@ export const Workbench: React.FunctionComponent<{
310309 title : 'Metadata' ,
311310 component : < MetadataView model = { model } />
312311 } ;
313- const settingsTab : TabbedPaneTabModel = {
314- id : 'settings' ,
315- title : 'Settings' ,
316- component : < SettingsView settings = { [
317- { value : showScreenshot , set : setShowScreenshot , title : 'Show screenshot instead of snapshot' }
318- ] } /> ,
319- } ;
320312
321313 return < div className = 'vbox workbench' { ...( inert ? { inert : 'true' } : { } ) } >
322314 { ! hideTimeline && < Timeline
@@ -351,8 +343,7 @@ export const Workbench: React.FunctionComponent<{
351343 openPage = { openPage } /> }
352344 sidebar = {
353345 < TabbedPane
354- // Hide settings tab for now, it only includes screenshots as snapshots option which is not ready yet.
355- tabs = { ( showSettings && false ) ? [ actionsTab , metadataTab , settingsTab ] : [ actionsTab , metadataTab ] }
346+ tabs = { [ actionsTab , metadataTab ] }
356347 selectedTab = { selectedNavigatorTab }
357348 setSelectedTab = { setSelectedNavigatorTab }
358349 />
0 commit comments