Skip to content

Commit 9e4c4ee

Browse files
Bl4ckBl1zZclaude
andcommitted
fix(lint): clear Biome 2.5.7 errors inherited from upstream canary
Organize imports, give doc links descriptive text, associate vault checkboxes with their labels, return explicitly from schedule filters, and suppress useSemanticElements on the shadcn input-group wrappers. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 4b54299 commit 9e4c4ee

26 files changed

Lines changed: 65 additions & 58 deletions

‎apps/dokploy/__test__/components/server-actions-tooltip.test.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { describe, it, expect } from "vitest";
1+
import { describe, expect, it } from "vitest";
22

33
describe("Remote Server Action Tooltips", () => {
44
it("should close the tooltip when the dialog trigger is clicked", () => {

‎apps/dokploy/__test__/logs/log-classification.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { getLogType } from "@/components/dashboard/docker/logs/utils";
21
import { expect, test } from "vitest";
2+
import { getLogType } from "@/components/dashboard/docker/logs/utils";
33

44
test("classifies real failures as error", () => {
55
expect(getLogType("Error: connection refused at db:5432").type).toBe("error");

‎apps/dokploy/components/dashboard/application/environment/show.tsx‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,15 +165,14 @@ export const ShowEnvironment = ({ applicationId }: Props) => {
165165
title="Build-time Arguments"
166166
description={
167167
<span>
168-
Arguments are available only at build-time. See
169-
documentation&nbsp;
168+
Arguments are available only at build-time. See the
170169
<a
171170
className="text-primary"
172171
href="https://docs.docker.com/build/building/variables/"
173172
target="_blank"
174173
rel="noopener noreferrer"
175174
>
176-
here
175+
Docker build variables documentation
177176
</a>
178177
.
179178
</span>
@@ -189,14 +188,14 @@ export const ShowEnvironment = ({ applicationId }: Props) => {
189188
description={
190189
<span>
191190
Secrets are specially designed for sensitive information and
192-
are only available at build-time. See documentation&nbsp;
191+
are only available at build-time. See the
193192
<a
194193
className="text-primary"
195194
href="https://docs.docker.com/build/building/secrets/"
196195
target="_blank"
197196
rel="noopener noreferrer"
198197
>
199-
here
198+
Docker build secrets documentation
200199
</a>
201200
.
202201
</span>

‎apps/dokploy/components/dashboard/application/preview-deployments/show-preview-settings.tsx‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -518,15 +518,14 @@ export const ShowPreviewSettings = ({ applicationId }: Props) => {
518518
title="Build-time Arguments"
519519
description={
520520
<span>
521-
Arguments are available only at build-time. See
522-
documentation&nbsp;
521+
Arguments are available only at build-time. See the
523522
<a
524523
className="text-primary"
525524
href="https://docs.docker.com/build/building/variables/"
526525
target="_blank"
527526
rel="noopener noreferrer"
528527
>
529-
here
528+
Docker build variables documentation
530529
</a>
531530
.
532531
</span>
@@ -541,15 +540,14 @@ export const ShowPreviewSettings = ({ applicationId }: Props) => {
541540
description={
542541
<span>
543542
Secrets are specially designed for sensitive information
544-
and are only available at build-time. See
545-
documentation&nbsp;
543+
and are only available at build-time. See the
546544
<a
547545
className="text-primary"
548546
href="https://docs.docker.com/build/building/secrets/"
549547
target="_blank"
550548
rel="noopener noreferrer"
551549
>
552-
here
550+
Docker build secrets documentation
553551
</a>
554552
.
555553
</span>

‎apps/dokploy/components/dashboard/settings/vault/handle-vault-provider.tsx‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1234,8 +1234,12 @@ export const HandleVaultProvider = ({ vaultProviderId }: Props) => {
12341234
key={project.projectId}
12351235
className="flex flex-col gap-1.5"
12361236
>
1237-
<label className="flex flex-row items-center gap-2 text-sm cursor-pointer">
1237+
<label
1238+
htmlFor={`vault-project-${project.projectId}`}
1239+
className="flex flex-row items-center gap-2 text-sm cursor-pointer"
1240+
>
12381241
<Checkbox
1242+
id={`vault-project-${project.projectId}`}
12391243
checked={!!assignment}
12401244
onCheckedChange={() =>
12411245
toggleProject(project.projectId)
@@ -1248,9 +1252,11 @@ export const HandleVaultProvider = ({ vaultProviderId }: Props) => {
12481252
{project.environments?.map((environment) => (
12491253
<label
12501254
key={environment.environmentId}
1255+
htmlFor={`vault-environment-${environment.environmentId}`}
12511256
className="flex flex-row items-center gap-1.5 text-xs text-muted-foreground cursor-pointer"
12521257
>
12531258
<Checkbox
1259+
id={`vault-environment-${environment.environmentId}`}
12541260
checked={assignment.environmentIds.includes(
12551261
environment.environmentId,
12561262
)}

‎apps/dokploy/components/ui/accordion.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ function AccordionContent({
8181
);
8282
}
8383

84-
export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
84+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };

‎apps/dokploy/components/ui/alert.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@ function AlertAction({ className, ...props }: React.ComponentProps<"div">) {
7373
);
7474
}
7575

76-
export { Alert, AlertTitle, AlertDescription, AlertAction };
76+
export { Alert, AlertAction, AlertDescription, AlertTitle };

‎apps/dokploy/components/ui/avatar.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ function AvatarGroupCount({
104104

105105
export {
106106
Avatar,
107-
AvatarImage,
107+
AvatarBadge,
108108
AvatarFallback,
109109
AvatarGroup,
110110
AvatarGroupCount,
111-
AvatarBadge,
111+
AvatarImage,
112112
};

‎apps/dokploy/components/ui/breadcrumb.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,10 @@ function BreadcrumbEllipsis({
107107

108108
export {
109109
Breadcrumb,
110-
BreadcrumbList,
110+
BreadcrumbEllipsis,
111111
BreadcrumbItem,
112112
BreadcrumbLink,
113+
BreadcrumbList,
113114
BreadcrumbPage,
114115
BreadcrumbSeparator,
115-
BreadcrumbEllipsis,
116116
};

‎apps/dokploy/components/ui/card.tsx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ function CardFooter({ className, ...props }: React.ComponentProps<"div">) {
9191

9292
export {
9393
Card,
94-
CardHeader,
95-
CardFooter,
96-
CardTitle,
9794
CardAction,
98-
CardDescription,
9995
CardContent,
96+
CardDescription,
97+
CardFooter,
98+
CardHeader,
99+
CardTitle,
100100
};

0 commit comments

Comments
 (0)