Rename the task-modal Documents tab to Artifacts and include task-scoped media outputs alongside task documents. - Add shared artifact media rendering for global and task-local artifact cards. - Surface image, video, audio, document, and generic artifacts in the task Artifacts tab. - Update tab labels, empty states, counts, translations, tests, docs, and release notes for the Artifacts wording. Files changed: .changeset/fn-6907-task-artifacts-tab.md | 5 + docs/dashboard-guide.md | 5 +- .../dashboard/app/components/ArtifactMedia.tsx | 55 +++++++ .../dashboard/app/components/DocumentsView.tsx | 47 +----- .../dashboard/app/components/TaskDetailModal.tsx | 3 +- .../dashboard/app/components/TaskDocumentsTab.css | 33 +++++ .../dashboard/app/components/TaskDocumentsTab.tsx | 109 ++++++++++++-- .../TaskDetailModal.attachments-and-tabs.test.tsx | 4 +- .../TaskDetailModal.definition-actions.test.tsx | 20 +-- .../components/__tests__/TaskDocumentsTab.test.tsx | 160 ++++++++++++++++++++- packages/i18n/locales/en/app.json | 16 ++- packages/i18n/locales/es/app.json | 16 ++- packages/i18n/locales/fr/app.json | 16 ++- packages/i18n/locales/ko/app.json | 16 ++- packages/i18n/locales/zh-CN/app.json | 16 ++- packages/i18n/locales/zh-TW/app.json | 16 ++- 16 files changed, 436 insertions(+), 101 deletions(-) Fusion-Task-Id: FN-6907 Fusion-Task-Lineage: a1318ed5-4d47-42f8-8b6c-fe91506e11fb
4.9 KiB
4.9 KiB