Skip to content

Commit 22cca0e

Browse files
committed
Changed next/previous run shortcut to J/K
1 parent 820f4b8 commit 22cca0e

File tree

2 files changed

+4
-4
lines changed
  • apps/webapp/app
    • components
    • routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.$runParam

2 files changed

+4
-4
lines changed

apps/webapp/app/components/Shortcuts.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ function ShortcutContent() {
138138
<ShortcutKey shortcut={{ key: "arrowright" }} variant="medium/bright" />
139139
</Shortcut>
140140
<Shortcut name="Jump to next/previous run">
141-
<ShortcutKey shortcut={{ key: "[" }} variant="medium/bright" />
142-
<ShortcutKey shortcut={{ key: "]" }} variant="medium/bright" />
141+
<ShortcutKey shortcut={{ key: "j" }} variant="medium/bright" />
142+
<ShortcutKey shortcut={{ key: "k" }} variant="medium/bright" />
143143
</Shortcut>
144144
<Shortcut name="Expand all">
145145
<ShortcutKey shortcut={{ key: "e" }} variant="medium/bright" />

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.$runParam/route.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1822,7 +1822,7 @@ function PreviousRunButton({ to }: { to: string | null }) {
18221822
leadingIconClassName="size-3 group-hover/button:text-text-bright transition-colors"
18231823
className={cn("flex size-6 max-w-6 items-center", !to && "cursor-not-allowed opacity-50")}
18241824
onClick={(e) => !to && e.preventDefault()}
1825-
shortcut={{ key: "[" }}
1825+
shortcut={{ key: "j" }}
18261826
tooltip="Previous Run"
18271827
disabled={!to}
18281828
replace
@@ -1841,7 +1841,7 @@ function NextRunButton({ to }: { to: string | null }) {
18411841
leadingIconClassName="size-3 group-hover/button:text-text-bright transition-colors"
18421842
className={cn("flex size-6 max-w-6 items-center", !to && "cursor-not-allowed opacity-50")}
18431843
onClick={(e) => !to && e.preventDefault()}
1844-
shortcut={{ key: "]" }}
1844+
shortcut={{ key: "k" }}
18451845
tooltip="Next Run"
18461846
disabled={!to}
18471847
replace

0 commit comments

Comments
 (0)