Elffuss BraidHub

kikocis/continue public

feat: display shortcuts for accept reject diff buttons
Changeset6159b604b0da3f17a4dd039e3442092b5001a1c52b8071bdfa244f1c015bba5d
Authoruinstinct <61635505+uinstinct@users.noreply.github.com> · 2025-09-18 09:48 +05:30
Committeruinstinct <61635505+uinstinct@users.noreply.github.com> · 2025-09-18 09:48 +05:30
Parentsc093109a6490

Browse the files at this changeset

1 file changed

modified gui/src/components/AcceptRejectDiffButtons.tsx +6 −0
@@ -67,6 +67,9 @@
6767 <div className="flex flex-row items-center gap-1">
6868 <XMarkIcon className="text-error h-4 w-4" />
6969 <span className="hidden sm:inline">Reject</span>
70+ <span className="text-lightgray -ml-1.5 hidden scale-75 text-xs md:inline">
71+ {rejectShortcut}
72+ </span>
7073 </div>
7174 </button>
7275 </ToolTip>
@@ -80,6 +83,9 @@
8083 <div className="flex flex-row items-center gap-1">
8184 <CheckIcon className="text-success h-4 w-4" />
8285 <span className="hidden sm:inline">Accept</span>
86+ <span className="text-lightgray -ml-1.5 hidden scale-75 text-xs md:inline">
87+ {acceptShortcut}
88+ </span>
8389 </div>
8490 </button>
8591 </ToolTip>