Connectivity Hub has tabs with logs and environment check
Summary: ^ Code will be refactored in future diffs. Reviewed By: antonk52 Differential Revision: D47629563 fbshipit-source-id: a4af7beecb41bd141ccd350b2edece4af3de6022
This commit is contained in:
committed by
Facebook GitHub Bot
parent
2958d9d8cb
commit
4d092f75dd
@@ -15,6 +15,8 @@ import {
|
||||
DataTable,
|
||||
DataTableColumn,
|
||||
DataTableManager,
|
||||
Tab,
|
||||
Tabs,
|
||||
theme,
|
||||
} from 'flipper-plugin';
|
||||
import {CloseCircleFilled} from '@ant-design/icons';
|
||||
@@ -23,6 +25,7 @@ import {
|
||||
ConnectionRecordEntry,
|
||||
FlipperServer,
|
||||
} from 'flipper-common';
|
||||
import SetupDoctorScreen from '../sandy-chrome/SetupDoctorScreen';
|
||||
|
||||
const rows = createDataSource<ConnectionRecordEntry>([], {
|
||||
limit: 200000,
|
||||
@@ -146,7 +149,14 @@ export function ConnectivityHub() {
|
||||
|
||||
return (
|
||||
<Layout.Container grow>
|
||||
<LogView />
|
||||
<Tabs grow>
|
||||
<Tab tab="Environment Check">
|
||||
<SetupDoctorScreen visible modal={false} onClose={() => {}} />
|
||||
</Tab>
|
||||
<Tab tab="Connectivity Logs">
|
||||
<LogView />
|
||||
</Tab>
|
||||
</Tabs>
|
||||
</Layout.Container>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user