-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Update frame resizing #49910
Merged
Merged
Update frame resizing #49910
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
8e9c1af
frame resizer centered
SaxonF 0441dba
Use a lerp function to modify the height of the frame.
mtias 43019aa
Make the frame full screen when the user resizes it to the left.
mtias 63e5509
Ensure the frame grows only to the left when going above its size.
mtias 77d55c4
Disable user selection while resizing the frame.
mtias b08b57a
Make it easier to grab the handle.
mtias 17becce
Switch to setTimeout and set a fixed resizeRatio.
mtias 59bfa2f
Modify oversized calculation to reduce resizing bug.
mtias d8dd107
Avoid timer
mirka 6322c3c
Temp working
mirka 1934811
Clean up CSS
mirka dbb51f9
More cleanup
mirka 05c49fc
Refactor lerpy parts
mirka dc89a28
More cleanup
mirka 0d19489
Rename `isFull` to `isFullWidth`
mirka 602e612
Improve maintainability
mirka bdc1732
More cleanup
mirka 34ccb00
Match component classnames
mirka 0a2cb41
Invert control for flex changes
mirka b69ee87
Calculate fluid resize ratio
mirka 3bb9c10
Prevent React re-render loop warning
mirka 3ef1855
Always show handle when resizing
mirka a742569
Maintain resizing cursor when resizing
mirka 48658ca
Improve code comments
mirka cd5bcc4
Exclude `ListPage` from ResizableFrame
mirka 09bc6fd
Use CSS var for accent color
mirka d518f0e
Handle spinner gracefully
mirka ee461b9
Lift loading state so resizing can be disabled
mirka b85a344
Change max width for less jankiness
mirka 334b643
Remove outdated padding animation
mirka 44828f7
Clean up magic numbers
ciampo db6330c
Update saveSiteEditorEntities() locators
WunderBart 929e903
Update StyleBook.open() locators
WunderBart 5d53981
Quickfix: Wait until load spinner is gone
mirka a2bf020
Revert to class-based save detection
mirka 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
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.
Nice find. I think it would be good to address this on an implementation level, though (not a scope of this PR). The button should probably say
Saving
, notSaved
as long as the request is pending (.is-busy
ATM). cc @kevin940726There 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.
Yes, I totally forgot to TODO comment this. Thanks!
Relevant component file