gitlab-org--gitlab-foss/app/assets/javascripts/pipelines
Stan Hu ec5bbd27f5 Remove duplicate XHR request when requesting new pipeline page
When a user clicked on another page in the pipeline page, the following
would happen:

1. PipelinesService.getPipelines() would be called to fetch the new page
2. In the success handler, Poll.restart() would be called
3. This would invoke Poll.makeRequest(), which would fire off a new
request.

To fix this, we introduce a enable(), which will:

1. Update the request data accordingly
2. Clear the old timeout if necessary and start a new timer

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/58095
2019-02-23 21:27:53 -08:00
..
components fix-52198-timer-is-vertically-misaligned-for-delayed-jobs-in-pipelactions 2019-02-22 08:48:40 +00:00
mixins Remove duplicate XHR request when requesting new pipeline page 2019-02-23 21:27:53 -08:00
services Enable "prefer-destructuring" in JS files 2018-06-25 11:53:57 -07:00
stores
constants.js Moves string to a constant 2018-05-17 10:25:11 +01:00
event_hub.js
pipeline_details_bundle.js Prettifies pipeline's javascript code 2018-06-27 15:28:05 +01:00
pipeline_details_mediator.js Prettifies pipeline's javascript code 2018-06-27 15:28:05 +01:00