Skip to content

Commit afe13a8

Browse files
committed
Changes “meta” for “mod”
1 parent 3d10901 commit afe13a8

File tree

13 files changed

+24
-24
lines changed

13 files changed

+24
-24
lines changed

apps/webapp/app/components/ErrorDisplay.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export function ErrorDisplay({ title, message, button }: DisplayOptionsProps) {
4949
{message && <Paragraph>{message}</Paragraph>}
5050
<LinkButton
5151
to={button ? button.to : "/"}
52-
shortcut={{ modifiers: ["meta"], key: "g" }}
52+
shortcut={{ modifiers: ["mod"], key: "g" }}
5353
variant="primary/medium"
5454
LeadingIcon={HomeIcon}
5555
>

apps/webapp/app/components/runs/v3/BatchFilters.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ function BatchIdDropdown({
400400
disabled={error !== undefined || !batchId}
401401
variant="secondary/small"
402402
shortcut={{
403-
modifiers: ["meta"],
403+
modifiers: ["mod"],
404404
key: "Enter",
405405
enabledOnInputElements: true,
406406
}}

apps/webapp/app/components/runs/v3/CancelRunDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export function CancelRunDialog({ runFriendlyId, redirectPath }: CancelRunDialog
4040
variant="danger/medium"
4141
LeadingIcon={isLoading ? "spinner-white" : NoSymbolIcon}
4242
disabled={isLoading}
43-
shortcut={{ modifiers: ["meta"], key: "enter" }}
43+
shortcut={{ modifiers: ["mod"], key: "enter" }}
4444
>
4545
{isLoading ? "Canceling..." : "Cancel run"}
4646
</Button>

apps/webapp/app/components/runs/v3/CheckBatchCompletionDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export function CheckBatchCompletionDialog({
3939
variant="primary/medium"
4040
LeadingIcon={isLoading ? "spinner-white" : undefined}
4141
disabled={isLoading}
42-
shortcut={{ modifiers: ["meta"], key: "enter" }}
42+
shortcut={{ modifiers: ["mod"], key: "enter" }}
4343
>
4444
{isLoading ? "Attempting resume..." : "Attempt resume"}
4545
</Button>

apps/webapp/app/components/runs/v3/ReplayRunDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function ReplayForm({
159159
variant="primary/medium"
160160
LeadingIcon={isSubmitting ? ButtonSpinner : undefined}
161161
disabled={isSubmitting}
162-
shortcut={{ modifiers: ["meta"], key: "enter", enabledOnInputElements: true }}
162+
shortcut={{ modifiers: ["mod"], key: "enter", enabledOnInputElements: true }}
163163
>
164164
{isSubmitting ? "Replaying..." : "Replay run"}
165165
</Button>

apps/webapp/app/components/runs/v3/RetryDeploymentIndexingDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export function RetryDeploymentIndexingDialog({
4848
variant="primary/medium"
4949
LeadingIcon={isLoading ? "spinner-white" : ArrowPathIcon}
5050
disabled={isLoading}
51-
shortcut={{ modifiers: ["meta"], key: "enter" }}
51+
shortcut={{ modifiers: ["mod"], key: "enter" }}
5252
>
5353
{isLoading ? "Retrying..." : "Retry indexing"}
5454
</Button>

apps/webapp/app/components/runs/v3/RollbackDeploymentDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export function RollbackDeploymentDialog({
4848
variant="primary/medium"
4949
LeadingIcon={isLoading ? "spinner-white" : ArrowPathIcon}
5050
disabled={isLoading}
51-
shortcut={{ modifiers: ["meta"], key: "enter" }}
51+
shortcut={{ modifiers: ["mod"], key: "enter" }}
5252
>
5353
{isLoading ? "Rolling back..." : "Roll back deployment"}
5454
</Button>

apps/webapp/app/components/runs/v3/RunFilters.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ function RunIdDropdown({
804804
disabled={error !== undefined || !runId}
805805
variant="secondary/small"
806806
shortcut={{
807-
modifiers: ["meta"],
807+
modifiers: ["mod"],
808808
key: "Enter",
809809
enabledOnInputElements: true,
810810
}}
@@ -922,7 +922,7 @@ function BatchIdDropdown({
922922
disabled={error !== undefined || !batchId}
923923
variant="secondary/small"
924924
shortcut={{
925-
modifiers: ["meta"],
925+
modifiers: ["mod"],
926926
key: "Enter",
927927
enabledOnInputElements: true,
928928
}}
@@ -1040,7 +1040,7 @@ function ScheduleIdDropdown({
10401040
disabled={error !== undefined || !scheduleId}
10411041
variant="secondary/small"
10421042
shortcut={{
1043-
modifiers: ["meta"],
1043+
modifiers: ["mod"],
10441044
key: "Enter",
10451045
enabledOnInputElements: true,
10461046
}}

apps/webapp/app/components/runs/v3/SharedFilters.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ export function CustomDateRangeDropdown({
390390
<Button
391391
variant="secondary/small"
392392
shortcut={{
393-
modifiers: ["meta"],
393+
modifiers: ["mod"],
394394
key: "Enter",
395395
enabledOnInputElements: true,
396396
}}

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.v3.$projectParam.runs._index/route.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ function CancelRuns({ onOpen }: { onOpen: (open: boolean) => void }) {
346346
variant="danger/medium"
347347
LeadingIcon={isLoading ? "spinner-white" : StopCircleIcon}
348348
disabled={isLoading}
349-
shortcut={{ modifiers: ["meta"], key: "enter" }}
349+
shortcut={{ modifiers: ["mod"], key: "enter" }}
350350
>
351351
{isLoading ? "Canceling..." : `Cancel ${selectedItems.size} runs`}
352352
</Button>
@@ -403,7 +403,7 @@ function ReplayRuns({ onOpen }: { onOpen: (open: boolean) => void }) {
403403
variant="primary/medium"
404404
LeadingIcon={isLoading ? "spinner-white" : ArrowPathIcon}
405405
disabled={isLoading}
406-
shortcut={{ modifiers: ["meta"], key: "enter" }}
406+
shortcut={{ modifiers: ["mod"], key: "enter" }}
407407
>
408408
{isLoading ? "Replaying..." : `Replay ${selectedItems.size} runs`}
409409
</Button>

0 commit comments

Comments
 (0)