[feature]: Set relations in the create work item modal, and allow a parent from another project (Workspace level)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- django, python, typescript
- Lĩnh vực
- backend-api-design, full-stack
Hướng nghiên cứu
Start by reading the create work item modal, the detail view's relation and parent pickers, and the existing relations endpoint; the issue names these flows but no file paths. Check how the Workspace level switch is implemented for relation search and where the backend enforces same-project parents. Done when relations can be added during creation with failures reported, and cross-project parents work with children shown in the parent's sub-work items list.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Is there an existing issue for this?
- I have searched the existing issues
Summary
Two related improvements to how work items are linked:
1. Relations in the create work item modal.
The create modal already accepts properties such as state, priority, assignees, labels, dates, cycle, module, estimate and parent. Relations (blocking, blocked_by, relates_to, duplicate, and the timeline relations start_before / finish_before where available) are missing. Today you have to create the item, open it, and add each relation from the Relations section of the detail view.
Proposal: add a "Relations" property button to the create modal, next to Parent, that opens the existing work item search used in the detail view, including its Workspace level switch. You pick a relation type and one or more work items, which show as chips. After the create request succeeds, the modal calls the existing relations endpoint (POST .../issues/<id>/issue-relation/) for the new item. If adding a relation fails, the item is still created and a toast says which relations could not be added.
2. Workspace level switch in the parent picker.
A parent can only be chosen from the same project today, both in the create modal and in the detail view. The relations picker already has a Workspace level switch for searching across projects (added after #1551), but the parent picker does not. Proposal: add the same switch to the parent picker and allow a parent from any project in the workspace that the user can access. The child keeps its own project, states, cycle and module; only parent points across projects. The sub-work items list and progress on the parent then include children from other projects, each shown with its own identifier (e.g. OPS-12 under PLAT-40).
This could be a workspace setting, off by default, for teams that want to keep parent/child inside one project.
Why should this be worked on?
- Dependencies are set when work is filed, or not at all. Teams that track dependencies want "blocked by X" set when the item is created. Adding it later is a separate step that is often forgotten, so dependencies are missing from the timeline and from blocked-by filters (#3137).
- Work spans projects. A feature owned by one team often needs work items in other teams' projects (platform, ops, support). The natural model is one parent with children in each team's project. Today the only option is a "relates to" link, which does not roll up progress or show the work items as children. #6852 asks for the same cross-project tracking.
- Parity with migration sources. Teams moving from tools where issue links and cross-project parent/child (epics) can be set on the create screen expect the same here.
- Builds on what exists. Relations already work across projects, and the relation API and work item search (with the Workspace level switch) already exist. Part 1 is frontend only. Part 2 also needs the backend to accept a parent from another project in the same workspace (the current same-project check), plus the parent's sub-work items list showing children from other projects.
Related: #9384 (blocking dependencies inside work item templates), #6852 (linking work between projects), #1551 (cross-project relations, which added the Workspace level switch for relations).
- Ngôn ngữ chính
- TypeScript
- Star
- 63k
- Fork
- 6.5k
- Merge trung bình
- 2 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 70
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của makeplane/plane
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[bug]: Comment external_id is deduplicated per project instead of per work itemCó thể đã có người làm @MishraTanishq619 đã nhận 21 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
makeplane/plane#10195 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Missing optional chaining on actor_details and reaction_items in apps/space reactions and votesCó thể đã có người làm @ghazy2001 đã nhận 29 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
makeplane/plane#10111 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
makeplane/plane#10082 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của makeplane/plane
Issue tương tự
-
good first issue help wanted
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 86/100
Intelligenza-Umana/intelligenza-umana-web#16 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
open-webui/open-webui#35184 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
danielmiessler/LifeOS#3001 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày