Update welcome screen links
Summary: The welcome screen links were a bit out of date. Reviewed By: nikoant Differential Revision: D19578769 fbshipit-source-id: 69fc7977bd75ca4256043698350381a5f9d7fdb8
This commit is contained in:
committed by
Facebook Github Bot
parent
6218b00e15
commit
33ad41c98c
@@ -15,6 +15,7 @@ import Glyph from '../ui/components/Glyph';
|
||||
import {colors, brandColors} from '../ui/components/colors';
|
||||
import isProduction from '../utils/isProduction';
|
||||
import isHeadless from '../utils/isHeadless';
|
||||
import constants from '../fb-stubs/constants';
|
||||
const {shell, remote} = !isHeadless()
|
||||
? require('electron')
|
||||
: {shell: undefined, remote: undefined};
|
||||
@@ -138,7 +139,7 @@ export default class WelcomeScreen extends PureComponent<Props, State> {
|
||||
onClick={() =>
|
||||
shell &&
|
||||
shell.openExternal(
|
||||
'https://fbflipper.com/docs/getting-started.html',
|
||||
'https://fbflipper.com/docs/features/index.html',
|
||||
)
|
||||
}>
|
||||
<Icon size={20} name="rocket" color={brandColors.Flipper} />
|
||||
@@ -177,8 +178,7 @@ export default class WelcomeScreen extends PureComponent<Props, State> {
|
||||
</Item>
|
||||
<Item
|
||||
onClick={() =>
|
||||
shell &&
|
||||
shell.openExternal('https://github.com/facebook/flipper/issues')
|
||||
shell && shell.openExternal(constants.FEEDBACK_GROUP_LINK)
|
||||
}>
|
||||
<Icon size={20} name="posts" color={brandColors.Flipper} />
|
||||
<FlexColumn>
|
||||
|
||||
@@ -25,4 +25,6 @@ export default Object.freeze({
|
||||
ENABLE_SHAREABLE_LINK: false,
|
||||
|
||||
IS_PUBLIC_BUILD: true,
|
||||
|
||||
FEEDBACK_GROUP_LINK: 'https://github.com/facebook/flipper/issues',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user