Skip to content
Snippets Groups Projects

Single capability request call

Merged Daniel Nemergut requested to merge single_capability_request_call into main

The active requests page was polling the capability service twice every time and again after clicking on a filter or changing the selected capability. This reduces the number of calls to once per poll.

Note: My lack of JS observable/observer knowledge shows here and I couldn't manage to get the trackActiveRequests event to capture an update to sortedActiveRequests$ after my changes. I'll continue to poke at it but I've already wasted a good chunk of time trying to get filters to apply without reloading the page.

Before (2 requests per poll): Screen_Shot_2023-07-21_at_10.18.14_AM

After (1 request per poll): Screen_Shot_2023-07-21_at_10.18.50_AM

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading