Skip to content

feat(website): add private message (PM) pages - #1045

Open
trim21 wants to merge 1 commit into
masterfrom
feat/pm
Open

feat(website): add private message (PM) pages#1045
trim21 wants to merge 1 commit into
masterfrom
feat/pm

Conversation

@trim21

@trim21 trim21 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

变更

实现私信(PM)功能:

  • 新增页面:/pm 收件箱、/pm/outbox 发件箱、/pm/compose 写信、/pm/conversation/:msgID 会话详情
  • 新增 use-pm hooks(状态、会话列表、会话详情、最近联系人、发送、标记已读、删除)
  • Header 增加私信入口与未读角标(GET /pmunread
  • 基于最新 OpenAPI 重新生成 @bangumi/client
  • 新增 MSW fixtures 与页面测试

后端契约(server-private)已对齐:8 个 REST 端点、PM_* 错误码、
receivers/receiverIDs 二选一、GET 会话无自动已读副作用。

@mergify

mergify Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@mergify mergify Bot added the ci:lint:fail label Aug 13, 2026
@github-actions

github-actions Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Preview Deployment

Build URL time
Sites netlify preview 2026-07-04 07:19:38Z
Storybook netlify preview 2026-07-04 07:18:54Z

@mergify mergify Bot added the conflict label Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant