mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-11 05:11:49 +01:00
Add y as inbox archive shortcut alongside a
Both a and y now archive the selected item in the mine tab. Archive requires selecting an item first with j/k navigation. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
2ec4ba629e
commit
c8956094ad
1 file changed
+2
-1
@@ -966,7 +966,8 @@ export function Inbox() {
|
||||
setSelectedIndex((prev) => Math.max(prev - 1, 0));
|
||||
break;
|
||||
}
|
||||
case "a": {
|
||||
case "a":
|
||||
case "y": {
|
||||
if (!isMineTab || selectedIndex < 0 || selectedIndex >= itemCount) return;
|
||||
e.preventDefault();
|
||||
const item = workItemsToRender[selectedIndex];
|
||||
|
||||
Reference in new issue
Block a user