Skip to content

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.

  1. First spike Spike: Work item status widget - Iteration 1 (#477863 - closed)
  2. 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 display none) 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

Verification

  1. Login with any user
  2. Go to Project > Issues
  3. Open or create an Issue
  4. Create or add an existing Task in Child items widget
  5. Click on the Task link and verify if the Status widget is available in the sidebar
  6. Interact with the status widget

Checklist last edited by @msaleiko

Edited by Marc Saleiko