Add direct link to help docs

This commit is contained in:
Tom Moor
2024-04-09 22:08:38 -04:00
parent fe9a89c060
commit c1b30b804c
4 changed files with 14 additions and 2 deletions

View File

@@ -127,6 +127,15 @@ export const navigateToAccountPreferences = createAction({
perform: () => history.push(settingsPath("preferences")),
});
export const openDocumentation = createAction({
name: ({ t }) => t("Documentation"),
analyticsName: "Open documentation",
section: NavigationSection,
iconInContextMenu: false,
icon: <OpenIcon />,
perform: () => window.open(UrlHelper.guide),
});
export const openAPIDocumentation = createAction({
name: ({ t }) => t("API documentation"),
analyticsName: "Open API documentation",
@@ -218,6 +227,7 @@ export const rootNavigationActions = [
navigateToArchive,
navigateToTrash,
downloadApp,
openDocumentation,
openAPIDocumentation,
openFeedbackUrl,
openBugReportUrl,