New way to display work item associations in details view #639
Comments
Questions
|
|
@kwk @aslakknutsen please comment. |
|
@Mgranfie @mindreeper2420 any update on the new Wireframe / Visuals for linking? Please provide an issue number if you have any in UX. |
|
This issue was moved to fabric8-ui/fabric8-planner#644 |
This doesn't really matches the issues title which starts with "Display...". But anyhow...
This is a good question. To answer it we have to decide on how we want to expose work item types (WITs) in the UI. For the core, each WIT has a path (e.g.
The way work item link types (WILTs) currently work is that the source and target have to be of a WIT. In other words, given a WILT with source and target of type http://demo.api.almighty.io/api/search?q=Test%20updated%20type:system.bug All that UI has to do is to NOT filter this list by type. Instead accept what the core gives you and put it in the correct source or target. DON'T check for the type of the work items. The only potential problem I see is how the UI will know where to put the linked work item: in the source or in the target. Let's play through some scenarios: Simple scenario (exact matching types)given WILT:
The remaining question is how obvious it really is that the UI knows about where to put the current work item (in the source or in the target). Not so obvious scenario (not exactly matching types)given WILT
In my PR #602 I tried to solve this problem by returning the possible WILTs that can be used to create a work item. This does not truely solve the problem and my question to @aslakknutsen is whether we want to expose WIT hierarchy information to the UI to be able to figure out such problems where to put a work item (in the source or target field).
I would not make this assumption. The list of WILT to choose from in the UI should always show the forward and reverse name and only collapse it to one if the forward and reverse name and the source and target types are equal. |
|
After talking to @aslakknutsen we have decided to provide UI with a list of WILTs where can be used to create a link with the current work item as the source. Also we will be providing a list of WILTs that can be used to create a link with the current work item as the target. That way the UI can transparently handle types. |
Reference: 1608E102/1608E063
Note: This is an extension of story #306Description
As a user, I want to be able to see and drill down into an associated work item details on a work item detail view.
Functional Acceptance Criteria
Non-functional Acceptance Criteria
Dependencies
Tasks
The text was updated successfully, but these errors were encountered: