Preserve params for work items calendar and RSS endpoints
What does this MR do and why?
This MR fixes an issue where the calendar / RSS options in the new work items lists would ignore any filtering params passed to them. The behaviour here mimics that of the legacy issues list.
References
Screenshots or screen recordings
Not provided
How to set up and validate locally
Prerequisites: enable the work_items_group_issues_list FF
We'll use labels here to test the filtering logic, but the behaviour should apply using any filters
- Navigate to the project issues list
- Create a new issue. Set the due date to tomorrow's date, and create a new label from the new issue dialog. In this example, we'll title the label
A - Create another issue. Set the due date to tomorrow's date, but don't give the new issue a label
- In the filter bar, filter by
LabelisA. You should see only the first issue you created in the list - Refresh the page*
- In the
⋮menu on the top right, selectSubscribe to RSS feed - Observe that only the first issue created is returned. You can confirm this by looking for the
<label>A</label>. No other work items should be returned. - Navigate back in the browser, and select
Subscribe to calendarin the⋮dropdown - Open the
.icsfile which is downloaded in a text editor. Observe again that only the issue with the label is returned. - Repeat the steps above in the group issues list. You can use the same label filtering and issues created in the project above
* The page refresh is required for the new filter criteria to apply. This appears to be an existing bug, since this also occurs in the legacy issue list pages
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.
Edited by Matt D'Angelo