FN-7329: rename task title summary button

Shorten the task detail title summarization action label across UI copy and tests.

- Rename the task detail button label from "Summarize as title" to "Summarize".
- Update focused accessibility assertions for the new button copy.
- Add a patch changeset for the published Fusion package.

Files changed:
 .changeset/fn-7329-task-detail-summarize.md                        | 7 +++++++
 packages/dashboard/app/components/TaskDetailModal.tsx              | 2 +-
 .../dashboard/app/components/__tests__/TaskDetailModal.test.tsx    | 4 ++--
 packages/i18n/locales/en/app.json                                  | 2 +-
 packages/i18n/src/resources.d.ts                                   | 2 +-
 5 files changed, 12 insertions(+), 5 deletions(-)

Fusion-Task-Id: FN-7329

Fusion-Task-Lineage: db7df162-19fe-480e-8008-fa89d637de2b

Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
This commit is contained in:
gsxdsm
2026-06-30 20:51:23 -07:00
parent 2f5e15ac43
commit 4ae0456c48
5 changed files with 12 additions and 5 deletions

View File

@@ -0,0 +1,7 @@
---
"@runfusion/fusion": patch
---
summary: Rename the task-detail title summarization button to Summarize.
category: fix
dev: Updates task detail UI copy and focused dashboard tests.

View File

@@ -2941,7 +2941,7 @@ export function TaskDetailContent({
data-testid="summarize-title-btn"
>
{isSummarizingTitle ? <Loader2 size={14} className="spinner" /> : <Sparkles size={14} />}
<span>{t("taskDetail.title.summarize", "Summarize as title")}</span>
<span>{t("taskDetail.title.summarize", "Summarize")}</span>
</button>
)}
</div>

View File

@@ -226,7 +226,7 @@ describe("TaskDetailModal summarize title action", () => {
renderSummarizeTitleModal({ column: "todo" as any });
expect(screen.getByTestId("summarize-title-btn")).toBeVisible();
expect(screen.getByRole("button", { name: "Summarize as title" })).toBeEnabled();
expect(screen.getByRole("button", { name: "Summarize" })).toBeEnabled();
});
it("hides while the task is in edit mode", async () => {
@@ -322,7 +322,7 @@ describe("TaskDetailModal summarize title action", () => {
const button = screen.getByTestId("summarize-title-btn");
expect(button).toBeVisible();
expect(button).toHaveAccessibleName("Summarize as title");
expect(button).toHaveAccessibleName("Summarize");
});
});

View File

@@ -7614,7 +7614,7 @@
},
"timingEvents": "Timing events",
"title": {
"summarize": "Summarize as title",
"summarize": "Summarize",
"summarizeFailed": "Failed to summarize title: {{error}}",
"summarizeSuccess": "Title updated from description"
},

View File

@@ -7653,7 +7653,7 @@ export default interface Resources {
},
"timingEvents": "Timing events",
"title": {
"summarize": "Summarize as title",
"summarize": "Summarize",
"summarizeFailed": "Failed to summarize title: {{error}}",
"summarizeSuccess": "Title updated from description"
},