Skip to content

Resolve "Dropdown actions in mini pipeline graph in mr widget don't work"

Filipa Lacerda requested to merge 46381-dropdown-mr-widget into master

What does this MR do?

Handles the post request of the CI job action within stage.vue Although it does not match the architecture of only making the request in the main application, this component is used between 3 different applications. One of the requests is already made in stage.vue which alerady breaks the architecture.

Test

  1. In the main pipelines table, click one of the stages in the mini pipeline graph and then click on the action of one of the jobs: Screen_Shot_2018-05-15_at_17.07.50
  2. It should make a request and show a loading button in the action
  3. It should update the content after the request has finished.

The same should happen in:

  1. the MR widget mini pipeline
  2. the mr widget pipelines table
  3. The graph in pipelines page

Does this MR meet the acceptance criteria?

  • Tests added for this feature/bug
  • Conform by the code review guidelines
    • Has been reviewed by a UX Designer
    • Has been reviewed by a Frontend maintainer
    • Has been reviewed by a Backend maintainer
    • Has been reviewed by a Database specialist
  • Conform by the merge request performance guides
  • Conform by the style guides
  • If you have multiple commits, please combine them into a few logically organized commits by squashing them
  • Internationalization required/considered
  • End-to-end tests pass (package-and-qa manual pipeline job)

What are the relevant issue numbers?

Closes #46381 (closed)

Edited by Filipa Lacerda

Merge request reports