Add troubleshooting button and a GK
Summary: - Added a troubleshooting guide button which on clicking will open the expert chat bot system of flipper. ( Will be implemented in future diffs) - This has been added only in the internal version of flipper available to FB. - The public version shall continue to link to the troubleshooting guide for now. - Also a new gatekeeper flipper_self_sufficiency was set up. - This currently gives access to ongoing changes only to a few team members. - In the future access shall be extended to the entire team, followed by the entire org and then finally all internal FB users in the final stages of the project. Reviewed By: passy Differential Revision: D29993355 fbshipit-source-id: afdb76baef6fde2c785c50ad6530ea2f76ce7284
This commit is contained in:
committed by
Facebook GitHub Bot
parent
210fc36460
commit
921a65bc17
@@ -31,6 +31,7 @@ import Client from '../../Client';
|
||||
import {State} from '../../reducers';
|
||||
import {brandColors, brandIcons, colors} from '../../ui/components/colors';
|
||||
import {showEmulatorLauncher} from './LaunchEmulator';
|
||||
import TroubleshootingGuide from './fb-stubs/TroubleshootingGuide';
|
||||
|
||||
const {Text, Link, Title} = Typography;
|
||||
|
||||
@@ -109,7 +110,7 @@ export function AppSelector() {
|
||||
</Dropdown>
|
||||
</Radio.Group>
|
||||
) : (
|
||||
<NoDevices />
|
||||
<TroubleshootingGuide />
|
||||
);
|
||||
}
|
||||
|
||||
@@ -265,7 +266,7 @@ function ClientTitle({client}: {client: Client}) {
|
||||
);
|
||||
}
|
||||
|
||||
function NoDevices() {
|
||||
export function NoDevices() {
|
||||
const store = useStore();
|
||||
|
||||
const onLaunchEmulator = useTrackedCallback(
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import {NoDevices} from '../AppSelector';
|
||||
|
||||
export default function TroubleshootingGuide() {
|
||||
return <NoDevices />;
|
||||
}
|
||||
Reference in New Issue
Block a user