Skip to content
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 Safari blank page when clicking on modular pipelines #1488

Merged
merged 3 commits into from Aug 16, 2023

Conversation

vladimir-mck
Copy link
Contributor

@vladimir-mck vladimir-mck commented Aug 15, 2023

Description

Resolves 1462

Development notes

This issue specifically happens on Safari when interacting with modular pipelines in the sidebar or flowchart. The problem seems to arise during edge redraws. For some reason Safari has several undefined values in the edges array so I filtered them out when creating new edges.

This is the error Safari throws:
Screenshot 2023-08-15 at 12 57 48

And this is the error when I manually catch it in a try / catch block
Screenshot 2023-08-15 at 12 57 59

QA notes

  • Checkout branch
  • Build & deploy
  • Open in Safari and start clicking modular pipelines in the sidebar or flowchart

Checklist

  • Read the contributing guidelines
  • Opened this PR as a 'Draft Pull Request' if it is work-in-progress
  • Updated the documentation to reflect the code changes
  • Added new entries to the RELEASE.md file
  • Added tests to cover my changes

Signed-off-by: Vladimir <vladimir_nikolic@external.mckinsey.com>
Copy link
Member

@tynandebold tynandebold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works very well. I can't reproduce the error now. Thanks for this!

Copy link
Contributor

@ravi-kumar-pilla ravi-kumar-pilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !! Awesome :)

RELEASE.md Outdated
@@ -17,6 +18,7 @@ Please follow the established format:
- Fix broken SVG/PNG exports in light theme. (#1463)
- Fix dataset and global toolbar error with standalone React component (#1351)
- Fix `ImportError` as kedro-datasets is now lazily loaded (#1481).
- Fix the issue of encountering a blank page in Safari when interacting with the modular pipeline. (#1462)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The # number in the bracket should be the PR number

@tynandebold tynandebold merged commit 50ebfe6 into main Aug 16, 2023
5 checks passed
@tynandebold tynandebold deleted the bugfix/1462-safari-blank-page branch August 16, 2023 11:07
@tynandebold tynandebold mentioned this pull request Aug 17, 2023
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Blank page when clicking modular pipeline in safari
3 participants