FE: Add Status widget in the sidebar of Task work item
Summary
Add ability to show current status or change status in the Task work item sidebar.
- First spike Spike: Work item status widget - Iteration 1 (#477863 - closed)
- POC which contains parts of the FE widget Draft: POC Static default status for work items (!178180 - closed)
- only task will have ability to show and change the status - doesn't matter because of widget availability
✅ - the default status of an open work item will be
Todo
- doesn't matter happens on backend✅ - the default status of an open work item will be
Done
- doesn't matter happens on backend✅ - on edit, a listbox with search ability would appear in the sidebar
- once user select the status, call the mutation to change the status if
- user clicks outside the listbox
- user clicks on the
Apply
button
Acceptance criteria
- Task will have a Status widget with default status
based on the work item state (open/close)(status is always fetched from backend and only displayed if status widget is available, if not displaynone
) in the sidebar of the detail page - It will have the ability to show the status received from the GraphQL query
- It will have the ability to change the status
- Once the status is changed, updated the new status should appear in the sidebar
- On error, show message as per other sidebar widgets
Resources
- Epic - &5099
- First iteration Epic - &14793 (closed)
- Designs for first iteration - #383125[Detail_page__Set_view_status.png]
- Backend issue - #498392 (closed), #498396 (closed)
- Proposed GraphQL schema - #477863 (closed)
Verification
- Login with any user
- Go to Project > Issues
- Open or create an Issue
- Create or add an existing Task in Child items widget
- Click on the Task link and verify if the Status widget is available in the sidebar
- Interact with the status widget
Checklist last edited by @msaleiko
Edited by Marc Saleiko