Skip to content

Commit

Permalink
Connectivity Hub has tabs with logs and environment check
Browse files Browse the repository at this point in the history
Summary:
^

Code will be refactored in future diffs.

Reviewed By: antonk52

Differential Revision: D47629563

fbshipit-source-id: a4af7beecb41bd141ccd350b2edece4af3de6022
  • Loading branch information
lblasa authored and facebook-github-bot committed Jul 20, 2023
1 parent 2958d9d commit 4d092f7
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion desktop/flipper-ui-core/src/chrome/ConnectivityHub.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ import {
DataTable,
DataTableColumn,
DataTableManager,
Tab,
Tabs,
theme,
} from 'flipper-plugin';
import {CloseCircleFilled} from '@ant-design/icons';
Expand All @@ -23,6 +25,7 @@ import {
ConnectionRecordEntry,
FlipperServer,
} from 'flipper-common';
import SetupDoctorScreen from '../sandy-chrome/SetupDoctorScreen';

const rows = createDataSource<ConnectionRecordEntry>([], {
limit: 200000,
Expand Down Expand Up @@ -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>
);
}

0 comments on commit 4d092f7

Please sign in to comment.