From ad1b04c26e9d86e96385708f58e3f70213144328 Mon Sep 17 00:00:00 2001 From: Yukon <126093594+baseGame@users.noreply.github.com> Date: Mon, 28 Sep 2026 14:38:35 +0800 Subject: [PATCH] Show Text Patch path meta format chip as Patch --- src/styles/textPatchChromeDensity.test.ts | 6 ++++++ src/views/TextPatchView.vue | 1 + 2 files changed, 7 insertions(+) diff --git a/src/styles/textPatchChromeDensity.test.ts b/src/styles/textPatchChromeDensity.test.ts index 69639531..25e8eda1 100644 --- a/src/styles/textPatchChromeDensity.test.ts +++ b/src/styles/textPatchChromeDensity.test.ts @@ -100,3 +100,9 @@ describe('patch section-nav border', () => { ) }) }) + +describe('patch path meta format chip', () => { + it('shows Text Patch path meta format chip as Patch', () => { + expect(patchView).toMatch(/format-label="Patch"/) + }) +}) diff --git a/src/views/TextPatchView.vue b/src/views/TextPatchView.vue index 75006744..e19c4c11 100644 --- a/src/views/TextPatchView.vue +++ b/src/views/TextPatchView.vue @@ -694,6 +694,7 @@ function lineNumber(value: number | null): string { >