style(desktop): fix import ordering + padding lint in remote-artifact files

This commit is contained in:
Brooklyn Nicholson 2026-07-02 12:20:29 -05:00 committed by brooklyn!
parent 03406ae255
commit 42ca438131
2 changed files with 9 additions and 7 deletions

View file

@ -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',

View file

@ -111,6 +111,7 @@ describe('downloadGatewayMediaFile', () => {
throw new Error(`unexpected path ${path}`)
})
let clickSpy: ReturnType<typeof vi.spyOn>
beforeEach(() => {