feat(trash): TrashView page, nav links, and g+x shortcut

This commit is contained in:
2026-05-29 12:10:27 -04:00
parent e5796b6f5c
commit b579aa1c88
4 changed files with 107 additions and 1 deletions
+7
View File
@@ -82,6 +82,7 @@ function onGlobalKeydown(e: KeyboardEvent) {
case "r": router.push("/rules"); break;
case "g": router.push("/graph"); break;
case "l": router.push("/calendar"); break;
case "x": router.push("/trash"); break;
}
return;
}
@@ -195,6 +196,12 @@ onUnmounted(() => {
<kbd class="shortcut-key">l</kbd>
<span class="shortcut-desc">Calendar</span>
</div>
<div class="shortcut-row">
<kbd class="shortcut-key">g</kbd>
<span class="shortcut-key-sep">+</span>
<kbd class="shortcut-key">x</kbd>
<span class="shortcut-desc">Trash</span>
</div>
<div class="shortcut-row">
<kbd class="shortcut-key">Esc</kbd>
<span class="shortcut-desc">Unfocus field go home</span>