Initial meeting minutes (#7111)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina
2024-11-07 17:08:15 +07:00
committed by GitHub
parent 1ce18226ab
commit e34f59ca37
111 changed files with 2543 additions and 589 deletions
@@ -91,11 +91,11 @@
void closeTab(tab)
}
function handleMenu (event: MouseEvent): void {
function handleMenu (event: CustomEvent<MouseEvent>): void {
event.preventDefault()
event.stopPropagation()
showMenu(event, { object: tab, baseMenuClass: workbench.class.WorkbenchTab })
showMenu(event.detail, { object: tab, baseMenuClass: workbench.class.WorkbenchTab })
}
</script>
@@ -30,14 +30,14 @@
})
}
function handleMenu (event: MouseEvent): void {
function handleMenu (event: CustomEvent<MouseEvent>): void {
if (actions.length === 0) {
return
}
event.preventDefault()
event.stopPropagation()
showPopup(Menu, { actions }, event.target as HTMLElement)
showPopup(Menu, { actions }, event.detail.target as HTMLElement)
}
</script>
@@ -47,6 +47,7 @@
highlighted={selected}
orientation="vertical"
kind={tab.isPinned ? 'secondary' : 'primary'}
readonly={tab.readonly}
{icon}
iconProps={tab.iconProps}
canClose={!tab.isPinned}