mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-05 17:27:41 +02:00
fix: more tooltips (#6767)
This commit is contained in:
@@ -186,11 +186,13 @@
|
||||
const aside: ButtonItem[] = [
|
||||
{
|
||||
id: 'references',
|
||||
icon: document.icon.References
|
||||
icon: document.icon.References,
|
||||
showTooltip: { label: document.string.Backlinks, direction: 'bottom' }
|
||||
},
|
||||
{
|
||||
id: 'activity',
|
||||
icon: activity.icon.Activity
|
||||
icon: activity.icon.Activity,
|
||||
showTooltip: { label: activity.string.Activity, direction: 'bottom' }
|
||||
}
|
||||
]
|
||||
let selectedAside: string | boolean = false
|
||||
@@ -282,6 +284,7 @@
|
||||
icon={IconMoreH}
|
||||
iconProps={{ size: 'medium' }}
|
||||
kind={'icon'}
|
||||
showTooltip={{ label: view.string.MoreActions, direction: 'bottom' }}
|
||||
on:click={showContextMenu}
|
||||
/>
|
||||
{#each actions as action}
|
||||
@@ -311,6 +314,7 @@
|
||||
fill: doc.color !== undefined ? getPlatformColorDef(doc.color, $themeStore.dark).icon : 'currentColor'
|
||||
}}
|
||||
disabled={readonly}
|
||||
showTooltip={{ label: document.string.Icon, direction: 'bottom' }}
|
||||
on:click={chooseIcon}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
import type { Action, AnySvelteComponent } from '@hcengineering/ui'
|
||||
import { IconMoreH, Menu, navigate, showPopup, NavItem, ButtonIcon } from '@hcengineering/ui'
|
||||
import { getDocumentLink } from '../../utils'
|
||||
import view from '@hcengineering/view'
|
||||
|
||||
export let doc: Document
|
||||
export let icon: Asset | AnySvelteComponent | undefined = undefined
|
||||
@@ -87,6 +88,7 @@
|
||||
size={'extra-small'}
|
||||
pressed={hovered}
|
||||
dataId={'btnDocMore'}
|
||||
tooltip={{ label: view.string.MoreActions, direction: 'top' }}
|
||||
on:click={onMenuClick}
|
||||
/>
|
||||
</svelte:fragment>
|
||||
|
||||
Reference in New Issue
Block a user