-
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
Update gallery block fixtures to match with gallery refactor to nested Image Blocks #28481
Commits on Feb 10, 2021
-
Update Gallery to nested image blocks
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 9f148d9 - Browse repository at this point
Copy the full SHA 9f148d9View commit details -
Fix issue with images not loading on first selection from media gallery
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 7fa1397 - Browse repository at this point
Copy the full SHA 7fa1397View commit details -
Remove the default columns setting as we don't have access to innerBl…
…ocks at the point that the block validation is run
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 4dbf48f - Browse repository at this point
Copy the full SHA 4dbf48fView commit details -
Revert "Remove the default columns setting as we don't have access to…
… innerBlocks at the point that the block validation is run" This reverts commit 4d95e95.
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 9d21319 - Browse repository at this point
Copy the full SHA 9d21319View commit details -
Add image count so we can work out default columns as innerBlocks not…
… available at point of block validation
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for fe7a91b - Browse repository at this point
Copy the full SHA fe7a91bView commit details -
Disable the innerBlocks dropzones so drag drop works same as existing…
… gallery - with the idea that we will improve the innerblocks drag and drop in a later PR
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 849f82b - Browse repository at this point
Copy the full SHA 849f82bView commit details -
Glen Davies committed
Feb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 4553dc2 - Browse repository at this point
Copy the full SHA 4553dc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 500b988 - Browse repository at this point
Copy the full SHA 500b988View commit details -
Revert "Disable the innerBlocks dropzones so drag drop works same as …
…existing gallery - with the idea that we will improve the innerblocks drag and drop in a later PR" This reverts commit cc05d60.
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 540bbbd - Browse repository at this point
Copy the full SHA 540bbbdView commit details -
Suggested solution for handling multiple file drop into gallery
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 4a13c9d - Browse repository at this point
Copy the full SHA 4a13c9dView commit details -
Remove non image files from drag and drop and disable individual imag…
…e drop zone
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for bf5f8d9 - Browse repository at this point
Copy the full SHA bf5f8d9View commit details -
Fix transform to individual images
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for f896da9 - Browse repository at this point
Copy the full SHA f896da9View commit details -
Fix transform from individual images
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for bd06610 - Browse repository at this point
Copy the full SHA bd06610View commit details -
Revert drag and drop transform changes
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 2dd4930 - Browse repository at this point
Copy the full SHA 2dd4930View commit details -
Add gallery transform to image block to override the default gallery …
…transform when dragging multiple images onto the gallery
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 57b7d98 - Browse repository at this point
Copy the full SHA 57b7d98View commit details -
Move handling of file uploads to Gallery from media placeholder
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 990cfb9 - Browse repository at this point
Copy the full SHA 990cfb9View commit details -
split innerblocks mapping into separate effect to reduce chatter
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 689d7bc - Browse repository at this point
Copy the full SHA 689d7bcView commit details -
Add useMemo to currentImageOptions
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for c360f72 - Browse repository at this point
Copy the full SHA c360f72View commit details -
reuse existing innerBlocks rather than recreating with every new imag…
…e selection
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 9509366 - Browse repository at this point
Copy the full SHA 9509366View commit details -
Switch to useMemo for updating local image const instead of local com…
…ponent state
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 570c702 - Browse repository at this point
Copy the full SHA 570c702View commit details -
Fix issue with image sizing not being available on initial load of co…
…mponent some times
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for be26af8 - Browse repository at this point
Copy the full SHA be26af8View commit details -
Memoise the useImageSizes hook
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for d152935 - Browse repository at this point
Copy the full SHA d152935View commit details -
Fix issue with media browser defaulting to edit gallery view
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 719b76b - Browse repository at this point
Copy the full SHA 719b76bView commit details -
Fix missed incorrect use of addToGallery
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 9fdde07 - Browse repository at this point
Copy the full SHA 9fdde07View commit details -
Add some extra effects for getting the imageData as the getMedia call…
… is async so need to keep circling through the innerblocks updates until we have all the data we need
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for e657247 - Browse repository at this point
Copy the full SHA e657247View commit details -
Simplify the imageData by using a useSelect
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 537f7da - Browse repository at this point
Copy the full SHA 537f7daView commit details -
Another optimisation - only return a new imageData reference if all i…
…mages have data resolved
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for c7de875 - Browse repository at this point
Copy the full SHA c7de875View commit details -
Refactored Gallery: Add loading state to gallery image size options (#…
…27087) * Add loading spinner for image size options Co-authored-by: Glen Davies <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b8fb9e5 - Browse repository at this point
Copy the full SHA b8fb9e5View commit details -
Glen Davies committed
Feb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 09b7f2b - Browse repository at this point
Copy the full SHA 09b7f2bView commit details -
Fix issue with linkDestination not being applied in migration
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 3ee43f1 - Browse repository at this point
Copy the full SHA 3ee43f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ae1ba2 - Browse repository at this point
Copy the full SHA 1ae1ba2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15909d5 - Browse repository at this point
Copy the full SHA 15909d5View commit details -
Update deprecation to set allowResize
The imageEdit component defaults the context value for allowResize to true. The refactored gallery sets this to false by default. Setting allowResize to false when migrating a deprecated gallery allows images to be cropped in the display the same as the gallery when the post is saved and gallery reloaded.
Configuration menu - View commit details
-
Copy full SHA for b4fbe2e - Browse repository at this point
Copy the full SHA b4fbe2eView commit details -
Fix issue with crop not working when certain plugins are loaded
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 817a964 - Browse repository at this point
Copy the full SHA 817a964View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8eed7f4 - Browse repository at this point
Copy the full SHA 8eed7f4View commit details -
Glen Davies committed
Feb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for b07fe67 - Browse repository at this point
Copy the full SHA b07fe67View commit details -
Glen Davies committed
Feb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 0a325dc - Browse repository at this point
Copy the full SHA 0a325dcView commit details -
Fix the e2e test and the accessibility issue with having aria group r…
…ole on a list item
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 2c18948 - Browse repository at this point
Copy the full SHA 2c18948View commit details -
Glen Davies committed
Feb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 37662ca - Browse repository at this point
Copy the full SHA 37662caView commit details -
Fix frontend omission of wp-block-image class
Also tweaks the gallery styles to remove the margins the use of `wp-block-image` introduces when it is moved to the inner `figure` element.
Configuration menu - View commit details
-
Copy full SHA for aef6f98 - Browse repository at this point
Copy the full SHA aef6f98View commit details -
change deprecation to use imageCount as isEligible check as it seems …
…that some previous block versions may not have an ids attribute
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 24a9455 - Browse repository at this point
Copy the full SHA 24a9455View commit details -
Move back to a single deprecations file and reorder in array
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for e59ea15 - Browse repository at this point
Copy the full SHA e59ea15View commit details -
Remove additional check in v5 isEligible
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for fa8a159 - Browse repository at this point
Copy the full SHA fa8a159View commit details -
Glen Davies committed
Feb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 97849a9 - Browse repository at this point
Copy the full SHA 97849a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5048707 - Browse repository at this point
Copy the full SHA 5048707View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6abf4fe - Browse repository at this point
Copy the full SHA 6abf4feView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee6628a - Browse repository at this point
Copy the full SHA ee6628aView commit details -
Restore styles to render deprecated gallery versions
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 0035221 - Browse repository at this point
Copy the full SHA 0035221View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41c5a27 - Browse repository at this point
Copy the full SHA 41c5a27View commit details -
Add additional selector to prevent the hidden individual image drop z…
…ones ending up display flex instead of hidden
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 5cf7a08 - Browse repository at this point
Copy the full SHA 5cf7a08View commit details -
Configuration menu - View commit details
-
Copy full SHA for c748ce7 - Browse repository at this point
Copy the full SHA c748ce7View commit details -
Apply default style class to new images added to gallery
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for cb153a1 - Browse repository at this point
Copy the full SHA cb153a1View commit details -
Glen Davies committed
Feb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for a38efbd - Browse repository at this point
Copy the full SHA a38efbdView commit details -
Move block props to the outer wrapper
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 06dd3d5 - Browse repository at this point
Copy the full SHA 06dd3d5View commit details -
Revert "Move block props to the outer wrapper"
This reverts commit e0723a7.
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 77d887c - Browse repository at this point
Copy the full SHA 77d887cView commit details -
Revert "Revert "Move block props to the outer wrapper""
This reverts commit a7504fd.
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for c2d229c - Browse repository at this point
Copy the full SHA c2d229cView commit details -
Fetch media if isListItem is true
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 083fc42 - Browse repository at this point
Copy the full SHA 083fc42View commit details -
Change context from isListItem to isGrouped
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for a392c2a - Browse repository at this point
Copy the full SHA a392c2aView commit details -
Glen Davies committed
Feb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 8b06149 - Browse repository at this point
Copy the full SHA 8b06149View commit details -
remove extra wrapper around media placeholder and caption and use fle…
…x css instead
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 260764d - Browse repository at this point
Copy the full SHA 260764dView commit details -
Revert "remove extra wrapper around media placeholder and caption and…
… use flex css instead
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 7cbea7a - Browse repository at this point
Copy the full SHA 7cbea7aView commit details -
Revert "Remove external div wrapper by moving InnerBlocks to a fragment"
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 55ff08b - Browse repository at this point
Copy the full SHA 55ff08bView commit details -
another update to image wrapper
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for d312f73 - Browse repository at this point
Copy the full SHA d312f73View commit details -
put media uploader outside figure so structure matches front end
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for c465a0d - Browse repository at this point
Copy the full SHA c465a0dView commit details -
Replace div with View for the sake of native code
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 31dcd59 - Browse repository at this point
Copy the full SHA 31dcd59View commit details -
Move setting of attributes to the child images
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for fa5f89b - Browse repository at this point
Copy the full SHA fa5f89bView commit details -
Gallery Block Refactor: Account for null image ids in gallery migrati…
…ons (#27855) Co-authored-by: Glen Davies <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 94b9ca2 - Browse repository at this point
Copy the full SHA 94b9ca2View commit details -
Remove the gradient and put caption under image if is-rounded style a…
…pplied (#27869) * Add alignment fixes for non cropped images Co-authored-by: Glen Davies <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7112959 - Browse repository at this point
Copy the full SHA 7112959View commit details -
Glen Davies committed
Feb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 11ce2f2 - Browse repository at this point
Copy the full SHA 11ce2f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a539edd - Browse repository at this point
Copy the full SHA a539eddView commit details -
Fix e2e test expected markup to match new structure
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 34aa703 - Browse repository at this point
Copy the full SHA 34aa703View commit details -
Gallery Block Refactor: Add handling of short code transforms (#28211)
Co-authored-by: Glen Davies <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a731edc - Browse repository at this point
Copy the full SHA a731edcView commit details -
Glen Davies committed
Feb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for dbb1581 - Browse repository at this point
Copy the full SHA dbb1581View commit details -
Account for undefined block and innerblocks in conversion to reusable…
… block lifecycle (#28336) * At certain points in conversion to reusable the parent and innerblock are undefined so adding checks to account for this Co-authored-by: Glen Davies <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 33bda1e - Browse repository at this point
Copy the full SHA 33bda1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6d2d0b - Browse repository at this point
Copy the full SHA c6d2d0bView commit details -
Adjust editor styles to match new dom structure
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for bea50ba - Browse repository at this point
Copy the full SHA bea50baView commit details -
Remove redundant styles that are duplicated in nested image blocks
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 85428a7 - Browse repository at this point
Copy the full SHA 85428a7View commit details -
Fix issue with Image block dragged out of Gallery still having inheri…
…tedAttributes set
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for a8c3dc6 - Browse repository at this point
Copy the full SHA a8c3dc6View commit details -
When dragging an image block into a gallery make sure we don't wipe a…
…ny custom links
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for fab3d0e - Browse repository at this point
Copy the full SHA fab3d0eView commit details -
fix issue with variable declaration order
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 5b466d6 - Browse repository at this point
Copy the full SHA 5b466d6View commit details -
Fix bug with custom link being overwritten by gallery linkTo changes
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 31ce82f - Browse repository at this point
Copy the full SHA 31ce82fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c03251 - Browse repository at this point
Copy the full SHA 9c03251View commit details -
Configuration menu - View commit details
-
Copy full SHA for d144d72 - Browse repository at this point
Copy the full SHA d144d72View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0b9e7d - Browse repository at this point
Copy the full SHA a0b9e7dView commit details -
Fix all unit tests and block fixtures to match the refactored gallery…
… format
Glen Davies committedFeb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 58cf248 - Browse repository at this point
Copy the full SHA 58cf248View commit details -
Glen Davies committed
Feb 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 6af96d3 - Browse repository at this point
Copy the full SHA 6af96d3View commit details