From 60a8b3dec083640b8093b86fb94a028ea2fccfa4 Mon Sep 17 00:00:00 2001 From: Dustin Healy <54083382+dustinhealy@users.noreply.github.com> Date: Fri, 16 Oct 2026 06:45:42 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20Keep=20Artifact=20Downloa?= =?UTF-8?q?d=20Clear=20of=20Message=20Navigation=20(#17079)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ๐Ÿ› fix: Keep Artifact Download Clear of Message Navigation * ๐Ÿ› fix: Clear Navigation for Every Artifact Download State * ๐Ÿงช test: Assert Artifact Download Clears Navigation Rail * ๐Ÿ› fix: Preserve Artifact Download Target Size * ๐Ÿ› fix: Tighten Artifact Navigation Clearance * ๐Ÿ› fix: Constrain Artifact Preview Rows to Message Width --- .../Messages/Content/Parts/ArtifactRow.tsx | 4 +- .../Messages/Content/Parts/Attachment.tsx | 8 +- .../components/Chat/Messages/Content/rows.ts | 3 + .../artifact-download-message-nav.spec.ts | 166 ++++++++++++++++++ 4 files changed, 176 insertions(+), 5 deletions(-) create mode 100644 e2e/specs/mock/scenarios/artifact-download-message-nav.spec.ts diff --git a/client/src/components/Chat/Messages/Content/Parts/ArtifactRow.tsx b/client/src/components/Chat/Messages/Content/Parts/ArtifactRow.tsx index d52898d9a6..9f04e7123e 100644 --- a/client/src/components/Chat/Messages/Content/Parts/ArtifactRow.tsx +++ b/client/src/components/Chat/Messages/Content/Parts/ArtifactRow.tsx @@ -10,8 +10,8 @@ import { Workflow, } from 'lucide-react'; import type { ArtifactGlyph, ArtifactRowKind } from '~/utils/artifacts'; +import { ARTIFACT_ROW_NAV_SPACING, ROW_GLYPH_SLOT, TOOL_ROW_CLASSES } from '../rows'; import LangIcon, { hasLangIcon } from '~/components/Messages/Content/LangIcon'; -import { ROW_GLYPH_SLOT, TOOL_ROW_CLASSES } from '../rows'; import { useLocalize } from '~/hooks'; import { cn } from '~/utils'; @@ -79,7 +79,7 @@ const ArtifactRow = forwardRef(function Art } return ( -
+