chore: rm Scheduled Execution Callback from Flow Canvas#1916
Draft
chore: rm Scheduled Execution Callback from Flow Canvas#1916
Conversation
🎩 To tophat this PR:You can add the following URL parameter to your browser to tophat this PR: |
Collaborator
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
ae66f01 to
1c8ea15
Compare
6c1e47d to
571a7c4
Compare
morgan-wowk
approved these changes
Mar 10, 2026
571a7c4 to
75dd6b7
Compare
1c8ea15 to
1e00c3d
Compare
1e00c3d to
372a6a3
Compare
Mbeaulne
approved these changes
Mar 11, 2026
Collaborator
|
I see e2e tests may become flaky because of the animation, could you take a look before merging? |
Collaborator
Author
|
I think I'm going to try take a bit of time to reevaluate this PR and figure out if there a better way to deal with |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
I may be mistaken but I think this code can be removed as the fit-to-view looks like it's successfully being taken care of elsewhere. Needs manual testing (as I don't remember why it was originally added). Hence, I've made it a separate PR.
Follow-up:
I have been exploring the implications of this PR. The removed code is currently delaying the canvas fit-view operation until after it has loaded, but before it renders. This makes the canvas load with the view centered on the content. Removal of this code causes the fit operation to happen after rendering, resulting in an animation. See the difference below. Do we want/need this? How do we feel about it?
Before (existing behaviour)
fit-view-no-animation.mov (uploaded via Graphite)
After (new behaviour)
fit-view-animated.mov (uploaded via Graphite)
Related Issue and Pull requests
Type of Change
Checklist
Screenshots (if applicable)
Test Instructions
Additional Comments