RSS feed link does not dynamically update
MR: Fix rss feed link dynamic update (!211170 - merged)
Problem
When users apply filters on the issues/work items list page, the filtered list is displayed correctly. However, when they click "Subscribe to RSS feed", the RSS feed does not respect the applied filters because the RSS link is statically generated on page load and not updated when filters are applied.
This creates an inconsistent user experience where:
- User sees filtered work items on the page
- User clicks "Subscribe to RSS" expecting to get RSS for the filtered items
- RSS feed contains all items, not just the filtered ones
- User must refresh the page to get the correct RSS link with filters applied
Current Behavior
- RSS feed link is generated statically when the page loads
- Applying filters updates the displayed work items but does not update the RSS link
- RSS feed returns unfiltered results even when filters are active
Expected Behavior
- RSS feed link should be dynamically updated when filters are applied
- RSS feed should contain only the work items that match the currently applied filters
- No page refresh should be required to get the correct RSS link
Impact
This affects user experience across:
- Project work items lists
- Group work items lists
- Both consolidated work items view and traditional issues lists
- Both with
work_item_planning_viewenabled and disabled
References
This issue was identified during testing of these MRs:
- !209022 (merged) - Update RSS and Calendar Endpoints to accept assignee filter
- !209880 (merged) - Update RSS and Calendar Endpoints to accept type filter
Both MRs note in their validation steps: "Refresh the page (this is needed due to an unrelated bug)" - this issue is that unrelated bug.
Acceptance Criteria
-
RSS feed link is dynamically updated when any filter is applied to work items list -
RSS feed respects all currently applied filters without requiring page refresh -
Calendar subscription link is also dynamically updated (same issue likely affects calendar) -
Works consistently across project and group work items lists -
Works with both consolidated work items view and traditional issues lists -
No regression in RSS/Calendar functionality
Technical Notes
The RSS link generation likely needs to be moved from server-side rendering to client-side JavaScript that can respond to filter changes. The link should be updated whenever the URL parameters change due to filter application.
Similar fix may be needed for Calendar subscription links.