Skip to content
Snippets Groups Projects

Destroy tooltip in async buttons and dropdowns

Merged Filipa Lacerda requested to merge 30985-cancel-pipelines into master
All threads resolved!

What does this MR do?

Destroys the tooltip in async buttons and dropdowns

Screenshots

tooltips

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #30985 (closed)

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
  • When I opened https://gitlab.com/gitlab-org/gitlab-ce/issues/30985, I also found that refreshing the page without updating the cancel button state was disorienting. Is there any way to easily fix that, or is the logic too ingrained for a quick fix?

  • assigned to @filipa

  • Author Maintainer

    Thank you @brycepj !

    When I opened https://gitlab.com/gitlab-org/gitlab-ce/issues/30985, I also found that refreshing the page without updating the cancel button state was disorienting. Is there any way to easily fix that, or is the logic too ingrained for a quick fix?

    Do you mean refreshing the page while the button has the loading icon, while the request is being made?

    I can't reproduce any problem :thinking:

    Edited by Filipa Lacerda
  • Filipa Lacerda resolved all discussions

    resolved all discussions

  • Filipa Lacerda added 27 commits

    added 27 commits

    Compare with previous version

  • Filipa Lacerda added 1 commit

    added 1 commit

    Compare with previous version

  • Author Maintainer

    @iamphill can you please review this? Thank you! :)

  • assigned to @filipa

  • Filipa Lacerda added 18 commits

    added 18 commits

    Compare with previous version

  • mentioned in issue #31135 (closed)

  • Filipa Lacerda added 1 commit

    added 1 commit

    • 2afff609 - Use refs instead of query the DOM

    Compare with previous version

  • Filipa Lacerda resolved all discussions

    resolved all discussions

  • username-removed-408230 resolved all discussions

    resolved all discussions

  • Do you mean refreshing the page while the button has the loading icon, while the request is being made?

    Notice how after the cancel is complete, we refresh the page/pipeline index, and it's still possible for me to cancel the pipeline.

    2017-04-19_10.57.38

    Edited by username-removed-408230
  • username-removed-408230 resolved all discussions

    resolved all discussions

  • username-removed-408230 resolved all discussions

    resolved all discussions

  • @brycepj that seems like a different issue to me. Make an issue? :smiley:

    Tested this merge request locally & it works great! :thumbsup:

  • Phil Hughes enabled an automatic merge when the pipeline for 2afff609 succeeds

    enabled an automatic merge when the pipeline for 2afff609 succeeds

  • Phil Hughes approved this merge request

    approved this merge request

  • assigned to @iamphill

  • username-removed-408230 resolved all discussions

    resolved all discussions

  • mentioned in issue #31155 (moved)

  • merged

  • Phil Hughes mentioned in commit 046c0e1e

    mentioned in commit 046c0e1e

  • Picked into 9-1-stable, will go into 9.1.0-rc5

  • Phil Hughes mentioned in commit 99d0a615

    mentioned in commit 99d0a615

  • mentioned in issue gitlab#9362

  • Please register or sign in to reply
    Loading