mirror of
https://github.com/hcengineering/platform.git
synced 2026-10-01 22:15:04 +02:00
Add huly docs (#5471)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user