From 5436a4bce79a2a393a9ca5993ac5781d2c0878ad Mon Sep 17 00:00:00 2001
From: 0z3 <56792071+0z3@users.noreply.github.com>
Date: Tue, 27 Oct 2026 20:29:36 +0100
Subject: [PATCH 1/2] feat: add star and go-to keyboard shortcuts
---
KNOWLEDGE_BASE.md | 3 ++-
resources/js/components/commit-card.tsx | 2 ++
.../js/components/commit-star-button.tsx | 8 +++++++-
.../components/keyboard-shortcuts-dialog.tsx | 10 ++++++++--
resources/js/hooks/use-keyboard-shortcuts.ts | 20 +++++++++++++++++--
resources/js/layouts/app-layout.tsx | 2 ++
resources/js/pages/onboarding/show.tsx | 1 +
7 files changed, 40 insertions(+), 6 deletions(-)
diff --git a/KNOWLEDGE_BASE.md b/KNOWLEDGE_BASE.md
index 97b28096d..f6d0490c5 100644
--- a/KNOWLEDGE_BASE.md
+++ b/KNOWLEDGE_BASE.md
@@ -442,11 +442,12 @@ Press **?** to open the shortcut reference. Navigation shortcuts work outside te
| `Enter` | Open the focused commit. |
| `y` | Copy the focused commit's link. |
| `r` / `q` / `o` | Reply, quote, or show/hide replies. |
+| `s` | Star or unstar the focused commit. |
| `c` | Write a commit. |
| `⌘/Ctrl+K` or `/` | Search developers and commits. |
| `⌘/Ctrl+Enter` | Submit from the composer. |
| `⌘/Ctrl+Shift+P` | Toggle composer preview. |
-| `g` then `l` / `e` / `p` / `s` | Go to your log / Trending / profile / settings. |
+| `g` then `l` / `e` / `p` / `s` / `n` / `m` / `*` | Go to your log / Trending / profile / settings / Notifications / Remotes / Starred. `g m` works only while Remotes is on. |
Source: [shortcut reference](resources/js/components/keyboard-shortcuts-dialog.tsx).
diff --git a/resources/js/components/commit-card.tsx b/resources/js/components/commit-card.tsx
index 80b7ae126..28fbcb743 100644
--- a/resources/js/components/commit-card.tsx
+++ b/resources/js/components/commit-card.tsx
@@ -523,6 +523,7 @@ export function CommitCard({
+