Skip to content

Commit dc72104

Browse files
samejrericallam
authored andcommitted
Fixes a bunch of shortcut key clashes
1 parent a5de1e6 commit dc72104

File tree

2 files changed

+3
-3
lines changed
  • apps/webapp/app
    • components/metrics
    • routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.prompts.$promptSlug

2 files changed

+3
-3
lines changed

apps/webapp/app/components/metrics/ModelsFilter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { tablerIcons } from "~/utils/tablerIcons";
1616
import tablerSpritePath from "~/components/primitives/tabler-sprite.svg";
1717
import { AnthropicLogoIcon } from "~/assets/icons/AnthropicLogoIcon";
1818

19-
const shortcut = { key: "m" };
19+
const shortcut = { key: "l" };
2020

2121
export type ModelOption = {
2222
model: string;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ export default function PromptDetailPage() {
673673
labelName="Period"
674674
hideLabel
675675
valueClassName="text-text-bright"
676-
shortcut={{ key: "t" }}
676+
shortcut={{ key: "w" }}
677677
/>
678678
</div>
679679
</div>
@@ -741,7 +741,7 @@ export default function PromptDetailPage() {
741741
isActive={tab === "preview"}
742742
layoutId="prompt-sidebar"
743743
onClick={() => replaceSearch({ tab: "preview", version: versionParam })}
744-
shortcut={{ key: "p" }}
744+
shortcut={{ key: "i" }}
745745
>
746746
Preview
747747
</TabButton>

0 commit comments

Comments
 (0)