qwen-code/packages/web-shell/client/components/artifacts
ytahdn 1e2932a637
feat(web-shell): add artifact downloads (#8234)
* feat(web-shell): add artifact downloads

* fix(web-shell): scope review download state per file and cancel on unmount (#8234)

* fix(web-shell): restore mount ref under StrictMode and test review MIME mapping (#8234)

Reset mountedRef in the effect setup so React StrictMode's dev-time
double-mount no longer leaves it false and silently cancels artifact and
review downloads. Move getReviewDownloadMimeType into artifactUtils and
cover the extension-to-MIME mapping with a unit test.

* test(web-shell): cover ReviewChanges cancellation-on-unmount path (#8234)

* test(web-shell): assert artifact download MIME type (#8234)

---------

Co-authored-by: 钉萁 <dingqi.jww@alibaba-inc.com>
Co-authored-by: qwen-code-dev-bot <qwen-code-dev@service.alibaba.com>
Co-authored-by: qwen-code-ci-bot <qwen-code-ci-bot@users.noreply.github.com>
2026-08-01 00:40:57 +00:00
..
ArtifactPanel.module.css feat(web-shell): add artifact downloads (#8234) 2026-08-01 00:40:57 +00:00
ArtifactPanel.test.tsx feat(web-shell): add artifact downloads (#8234) 2026-08-01 00:40:57 +00:00
ArtifactPanel.tsx feat(web-shell): add artifact downloads (#8234) 2026-08-01 00:40:57 +00:00
artifactUtils.test.ts feat(web-shell): add artifact downloads (#8234) 2026-08-01 00:40:57 +00:00
artifactUtils.ts feat(web-shell): add artifact downloads (#8234) 2026-08-01 00:40:57 +00:00
LineStats.tsx feat(web-shell): add artifact right panel (#6591) 2026-07-11 00:13:49 +00:00
SideTaskPanel.test.tsx feat(web-shell): add contextual task panels (#7929) 2026-07-30 13:45:30 +00:00
SideTaskPanel.tsx feat(web-shell): add contextual task panels (#7929) 2026-07-30 13:45:30 +00:00
SubagentDetail.integration.test.tsx feat(web-shell): add contextual task panels (#7929) 2026-07-30 13:45:30 +00:00
SubagentDetail.module.css feat(web-shell): show subagent sessions in detail panel (#7380) 2026-07-22 02:31:08 +00:00
SubagentDetail.test.tsx feat(web-shell): show subagent sessions in detail panel (#7380) 2026-07-22 02:31:08 +00:00
SubagentDetail.tsx feat(web-shell): add artifact downloads (#8234) 2026-08-01 00:40:57 +00:00
TurnOutputs.dom.test.tsx feat(web-shell): add artifact downloads (#8234) 2026-08-01 00:40:57 +00:00
TurnOutputs.module.css feat(web-shell): add artifact downloads (#8234) 2026-08-01 00:40:57 +00:00
TurnOutputs.test.ts feat(web-shell): add artifact downloads (#8234) 2026-08-01 00:40:57 +00:00
TurnOutputs.tsx feat(web-shell): add artifact downloads (#8234) 2026-08-01 00:40:57 +00:00
turnOutputSelectors.test.ts feat(web-shell): add artifact right panel (#6591) 2026-07-11 00:13:49 +00:00
turnOutputSelectors.ts feat(web-shell): add artifact right panel (#6591) 2026-07-11 00:13:49 +00:00