-
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
Try: Make site editor responsive. #26021
Merged
Merged
Commits on Nov 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c595151 - Browse repository at this point
Copy the full SHA c595151View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f5db67 - Browse repository at this point
Copy the full SHA 0f5db67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5888438 - Browse repository at this point
Copy the full SHA 5888438View commit details -
Configuration menu - View commit details
-
Copy full SHA for f68f4b9 - Browse repository at this point
Copy the full SHA f68f4b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a308c43 - Browse repository at this point
Copy the full SHA a308c43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f87313 - Browse repository at this point
Copy the full SHA 6f87313View commit details -
Add desktop affordances to site editor header
Flex bases of 335px were added to the left and right site editor header toolbars to prevent their children from collapsing when shrinking the viewport. This, however, did not account for tbehavior at smaller screen widths (tablet / mobile), and caused layout issues. To address this, we use breakpoints to define the 335px flex bases as desktop specific affordances.
Configuration menu - View commit details
-
Copy full SHA for a60468c - Browse repository at this point
Copy the full SHA a60468cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6d1db7 - Browse repository at this point
Copy the full SHA a6d1db7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9887b56 - Browse repository at this point
Copy the full SHA 9887b56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26c0895 - Browse repository at this point
Copy the full SHA 26c0895View commit details -
Refactor LeftSidebar rendering logic for InterfaceSkeleton
The InterfaceSkeleton component coordinates the general layout and styling of the site editor and post editor pages. It expects specific behavior from its props. For example, if the LeftSidebar is open, InterfaceSkeleton expects to be passed JSX markup as the leftSidebar prop. Otherwise, if the LeftSidebar isn't open, InterfaceSkeleton expects a null or falsey leftSidebar prop. InterfaceSkeleton styling depends on this behavior. In edit site, the LeftSidebar prop passed into InterfaceSkeleton was always a truthy value. As a result, InterfaceSkeleton was improperly accounting for a LeftSidebar, even when it was unmounted from the screen. These changes move the logic to determine when the sidebar should "open" up from the LeftSidebar component itself to its parent. This allows us to pass JSX markup to the InterfaceSkeleton when the inserter is open, and a falsey value when the inserter is closed.
Configuration menu - View commit details
-
Copy full SHA for 936860a - Browse repository at this point
Copy the full SHA 936860aView commit details -
Configuration menu - View commit details
-
Copy full SHA for dcef19e - Browse repository at this point
Copy the full SHA dcef19eView commit details -
Configuration menu - View commit details
-
Copy full SHA for af4c437 - Browse repository at this point
Copy the full SHA af4c437View commit details
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.