diff --git a/packages/ui/src/components/Button.svelte b/packages/ui/src/components/Button.svelte index 5c16ab7cb3..8f566bfe9b 100644 --- a/packages/ui/src/components/Button.svelte +++ b/packages/ui/src/components/Button.svelte @@ -14,7 +14,7 @@ --> @@ -135,7 +143,8 @@ style:padding {title} type={kind === 'primary' ? 'submit' : 'button'} - on:click|stopPropagation|preventDefault + on:click={preventHandler} + on:click on:focus on:blur on:mousemove diff --git a/plugins/support/src/index.ts b/plugins/support/src/index.ts index 1678c136a0..e2507ef719 100644 --- a/plugins/support/src/index.ts +++ b/plugins/support/src/index.ts @@ -21,6 +21,8 @@ import { SupportClientFactory, SupportConversation, SupportSystem } from './type export * from './types' export { deleteSupportConversation, updateSupportConversation } from './utils' +export const supportLink = 'https://join.slack.com/t/hulycommunity/shared_invite/zt-2cyrevz8g-AGqEDZNsujbn4wHOWd7myg' + /** * @public */ diff --git a/plugins/workbench-resources/src/components/HelpAndSupport.svelte b/plugins/workbench-resources/src/components/HelpAndSupport.svelte index c54e136b81..bbcd465caf 100644 --- a/plugins/workbench-resources/src/components/HelpAndSupport.svelte +++ b/plugins/workbench-resources/src/components/HelpAndSupport.svelte @@ -15,7 +15,7 @@
@@ -192,13 +188,15 @@ {/if}
diff --git a/plugins/workbench-resources/src/components/Workbench.svelte b/plugins/workbench-resources/src/components/Workbench.svelte index d9979b31a8..b8b3322c09 100644 --- a/plugins/workbench-resources/src/components/Workbench.svelte +++ b/plugins/workbench-resources/src/components/Workbench.svelte @@ -21,7 +21,7 @@ import { IntlString, broadcastEvent, getMetadata, getResource } from '@hcengineering/platform' import { ActionContext, createQuery, getClient } from '@hcengineering/presentation' import setting from '@hcengineering/setting' - import support, { SupportStatus } from '@hcengineering/support' + import support, { SupportStatus, supportLink } from '@hcengineering/support' import { AnyComponent, Button, @@ -712,6 +712,16 @@ size={appsMini ? 'small' : 'large'} on:click={() => showPopup(AppSwitcher, { apps: getApps(apps) }, popupPosition)} /> + + +