Temporarily remove bookmarks section

Summary: This removes the mocked bookmarks section (which is being reimplemented in D24620250), so that early adopter don't see a non-working piece of UI

Reviewed By: passy

Differential Revision: D24827181

fbshipit-source-id: 9759f069bdbcc1efe3f1ecb56954ee539bbca1f0
This commit is contained in:
Michel Weststrate
2020-11-09 07:11:14 -08:00
committed by Facebook GitHub Bot
parent 532f151c4c
commit 543a0e53ac

View File

@@ -8,9 +8,8 @@
*/ */
import React from 'react'; import React from 'react';
import {Alert, Input} from 'antd'; import {Alert} from 'antd';
import {LeftSidebar, SidebarTitle, InfoIcon} from '../LeftSidebar'; import {LeftSidebar, SidebarTitle, InfoIcon} from '../LeftSidebar';
import {SettingOutlined} from '@ant-design/icons';
import {Layout, Link, styled} from '../../ui'; import {Layout, Link, styled} from '../../ui';
import {NUX, theme} from 'flipper-plugin'; import {NUX, theme} from 'flipper-plugin';
import {AppSelector} from './AppSelector'; import {AppSelector} from './AppSelector';
@@ -43,18 +42,14 @@ export function AppInspect() {
</SidebarTitle> </SidebarTitle>
<Layout.Container padv="small" padh="medium" gap={theme.space.large}> <Layout.Container padv="small" padh="medium" gap={theme.space.large}>
<AppSelector /> <AppSelector />
{isArchived ? ( {
<Alert isArchived ? (
message="This device is a snapshot and cannot be interacted with." <Alert
type="info" message="This device is a snapshot and cannot be interacted with."
/> type="info"
) : ( />
<NUX ) : null /* TODO: add bookmarks back T77016599 */
title="Use bookmarks to directly navigate to a location in the app." }
placement="right">
<Input addonAfter={<SettingOutlined />} defaultValue="mysite" />
</NUX>
)}
{!isArchived && ( {!isArchived && (
<Toolbar gap> <Toolbar gap>
<MetroButton useSandy /> <MetroButton useSandy />