-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ecosystems): Disables window close for integration pipeline dialog #75307
fix(ecosystems): Disables window close for integration pipeline dialog #75307
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #75307 +/- ##
=======================================
Coverage 78.21% 78.21%
=======================================
Files 6775 6775
Lines 302013 302013
Branches 51963 51963
=======================================
Hits 236217 236217
+ Misses 59443 59442 -1
- Partials 6353 6354 +1 |
@@ -14,7 +14,6 @@ | |||
if (window.opener) { | |||
window.opener.postMessage({{ payload|to_json }}, {{ document_origin|safe }}); | |||
} | |||
window.close(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you have any idea why this was here in the first place?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no clue why. I'm guessing as a convenience thing when the pipeline succeeds, but it was never intended to close for failures.
PR reverted: 70aca29 |
Prevents the dialog window from immediately closing when the integration pipeline is finished. This currently happens, regardless of the success of the operation which results in us dropping errors messages when we should be displaying them to the customer.