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,
|
DataTable,
|
||||||
DataTableColumn,
|
DataTableColumn,
|
||||||
DataTableManager,
|
DataTableManager,
|
||||||
|
Tab,
|
||||||
|
Tabs,
|
||||||
theme,
|
theme,
|
||||||
} from 'flipper-plugin';
|
} from 'flipper-plugin';
|
||||||
import {CloseCircleFilled} from '@ant-design/icons';
|
import {CloseCircleFilled} from '@ant-design/icons';
|
||||||
@@ -23,6 +25,7 @@ import {
|
|||||||
ConnectionRecordEntry,
|
ConnectionRecordEntry,
|
||||||
FlipperServer,
|
FlipperServer,
|
||||||
} from 'flipper-common';
|
} from 'flipper-common';
|
||||||
|
import SetupDoctorScreen from '../sandy-chrome/SetupDoctorScreen';
|
||||||
|
|
||||||
const rows = createDataSource<ConnectionRecordEntry>([], {
|
const rows = createDataSource<ConnectionRecordEntry>([], {
|
||||||
limit: 200000,
|
limit: 200000,
|
||||||
@@ -146,7 +149,14 @@ export function ConnectivityHub() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Layout.Container grow>
|
<Layout.Container grow>
|
||||||
|
<Tabs grow>
|
||||||
|
<Tab tab="Environment Check">
|
||||||
|
<SetupDoctorScreen visible modal={false} onClose={() => {}} />
|
||||||
|
</Tab>
|
||||||
|
<Tab tab="Connectivity Logs">
|
||||||
<LogView />
|
<LogView />
|
||||||
|
</Tab>
|
||||||
|
</Tabs>
|
||||||
</Layout.Container>
|
</Layout.Container>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user