chore: hide screenshot instead of snapshot Trace Viewer feature
This commit is contained in:
parent
6465f0b1bd
commit
c6881d7358
|
|
@ -104,8 +104,6 @@ export const UIModeView: React.FC<{}> = ({
|
|||
const [showBrowser, setShowBrowser] = React.useState(false);
|
||||
const [updateSnapshots, setUpdateSnapshots] = React.useState(false);
|
||||
const [darkMode, setDarkMode] = useDarkModeSetting();
|
||||
const [showScreenshot, setShowScreenshot] = useSetting('screenshot-instead-of-snapshot', false);
|
||||
|
||||
|
||||
const inputRef = React.useRef<HTMLInputElement>(null);
|
||||
|
||||
|
|
@ -517,7 +515,6 @@ export const UIModeView: React.FC<{}> = ({
|
|||
</Toolbar>
|
||||
{settingsVisible && <SettingsView settings={[
|
||||
{ value: darkMode, set: setDarkMode, title: 'Dark mode' },
|
||||
{ value: showScreenshot, set: setShowScreenshot, title: 'Show screenshot instead of snapshot' },
|
||||
]} />}
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -350,7 +350,8 @@ export const Workbench: React.FunctionComponent<{
|
|||
openPage={openPage} />}
|
||||
sidebar={
|
||||
<TabbedPane
|
||||
tabs={showSettings ? [actionsTab, metadataTab, settingsTab] : [actionsTab, metadataTab]}
|
||||
// Hide settings tab for now, it only includes screenshots as snapshots option which is not ready yet.
|
||||
tabs={(showSettings && false) ? [actionsTab, metadataTab, settingsTab] : [actionsTab, metadataTab]}
|
||||
selectedTab={selectedNavigatorTab}
|
||||
setSelectedTab={setSelectedNavigatorTab}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue