[feature]: Set relations in the create work item modal, and allow a parent from another project (Workspace level)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- django, python, typescript
- Ambito
- backend-api-design, full-stack
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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).
- Lingua principale
- TypeScript
- Stelle
- 63k
- Fork
- 6.5k
- Merge medio
- 2g 16h
- PR unite (30g)
- 70
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di makeplane/plane
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
[bug]: Comment external_id is deduplicated per project instead of per work itemForse già presa @MishraTanishq619 l’ha presa 21 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
makeplane/plane#10195 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Missing optional chaining on actor_details and reaction_items in apps/space reactions and votesForse già presa @ghazy2001 l’ha presa 29 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
makeplane/plane#10111 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
makeplane/plane#10082 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di makeplane/plane
Issue simili
-
good first issue help wanted
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 86/100
Intelligenza-Umana/intelligenza-umana-web#16 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
open-webui/open-webui#35184 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
danielmiessler/LifeOS#3001 ·
I maintainer di solito rispondono entro 5 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno