feat(web): add shortcut "p" to open/close the face tag box (#26826)

This commit is contained in:
Andreas Heinz
2026-03-10 23:53:38 +01:00
committed by GitHub
parent 22b43bf4d9
commit 1a4c5d73ac
3 changed files with 17 additions and 2 deletions

View File

@@ -396,7 +396,7 @@
ocrManager.hasOcrData,
);
const { Tag } = $derived(getAssetActions($t, asset));
const { Tag, TagPeople } = $derived(getAssetActions($t, asset));
const showDetailPanel = $derived(
asset.hasMetadata &&
$slideshowState === SlideshowState.None &&
@@ -405,7 +405,7 @@
);
</script>
<CommandPaletteDefaultProvider name={$t('assets')} actions={[Tag]} />
<CommandPaletteDefaultProvider name={$t('assets')} actions={[Tag, TagPeople]} />
<svelte:document bind:fullscreenElement />