boardx / boardx/workspacex

运营收件箱看板:加归档动作 + 列内拖拽/上下移动排序

Open
#2,817 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

## 需求
用户直接交办(ad-hoc,不走 sprint/feature 流程):运营收件箱看板需要
1. 一个「归档」动作
2. 卡片需要有顺序,可以上下移动(并支持列内拖拽排序),且跨会话持久化

## 实现方案
- 归档:沿用现有「不做」列,卡片上加「归档」菜单项,复用既有 `feedbackLoop.operations.triageFeedback(id, "已归档")`,不新增契约操作。只对 `kind=feedback` 且 `sourceStatus ∈ {已修复, 不做}` 的卡片显示(符合 `ALLOWED_TRANSITIONS` 状态机)。
- 排序:契约新增 `InboxItem.boardOrder` 字段 + `operations.reorderInboxItem`(`PUT /inbox/order`)。落库用独立表 `inbox_item_order`(`org_id, kind, item_id` 复合主键),不改 `product_feedback`/`error_logs`/`design_projects` 三张源表。列内拖拽与上下移动按钮共用同一写路径;跨列拖拽仍是状态迁移,两者在 `onDrop` 按目标列是否等于源卡片当前 stage 区分。

详见对应 PR。

Refs #2681

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the corresponding PR mentioned in the issue and reference #2681 to check whether work is already underway. The issue identifies `InboxItem.boardOrder`, `operations.reorderInboxItem`, `PUT /inbox/order`, and the existing `feedbackLoop.operations.triageFeedback` path as entry points. Done means eligible feedback cards can be archived, and card order can be changed within a column and persists across sessions.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.