mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 11:50:56 +00:00
feat(help): added find bug button for easy navigation (#5214)
Signed-off-by: Abhiuday <contact.abhiuday@gmail.com>
This commit is contained in:
parent
09db410985
commit
e363ca4aa4
@ -1,5 +1,6 @@
|
||||
{
|
||||
"string": {
|
||||
"ContactUs": "Contact us"
|
||||
"ContactUs": "Contact us",
|
||||
"ReportBug": "Report a Bug?"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"string": {
|
||||
"ContactUs": "Contacta con Nosotros"
|
||||
"ContactUs": "Contacta con Nosotros",
|
||||
"ReportBug": "Reportar un error?"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"string": {
|
||||
"ContactUs": "Contate-nos"
|
||||
"ContactUs": "Contate-nos",
|
||||
"ReportBug": "Reportar um erro?"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"string": {
|
||||
"ContactUs": "Связаться с нами"
|
||||
"ContactUs": "Связаться с нами",
|
||||
"ReportBug": "Сообщить об ошибке?"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -22,6 +22,7 @@ export * from './types'
|
||||
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'
|
||||
|
||||
/**
|
||||
* @public
|
||||
@ -40,6 +41,7 @@ export default plugin(supportId, {
|
||||
Support: '' as Asset
|
||||
},
|
||||
string: {
|
||||
ContactUs: '' as IntlString
|
||||
ContactUs: '' as IntlString,
|
||||
ReportBug: '' as IntlString
|
||||
}
|
||||
})
|
||||
|
@ -15,8 +15,7 @@
|
||||
<script lang="ts">
|
||||
import { getClient } from '@hcengineering/presentation'
|
||||
import setting, { settingId } from '@hcengineering/setting'
|
||||
import support, { supportLink } from '@hcengineering/support'
|
||||
import { getSupportClient } from '@hcengineering/support-resources'
|
||||
import support, { supportLink, reportBugLink } from '@hcengineering/support'
|
||||
import {
|
||||
Button,
|
||||
capitalizeFirstLetter,
|
||||
@ -172,7 +171,7 @@
|
||||
{#if jj !== 0}
|
||||
<div class="ml-1 mr-1 lower"><Label label={view.string.Then} /></div>
|
||||
{/if}
|
||||
{#each k as kk, j}
|
||||
{#each k as kk}
|
||||
<div class="flex-center text-sm key-box">
|
||||
{capitalizeFirstLetter(kk.trim())}
|
||||
</div>
|
||||
@ -188,6 +187,9 @@
|
||||
</Scroller>
|
||||
{/if}
|
||||
<div class="footer">
|
||||
<a href={reportBugLink} target="_blank">
|
||||
<Button id="report-a-bug" kind={'primary'} label={support.string.ReportBug} stopPropagation={false} />
|
||||
</a>
|
||||
<a href={supportLink}>
|
||||
<Button
|
||||
id="contact-us"
|
||||
|
Loading…
Reference in New Issue
Block a user