[go: up one dir, main page]

Skip to content

Update RSS and Calendar Endpoints to accept type filter

What does this MR do and why?

This MR allows the work items controller to read the type param and pass this to the finder when the user selects Subscribe to RSS or Subscribe to Calendar in the work items lists.

References

Screenshots or screen recordings

Not provided

How to set up and validate locally

The changes here should work with the consolidated list and existing group and project issues lists:

Group / Project Issues List

  1. In a new project under a group, create a task and an issue. Set the due date to today for both of these work items (needed for calendar)
  2. Apply the type filter in the search bar, and filter by a particular type (e.g. Type is Task)
  3. Refresh the page (this is needed due to an unrelated bug)
  4. From the menu, select Subscribe to RSS
  5. Observe that only the item of the filtered type is returned
  6. From the menu, select Subscribe to Calendar
  7. Observe in the downloaded .ics file that only the item of the filtered type is returned
  8. Repeat the steps above at the group level. You can use the work items created in the step above, and the results should be the same

Consolidated List

TODO

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #578148

Edited by Matt D'Angelo

Merge request reports

Loading