Skip to content

Conversation

marichka-offen
Copy link
Contributor

@marichka-offen marichka-offen commented Nov 28, 2022

Part of #7666

This PR makes Cancel button available for feature/flow-run-cancellation

Example

Checklist

  • This pull request references any related issue by including "closes <link to issue>"
    • If no issue exists and your change is not a small fix, please create an issue first.
  • This pull request includes tests or only affects documentation.
  • This pull request includes a label categorizing the change e.g. fix, feature, enhancement

@marichka-offen marichka-offen added the development Tech debt, refactors, CI, tests, and other related work. label Nov 28, 2022
@zanieb zanieb changed the title Add Cancel button to feature/flow-run-cancellation Add cancel button to the flow run page in the UI Nov 28, 2022
@zanieb zanieb added feature A new feature and removed development Tech debt, refactors, CI, tests, and other related work. labels Nov 28, 2022
@zanieb
Copy link
Contributor

zanieb commented Nov 28, 2022

@marichka-offen You can treat this as if it's going into main, we generally won't do another code review when we merge the tracking branch.

@marichka-offen
Copy link
Contributor Author

marichka-offen commented Nov 29, 2022

@madkinsz I'll merge this PR to give you a Cancel button in UI, but there's a little gotcha. Because the way we do it is literally a hack to accommodate the absence of feature flags in orion, the Cancel button takes 30 seconds to disappear from UI once the state is changed to Cancelling. Once the active work on this feature is done and we are ready to show it to user, I will add the button the regular way we do it in orion-design (without using a slot). That way button will be removed from UI immediately

@marichka-offen marichka-offen merged commit febf62d into feature/flow-run-cancellation Nov 29, 2022
@marichka-offen marichka-offen deleted the add-cancel-button branch November 29, 2022 17:11
github-actions bot pushed a commit to ddelange/prefect that referenced this pull request Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants