-
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
Track if we programmatically changed zoom states for the user #66381
Closed
Closed
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
403e3c9
Track if we programatically changed zoom states for the user
jeryj f581059
Rename programmaticEnterZoomOut to programmaticZoomOutChange
jeryj eb52cba
Refactor inserter e2e to use InserterUtils and add test for zoom out
jeryj 211fb18
Add test for entering and exiting zoom out on pattern tab
jeryj fd1c0a2
Add test to check that we return to zoom out if useZoomOut exits zoom…
jeryj d594051
e2e: should not return you to zoom out if manually disengaged
jeryj 7f0e44d
Comment update
jeryj 592f5ca
Update comment
jeryj db88f93
update comment
jeryj 970410f
Simplify logic
jeryj 9804e46
Inline zoom level changes, as it triggers a rerender if it is in a se…
jeryj 4d98826
Expand ternary
jeryj 7dd5ade
Update logic
jeryj 76e6cd8
Minor refactor
jeryj d48574b
Add failing test for starting in zoom out and then toggling zoom stat…
jeryj f31f0da
Add zoom on mount ref
jeryj 50c58fd
rename manualIsZoomOutCheck to userZoomOutState
jeryj dffbe14
Add eslint rule for intentionally excluding dependency
jeryj 69c6cf2
Refactor for simplicity
jeryj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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.
This check is so confusing unless you scroll up to see the function signature 😆
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.
Agreed. Not sure what should be renamed. I think the passed
zoomOut
would be best to rename. Maybe change tosetZoomState
? OrzoomLevel
?