Add huly docs (#5471)

This commit is contained in:
Denis Bykhov
2024-04-26 08:45:28 +07:00
committed by GitHub
parent e9c7f33394
commit a55c4cde47
5 changed files with 24 additions and 11 deletions
+1
View File
@@ -23,6 +23,7 @@ export { deleteSupportConversation, updateSupportConversation } from './utils'
export const supportLink = 'https://join.slack.com/t/hulycommunity/shared_invite/zt-2cyrevz8g-AGqEDZNsujbn4wHOWd7myg'
export const reportBugLink = 'https://github.com/hcengineering/platform/issues/new'
export const docsLink = 'http://docs.huly.io/'
/**
* @public
+1 -1
View File
@@ -21,7 +21,7 @@
"HelpCenter": "Help Center",
"KeyboardShortcuts": "Keyboard Shortcuts",
"Documentation": "Documentation",
"OpenPlatformGuide": "Open Platform Guide",
"OpenPlatformGuide": "Open Huly Docs",
"AccessWorkspaceSettings": "Access your workspace settings",
"HowToWorkFaster": "Learn how to work faster",
"HiddenApplication": "Hidden application",
+1 -1
View File
@@ -21,7 +21,7 @@
"HelpCenter": "Centro de Ayuda",
"KeyboardShortcuts": "Atajos de Teclado",
"Documentation": "Documentación",
"OpenPlatformGuide": "Guía de la Plataforma",
"OpenPlatformGuide": "Guía de la Huly",
"AccessWorkspaceSettings": "Acceder a la configuración de tu espacio de trabajo",
"HowToWorkFaster": "Aprende a trabajar más rápido",
"HiddenApplication": "Aplicación Oculta",
+1 -1
View File
@@ -21,7 +21,7 @@
"HelpCenter": "Central de Ajuda",
"KeyboardShortcuts": "Atalhos de Teclado",
"Documentation": "Documentação",
"OpenPlatformGuide": "Guia da Plataforma",
"OpenPlatformGuide": "Guia da Huly",
"AccessWorkspaceSettings": "Aceda as configurações do seu espaço de trabalho",
"HowToWorkFaster": "Aprenda a trabalhar mais rápido",
"HiddenApplication": "Aplicação Oculta",
@@ -13,21 +13,23 @@
// limitations under the License.
-->
<script lang="ts">
import { Asset, IntlString } from '@hcengineering/platform'
import { getClient } from '@hcengineering/presentation'
import setting, { settingId } from '@hcengineering/setting'
import support, { supportLink, reportBugLink } from '@hcengineering/support'
import support, { docsLink, reportBugLink, supportLink } from '@hcengineering/support'
import {
AnySvelteComponent,
Button,
capitalizeFirstLetter,
closePopup,
formatKey,
getCurrentResolvedLocation,
Icon,
IconArrowLeft,
Label,
ListView,
navigate,
Scroller,
capitalizeFirstLetter,
closePopup,
formatKey,
getCurrentResolvedLocation,
navigate,
topSP
} from '@hcengineering/ui'
import view, { Action, ActionCategory } from '@hcengineering/view'
@@ -77,12 +79,22 @@
}
getActions()
const cards = [
interface HelpCard {
icon: Asset | AnySvelteComponent
title: IntlString
description: IntlString
onClick: () => void
disabled?: boolean
}
const cards: HelpCard[] = [
{
icon: DocumentationIcon,
title: workbench.string.Documentation,
description: workbench.string.OpenPlatformGuide,
disabled: true
onClick: () => {
window.open(docsLink, '_blank')
}
},
{
icon: view.icon.Setting,