boardx / boardx/workspacex

chat: 右栏「材料」标签——issue #728 D9 维度的真实附件列表

Open
#1,615 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
0
Forks
0
Avg merge
1h 7m
Merged PRs (30d)
969

Description

## 背景
issue #728(chat 体验保真度迭代)的 D9 维度点名右栏应有转录/执行/洞察/产物/材料五个
标签。产品侧现状(`chat-artifacts-panel.tsx` 文件头已有的诚实记录):
- 「转录」有独立入口(`ChatRecordingPanel`),只是没塞进标签栏
- 「执行/洞察」在后端没有任何真实数据支撑,故意不画假标签
- 「产物」已有真实实现(`chat_artifact_landings` 表)
- 「材料」——`chat_message_attachments` 是真实表,但从未接进右栏——这是本 issue 要做的

## 范围
新增 `GET /chat/threads/:threadId/attachments`(只列已发送附件),右栏加「材料」标签,
复用 #1584 已交付的预览/下载弹窗。不做「执行/洞察」(无真实数据支撑,继续如实缺席)。

## 验证
真实浏览器 e2e:上传附件 → 发消息 → 材料标签实时出现新条目 → 点开真实预览 → 刷新后仍在。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with chat-artifacts-panel.tsx and trace how the existing artifact entries and the #1584 preview/download dialog are connected. Add the GET /chat/threads/:threadId/attachments flow and the 「材料」 tab, then verify in a real browser: upload and send an attachment, confirm it appears live, open its preview, and refresh to confirm persistence.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, full-stack, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.