mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-22 16:27:22 +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": {
|
"string": {
|
||||||
"ContactUs": "Contact us"
|
"ContactUs": "Contact us",
|
||||||
|
"ReportBug": "Report a Bug?"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"string": {
|
"string": {
|
||||||
"ContactUs": "Contacta con Nosotros"
|
"ContactUs": "Contacta con Nosotros",
|
||||||
|
"ReportBug": "Reportar un error?"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"string": {
|
"string": {
|
||||||
"ContactUs": "Contate-nos"
|
"ContactUs": "Contate-nos",
|
||||||
|
"ReportBug": "Reportar um erro?"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"string": {
|
"string": {
|
||||||
"ContactUs": "Связаться с нами"
|
"ContactUs": "Связаться с нами",
|
||||||
|
"ReportBug": "Сообщить об ошибке?"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -22,6 +22,7 @@ export * from './types'
|
|||||||
export { deleteSupportConversation, updateSupportConversation } from './utils'
|
export { deleteSupportConversation, updateSupportConversation } from './utils'
|
||||||
|
|
||||||
export const supportLink = 'https://join.slack.com/t/hulycommunity/shared_invite/zt-2cyrevz8g-AGqEDZNsujbn4wHOWd7myg'
|
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
|
* @public
|
||||||
@ -40,6 +41,7 @@ export default plugin(supportId, {
|
|||||||
Support: '' as Asset
|
Support: '' as Asset
|
||||||
},
|
},
|
||||||
string: {
|
string: {
|
||||||
ContactUs: '' as IntlString
|
ContactUs: '' as IntlString,
|
||||||
|
ReportBug: '' as IntlString
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -15,8 +15,7 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { getClient } from '@hcengineering/presentation'
|
import { getClient } from '@hcengineering/presentation'
|
||||||
import setting, { settingId } from '@hcengineering/setting'
|
import setting, { settingId } from '@hcengineering/setting'
|
||||||
import support, { supportLink } from '@hcengineering/support'
|
import support, { supportLink, reportBugLink } from '@hcengineering/support'
|
||||||
import { getSupportClient } from '@hcengineering/support-resources'
|
|
||||||
import {
|
import {
|
||||||
Button,
|
Button,
|
||||||
capitalizeFirstLetter,
|
capitalizeFirstLetter,
|
||||||
@ -172,7 +171,7 @@
|
|||||||
{#if jj !== 0}
|
{#if jj !== 0}
|
||||||
<div class="ml-1 mr-1 lower"><Label label={view.string.Then} /></div>
|
<div class="ml-1 mr-1 lower"><Label label={view.string.Then} /></div>
|
||||||
{/if}
|
{/if}
|
||||||
{#each k as kk, j}
|
{#each k as kk}
|
||||||
<div class="flex-center text-sm key-box">
|
<div class="flex-center text-sm key-box">
|
||||||
{capitalizeFirstLetter(kk.trim())}
|
{capitalizeFirstLetter(kk.trim())}
|
||||||
</div>
|
</div>
|
||||||
@ -188,6 +187,9 @@
|
|||||||
</Scroller>
|
</Scroller>
|
||||||
{/if}
|
{/if}
|
||||||
<div class="footer">
|
<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}>
|
<a href={supportLink}>
|
||||||
<Button
|
<Button
|
||||||
id="contact-us"
|
id="contact-us"
|
||||||
|
Loading…
Reference in New Issue
Block a user