gsxdsm
ef4889585f
FN-6779: add artifacts gallery to Documents
Adds a Documents-view artifact gallery backed by dashboard artifact registry APIs.
- Add artifact listing and media-serving endpoints with project scoping, validation, and safe artifact path resolution.
- Add client artifact API helpers, SWR caching, and a useArtifacts hook for background-refresh gallery data.
- Extend Documents view with an Artifacts tab, media previews, localized labels, documentation, tests, and a published package changeset.
Files changed:
.changeset/fn-6779-artifacts-gallery.md | 5 +
docs/dashboard-guide.md | 6 +-
packages/dashboard/app/api/legacy.ts | 34 ++++
.../dashboard/app/components/DocumentsView.css | 142 ++++++++++++++++
.../dashboard/app/components/DocumentsView.tsx | 178 ++++++++++++++++++--
.../components/__tests__/DocumentsView.test.tsx | 163 +++++++++++++++++-
.../app/hooks/__tests__/useArtifacts.test.ts | 136 +++++++++++++++
packages/dashboard/app/hooks/useArtifacts.ts | 145 ++++++++++++++++
packages/dashboard/app/utils/swrCache.ts | 1 +
.../src/routes/__tests__/artifacts-routes.test.ts | 182 +++++++++++++++++++++
.../src/routes/register-task-workflow-routes.ts | 125 ++++++++++++++
packages/i18n/locales/en/app.json | 22 ++-
packages/i18n/locales/es/app.json | 27 ++-
packages/i18n/locales/fr/app.json | 27 ++-
packages/i18n/locales/ko/app.json | 27 ++-
packages/i18n/locales/zh-CN/app.json | 27 ++-
packages/i18n/locales/zh-TW/app.json | 27 ++-
scripts/line-count-baseline.json | 16 +-
18 files changed, 1255 insertions(+), 35 deletions(-)
Fusion-Task-Id: FN-6779
Fusion-Task-Lineage: 1d71e4be-4bfc-4706-9cbf-7214f91a79d1
2026-06-21 16:01:07 -07:00
..
2026-06-21 13:25:41 -07:00
2026-06-21 13:25:41 -07:00
2026-06-03 17:36:35 -07:00
2026-05-13 17:44:46 -07:00
2026-04-27 08:21:48 -07:00
2026-05-12 07:47:11 -07:00
2026-05-12 17:04:33 -07:00
2026-05-14 05:07:03 -07:00
2026-05-29 13:58:13 -07:00
2026-06-19 16:47:33 -07:00
2026-05-13 22:41:30 -07:00
2026-06-21 13:25:41 -07:00
2026-05-23 19:51:36 -07:00
2026-05-19 17:19:03 -07:00
2026-06-14 15:29:35 -07:00
2026-06-14 15:29:35 -07:00
2026-04-27 08:21:48 -07:00
2026-06-13 19:22:00 -07:00
2026-06-13 15:44:28 -07:00
2026-04-27 08:21:48 -07:00
2026-05-11 09:52:23 +02:00
2026-06-18 13:41:37 -07:00
2026-04-27 08:21:48 -07:00
2026-06-18 13:41:37 -07:00
2026-06-19 20:47:32 -07:00
2026-06-18 16:47:09 -07:00
2026-06-21 16:01:07 -07:00
2026-06-16 18:03:41 -07:00
2026-05-12 17:04:33 -07:00
2026-05-20 02:46:49 -07:00
2026-05-11 06:47:43 -07:00
2026-05-23 03:33:53 -07:00
2026-05-20 22:25:15 -07:00
2026-04-27 08:21:48 -07:00
2026-06-16 15:08:24 -07:00
2026-05-23 03:09:00 -07:00
2026-05-14 11:15:47 -07:00
2026-05-09 13:21:47 -07:00
2026-06-21 10:53:08 -07:00
2026-05-27 21:31:12 -07:00
2026-03-30 23:56:01 -07:00
2026-03-26 01:03:16 -04:00
2026-06-20 23:57:37 -07:00
2026-04-27 08:21:48 -07:00
2026-06-03 17:57:29 -07:00
2026-04-29 08:15:38 -07:00
2026-06-21 13:25:41 -07:00
2026-06-17 19:25:06 -07:00
2026-06-07 18:51:46 -07:00
2026-06-17 20:09:05 -07:00
2026-06-18 09:16:32 -07:00
2026-05-03 05:47:11 -07:00
2026-06-19 05:13:39 -07:00