Add support of CK in Flipper's Support Form

Summary: As per the title it adds the CK support to the Flipper's support form.

Reviewed By: jknoxville

Differential Revision: D20943408

fbshipit-source-id: bc8f0ac6a4974fe8258e91d7ac9437931c4d4abd
This commit is contained in:
Pritesh Nandgaonkar
2020-04-09 09:52:40 -07:00
committed by Facebook GitHub Bot
parent 98bb392d78
commit 64ca717ae9
3 changed files with 14 additions and 4 deletions

View File

@@ -91,9 +91,7 @@ function MainSidebarUtilsSection({
name={'app-dailies'}
isActive={active}
/>
<PluginName isActive={active}>
Litho/GraphQL Support Request
</PluginName>
<PluginName isActive={active}>Support Requests</PluginName>
</ListItem>
);
})()}

View File

@@ -32,4 +32,5 @@ export default Object.freeze({
LITHO_SUPPORT_GROUP_ID: 0,
GRAPHQL_ANDROID_SUPPORT_GROUP_ID: 0,
GRAPHQL_IOS_SUPPORT_GROUP_ID: 0,
COMPONENTKIT_GROUP_ID: 0,
});

View File

@@ -30,6 +30,7 @@ const {
GRAPHQL_IOS_SUPPORT_GROUP_ID,
GRAPHQL_ANDROID_SUPPORT_GROUP_ID,
LITHO_SUPPORT_GROUP_ID,
COMPONENTKIT_GROUP_ID,
} = constants;
type SubmediaType =
| {uploadID: string; status: 'Uploaded'}
@@ -254,7 +255,8 @@ export class Group {
export type GroupNames =
| 'Litho Support'
| 'GraphQL Android Support'
| 'GraphQL iOS Support';
| 'GraphQL iOS Support'
| 'ComponentKit';
export const LITHO_GROUP = new Group(
'Litho Support',
@@ -280,10 +282,19 @@ export const GRAPHQL_IOS_GROUP = new Group(
['iOS'],
);
export const COMPONENTKIT_GROUP = new Group(
'ComponentKit',
COMPONENTKIT_GROUP_ID,
['Inspector'],
['Sections', 'DeviceLogs'],
['iOS'],
);
export const SUPPORTED_GROUPS: Array<Group> = [
LITHO_GROUP,
GRAPHQL_ANDROID_GROUP,
GRAPHQL_IOS_GROUP,
COMPONENTKIT_GROUP,
];
export type MediaType = Array<MediaObject>;