View a Task (detail page)
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.
Problem to Solve
Once a task is created, there needs to be a way to view it.
Proposal
- If task is in issue, open task detail in modal/sidebar
- If task is anywhere else, open in direct route
-/work_item/...
Acceptance Criteria
-
When clicking through to Task detail view from anywhere other than issue detail, load the Task at the— moved to #356627 (closed)/work_item/123/ route.
-
The title is visible in the task detail view -
When clicking on task (referenced from issue detail view), load task detail view in modal/sidebar !80727 (merged) -
FE Event trackers !80727 (merged) -
Enable Title to be updated real-time via Subscriptions !83546 (merged) -
Add a route to a task within an issue. A user can view any work item in a modal on any issue page !83988 (merged)
FE Event Trackers
Instead of having events, we should get both routes for free as page views in Snowplow. Just ensure that we don't need to manually trigger the pageview event on route changes in vue router.
Previous event definitions
category: workItems:show
label: work_item_view
action: viewed_work_item_from_modal
property: [type_{{insert issue type}}]
category: workItems:show
label: work_item_view
action: viewed_work_item_from_direct_route
property: [type_{{insert issue type}}]
Permissions and Security
- Same permissions as existing issue permissions.
Documentation
- Maybe?
Testing
- Necessary unit and end-to-end tests
What does success look like, and how can we measure that?
- Work items are not yet a stage where we will be measuring quantitatively.
Tiers
- Core Work Item view, default issue types (Task will be a default), and "related"
Task
issues is GitLab Free - Parent/child relationships are GitLab Premium, which is consistent with single level epics
Engineering Implementation Details
Edited by Coung Ngo