From 42ca4381316c54394f7e3e078dfc75119fcde9ae Mon Sep 17 00:00:00 2001 From: Brooklyn Nicholson Date: Thu, 2 Jul 2026 12:20:29 -0500 Subject: [PATCH] style(desktop): fix import ordering + padding lint in remote-artifact files --- apps/desktop/src/app/artifacts/index.tsx | 15 ++++++++------- apps/desktop/src/lib/media.remote.test.ts | 1 + 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/apps/desktop/src/app/artifacts/index.tsx b/apps/desktop/src/app/artifacts/index.tsx index fea5b7f58c9..77e87b038b7 100644 --- a/apps/desktop/src/app/artifacts/index.tsx +++ b/apps/desktop/src/app/artifacts/index.tsx @@ -26,13 +26,6 @@ import { FileImage, FileText, FolderOpen, Link2 } from '@/lib/icons' import { cn } from '@/lib/utils' import { notifyError } from '@/store/notifications' -import { - ARTIFACT_FILTERS, - artifactImageSrc, - collectArtifactsForSession, - type ArtifactFilter, - type ArtifactRecord -} from './artifact-utils' import { useRefreshHotkey } from '../hooks/use-refresh-hotkey' import { useRouteEnumParam } from '../hooks/use-route-enum-param' import { PAGE_INSET_NEG_X, PAGE_INSET_X } from '../layout-constants' @@ -40,6 +33,14 @@ import { PageSearchShell } from '../page-search-shell' import { sessionRoute } from '../routes' import type { SetStatusbarItemGroup } from '../shell/statusbar-controls' +import { + ARTIFACT_FILTERS, + type ArtifactFilter, + artifactImageSrc, + type ArtifactRecord, + collectArtifactsForSession +} from './artifact-utils' + const ARTIFACT_TIME_FMT = new Intl.DateTimeFormat(undefined, { day: 'numeric', hour: 'numeric', diff --git a/apps/desktop/src/lib/media.remote.test.ts b/apps/desktop/src/lib/media.remote.test.ts index 074d11ec42a..9bb47ce6808 100644 --- a/apps/desktop/src/lib/media.remote.test.ts +++ b/apps/desktop/src/lib/media.remote.test.ts @@ -111,6 +111,7 @@ describe('downloadGatewayMediaFile', () => { throw new Error(`unexpected path ${path}`) }) + let clickSpy: ReturnType beforeEach(() => {