Skip to content
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

[Mobile] Pass the Gallery v2 Flag over from the editor #33314

Commits on Apr 11, 2021

  1. Refactor gallery to nested image blocks

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    c01bbfb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    038b22d View commit details
    Browse the repository at this point in the history
  3. 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 committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    331c302 View commit details
    Browse the repository at this point in the history
  4. 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 committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    ee7da0a View commit details
    Browse the repository at this point in the history
  5. Add image count so we can work out default columns as innerBlocks not…

    … available at point of block validation
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    c9fe911 View commit details
    Browse the repository at this point in the history
  6. 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 committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    a00a544 View commit details
    Browse the repository at this point in the history
  7. Lint changes

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    0c8742f View commit details
    Browse the repository at this point in the history
  8. Revert "Lint changes"

    This reverts commit 9b0abcc.
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    a77854c View commit details
    Browse the repository at this point in the history
  9. 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 committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    1965514 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e5e1420 View commit details
    Browse the repository at this point in the history
  11. Remove non image files from drag and drop and disable individual imag…

    …e drop zone
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    1d6c559 View commit details
    Browse the repository at this point in the history
  12. Fix transform to individual images

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    39cecec View commit details
    Browse the repository at this point in the history
  13. Fix transform from individual images

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    d9ec2b0 View commit details
    Browse the repository at this point in the history
  14. Revert drag and drop transform changes

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    3742af8 View commit details
    Browse the repository at this point in the history
  15. Add gallery transform to image block to override the default gallery …

    …transform when dragging multiple images onto the gallery
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    3acb223 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    084e6c7 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    cff6727 View commit details
    Browse the repository at this point in the history
  18. Add useMemo to currentImageOptions

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    f1606cc View commit details
    Browse the repository at this point in the history
  19. reuse existing innerBlocks rather than recreating with every new imag…

    …e selection
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    1140646 View commit details
    Browse the repository at this point in the history
  20. Switch to useMemo for updating local image const instead of local com…

    …ponent state
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    6d23628 View commit details
    Browse the repository at this point in the history
  21. Fix issue with image sizing not being available on initial load of co…

    …mponent some times
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    f7a1ff4 View commit details
    Browse the repository at this point in the history
  22. Memoise the useImageSizes hook

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    974ad90 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    5ac143b View commit details
    Browse the repository at this point in the history
  24. Fix missed incorrect use of addToGallery

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    8ceaa3d View commit details
    Browse the repository at this point in the history
  25. 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 committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    8d7159b View commit details
    Browse the repository at this point in the history
  26. Simplify the imageData by using a useSelect

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    dbda7e9 View commit details
    Browse the repository at this point in the history
  27. Another optimisation - only return a new imageData reference if all i…

    …mages have data resolved
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    342695e View commit details
    Browse the repository at this point in the history
  28. Refactored Gallery: Add loading state to gallery image size options (#…

    …27087)
    
    * Add loading spinner for image size options
    Co-authored-by: Glen Davies <glen.davies@a8c.com>
    aaronrobertshaw authored and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    0744b59 View commit details
    Browse the repository at this point in the history
  29. Initial deprecations commit

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    dad1b0b View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    bcf6664 View commit details
    Browse the repository at this point in the history
  31. Refactor gallery deprecations

    aaronrobertshaw authored and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    921fecc View commit details
    Browse the repository at this point in the history
  32. Fix missing attributes from migration

    aaronrobertshaw authored and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    7920a45 View commit details
    Browse the repository at this point in the history
  33. 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.
    aaronrobertshaw authored and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    c97630c View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    2724965 View commit details
    Browse the repository at this point in the history
  35. Fix SCSS lint errors

    aaronrobertshaw authored and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    098ba86 View commit details
    Browse the repository at this point in the history
  36. Update the block example

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    49f9d6b View commit details
    Browse the repository at this point in the history
  37. Linting fixes

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    88c096b View commit details
    Browse the repository at this point in the history
  38. Fix the e2e test and the accessibility issue with having aria group r…

    …ole on a list item
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    37b4b4e View commit details
    Browse the repository at this point in the history
  39. Fix the e2e test and the accessibility issue with having aria group r…

    …ole on a list item
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    0c5e720 View commit details
    Browse the repository at this point in the history
  40. 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.
    aaronrobertshaw authored and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    5840a1c View commit details
    Browse the repository at this point in the history
  41. change deprecation to use imageCount as isEligible check as it seems …

    …that some previous block versions may not have an ids attribute
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    e1e6a8a View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    d7187b4 View commit details
    Browse the repository at this point in the history
  43. Remove additional check in v5 isEligible

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    b648b10 View commit details
    Browse the repository at this point in the history
  44. Fix the v4 migration

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    f1454f2 View commit details
    Browse the repository at this point in the history
  45. Fix styles for Safari compatibility

    aaronrobertshaw authored and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    e76bb06 View commit details
    Browse the repository at this point in the history
  46. Remove unnecessary gallery editor styles

    aaronrobertshaw authored and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    b969e3f View commit details
    Browse the repository at this point in the history
  47. Fix typo in deprecations

    aaronrobertshaw authored and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    0ff156a View commit details
    Browse the repository at this point in the history
  48. Restore styles to render deprecated gallery versions

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    309f9f0 View commit details
    Browse the repository at this point in the history
  49. Avoid applying flex styles to IE11

    aaronrobertshaw authored and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    e6d1301 View commit details
    Browse the repository at this point in the history
  50. Add additional selector to prevent the hidden individual image drop z…

    …ones ending up display flex instead of hidden
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    4953a0c View commit details
    Browse the repository at this point in the history
  51. IE11 styling improvements

    aaronrobertshaw authored and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    d259127 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    1a16354 View commit details
    Browse the repository at this point in the history
  53. fix linting issues

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    9aadf8f View commit details
    Browse the repository at this point in the history
  54. Move block props to the outer wrapper

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    e879978 View commit details
    Browse the repository at this point in the history
  55. Revert "Move block props to the outer wrapper"

    This reverts commit e0723a7.
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    f072943 View commit details
    Browse the repository at this point in the history
  56. Revert "Revert "Move block props to the outer wrapper""

    This reverts commit a7504fd.
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    c4d06ee View commit details
    Browse the repository at this point in the history
  57. Fetch media if isListItem is true

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    82eee6e View commit details
    Browse the repository at this point in the history
  58. Change context from isListItem to isGrouped

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    601119c View commit details
    Browse the repository at this point in the history
  59. Remove wrapper div

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    4f1ddb4 View commit details
    Browse the repository at this point in the history
  60. remove extra wrapper around media placeholder and caption and use fle…

    …x css instead
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    a6603cf View commit details
    Browse the repository at this point in the history
  61. Revert "remove extra wrapper around media placeholder and caption and…

    … use flex css instead
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    9b8d498 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    bd88cb2 View commit details
    Browse the repository at this point in the history
  63. another update to image wrapper

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    abcb029 View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    939456d View commit details
    Browse the repository at this point in the history
  65. Replace div with View for the sake of native code

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    bf0aec2 View commit details
    Browse the repository at this point in the history
  66. Move setting of attributes to the child images

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    0938b5e View commit details
    Browse the repository at this point in the history
  67. Gallery Block Refactor: Account for null image ids in gallery migrati…

    …ons (#27855)
    
    Co-authored-by: Glen Davies <glen.davies@a8c.com>
    glendaviesnz and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    94d9877 View commit details
    Browse the repository at this point in the history
  68. 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 <glen.davies@a8c.com>
    glendaviesnz and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    17ca088 View commit details
    Browse the repository at this point in the history
  69. Remove outer div wrapper

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    2c2b38e View commit details
    Browse the repository at this point in the history
  70. Keep image margins while dragging sibling

    aaronrobertshaw authored and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    82ef52a View commit details
    Browse the repository at this point in the history
  71. Fix e2e test expected markup to match new structure

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    bc61288 View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    7af15db View commit details
    Browse the repository at this point in the history
  73. Removed unused prop

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    1e1752e View commit details
    Browse the repository at this point in the history
  74. Account for undefined block and innerblocks in conversion to reusable…

    … block lifecycle
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    726e48c View commit details
    Browse the repository at this point in the history
  75. Add custom gutter sizes to refactored gallery (#28377)

    aaronrobertshaw authored and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    21bd032 View commit details
    Browse the repository at this point in the history
  76. Adjust editor styles to match new dom structure

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    a9453d2 View commit details
    Browse the repository at this point in the history
  77. Configuration menu
    Copy the full SHA
    83b9074 View commit details
    Browse the repository at this point in the history
  78. Fix issue with Image block dragged out of Gallery still having inheri…

    …tedAttributes set
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    e3a6c29 View commit details
    Browse the repository at this point in the history
  79. When dragging an image block into a gallery make sure we don't wipe a…

    …ny custom links
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    d34dcdb View commit details
    Browse the repository at this point in the history
  80. fix issue with variable declaration order

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    72e9c2b View commit details
    Browse the repository at this point in the history
  81. Configuration menu
    Copy the full SHA
    e291f91 View commit details
    Browse the repository at this point in the history
  82. Fix application of gutter size CSS var (#28759)

    aaronrobertshaw authored and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    795a568 View commit details
    Browse the repository at this point in the history
  83. Fix mobile width for gallery images

    aaronrobertshaw authored and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    9580649 View commit details
    Browse the repository at this point in the history
  84. Add missing dependency to inner images selector

    aaronrobertshaw authored and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    74072f0 View commit details
    Browse the repository at this point in the history
  85. remove conversion to cover block if image in gallery

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    cf4dc34 View commit details
    Browse the repository at this point in the history
  86. Add fallback to old gallery edit and save for existing gallery (#28961)

    Co-authored-by: Glen Davies <glen.davies@a8c.com>
    glendaviesnz and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    f90965c View commit details
    Browse the repository at this point in the history
  87. Remove duplicate import

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    be75a36 View commit details
    Browse the repository at this point in the history
  88. Remove need for temporary imageUploads attribute as we can just creat…

    …e the innerBlocks as part of transform
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    780e9e7 View commit details
    Browse the repository at this point in the history
  89. Configuration menu
    Copy the full SHA
    fd1e27d View commit details
    Browse the repository at this point in the history
  90. Move updating of attributes back to gallery and show snackbar to indi…

    …cated to user that change was made to all images in the gallery
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    652557e View commit details
    Browse the repository at this point in the history
  91. Update transforms to work with both versions of gallery

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    1da955d View commit details
    Browse the repository at this point in the history
  92. Remove redundant changes

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    5b809d5 View commit details
    Browse the repository at this point in the history
  93. Remove redundant changes

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    b3fb72c View commit details
    Browse the repository at this point in the history
  94. Remove unused method

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    b5ca5ef View commit details
    Browse the repository at this point in the history
  95. Merge similar Image transforms.

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    d5f5cba View commit details
    Browse the repository at this point in the history
  96. Configuration menu
    Copy the full SHA
    82b97b8 View commit details
    Browse the repository at this point in the history
  97. Simplify handling of images from media placeholder now that drag and …

    …drop files handled by transform
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    d9b1733 View commit details
    Browse the repository at this point in the history
  98. Fix typo

    aaronrobertshaw authored and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    ee6bef7 View commit details
    Browse the repository at this point in the history
  99. Fix broken upload from media placeholder

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    9e0b05c View commit details
    Browse the repository at this point in the history
  100. Configuration menu
    Copy the full SHA
    f27e872 View commit details
    Browse the repository at this point in the history
  101. Remove isGrouped dependency from call to get image as not needed now …

    …attributes handled by gallery
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    30dc02f View commit details
    Browse the repository at this point in the history
  102. Remove custom gutter size feature

    Reasoning for removal can be found at #25940 (comment)
    aaronrobertshaw authored and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    3d47210 View commit details
    Browse the repository at this point in the history
  103. Use getMediaItems instead of getMedia for getting image data for all …

    …gallery images
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    fd56523 View commit details
    Browse the repository at this point in the history
  104. Add back missing context prop from rebase conflict

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    657ba78 View commit details
    Browse the repository at this point in the history
  105. Make use of new uniqueByBlock flag on updateBlockAttributes to batch …

    …child image updates and allow single undo to revert
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    a111532 View commit details
    Browse the repository at this point in the history
  106. Move the setting of the default attributes on new blocks to a single …

    …useEffect (#29328)
    
    Co-authored-by: Glen Davies <glen.davies@a8c.com>
    glendaviesnz and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    6370194 View commit details
    Browse the repository at this point in the history
  107. Add snackbar notice ids (#29364)

    aaronrobertshaw authored and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    e23ddb0 View commit details
    Browse the repository at this point in the history
  108. Account for people adding and removing images from media browser so n…

    …umber of images the same, but list of images different to current.
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    fc2b2a0 View commit details
    Browse the repository at this point in the history
  109. Changes from PR feedback

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    716ea1b View commit details
    Browse the repository at this point in the history
  110. Fix issue with deprecated constants

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    44df5dd View commit details
    Browse the repository at this point in the history
  111. Fix linting and e2e test failures

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    3a75fb0 View commit details
    Browse the repository at this point in the history
  112. Some more e2e fixes

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    84ebe2e View commit details
    Browse the repository at this point in the history
  113. Add transform from old gallery to new format

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    6b06732 View commit details
    Browse the repository at this point in the history
  114. Memoize the allowedBlocks

    This allows the shallow equals check in the inner blocks' `useNestedSettingsUpdate` hook to pass successfully preventing the state update loop.
    aaronrobertshaw authored and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    6caef45 View commit details
    Browse the repository at this point in the history
  115. Configuration menu
    Copy the full SHA
    8eceac7 View commit details
    Browse the repository at this point in the history
  116. Configuration menu
    Copy the full SHA
    efd0705 View commit details
    Browse the repository at this point in the history
  117. Re-apply uncropped alignment changes lost in rebase

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    82cf526 View commit details
    Browse the repository at this point in the history
  118. Fix issue with non-cropped images in deprecated gallery

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    d133db7 View commit details
    Browse the repository at this point in the history
  119. Don't show media library buttons while images are still uploading as …

    …the media library needs the image ids to reconcile which images are already in the gallery
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    651ff59 View commit details
    Browse the repository at this point in the history
  120. Remove gallerRef that was no longer doing anything

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    6209e6e View commit details
    Browse the repository at this point in the history
  121. Respect sort order from Media Library (#30070)

    Co-authored-by: Glen Davies <glen.davies@a8c.com>
    glendaviesnz and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    eaa0c7a View commit details
    Browse the repository at this point in the history
  122. Gallery block refactor: make invalid file type errors consistent (#30396

    )
    
    
    Co-authored-by: Glen Davies <glen.davies@a8c.com>
    Co-authored-by: Aaron Robertshaw <60436221+aaronrobertshaw@users.noreply.github.com>
    3 people committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    20477de View commit details
    Browse the repository at this point in the history
  123. Fix issue with invalid type message when adding files via media brows…

    …er 'Upload' button
    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    6195768 View commit details
    Browse the repository at this point in the history
  124. Gallery block refactor: check for new images by clientId instead of i…

    …d to stop link settings being lost when images edited (#30550)
    
    Co-authored-by: Glen Davies <glen.davies@a8c.com>
    glendaviesnz and Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    9cfb170 View commit details
    Browse the repository at this point in the history
  125. Apply changes from rebase to deprecated gallery

    Glen Davies committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    772691d View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2021

  1. Apply patch from rebase to not select all items in media library when…

    … existing images have no ids
    Glen Davies committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    d71011b View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2021

  1. Copy caption across from image selected from media library (#30784)

    Co-authored-by: Glen Davies <glen.davies@a8c.com>
    glendaviesnz and Glen Davies authored Apr 13, 2021
    Configuration menu
    Copy the full SHA
    991437d View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2021

  1. Add data-id to image to help with compatibility of refactored gallery…

    … with existing themes and plugins (#30710)
    
    Co-authored-by: Glen Davies <glen.davies@a8c.com>
    glendaviesnz and Glen Davies authored Apr 22, 2021
    Configuration menu
    Copy the full SHA
    a2253ec View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2021

  1. Revert "Add data-id to image to help with compatibility of refactored…

    … gallery with existing themes and plugins (#30710)"
    
    This reverts commit a2253ec.
    Glen Davies committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    d225aca View commit details
    Browse the repository at this point in the history
  2. fix bug with image style being lost when gallery grouped (#31068)

    Co-authored-by: Glen Davies <glen.davies@a8c.com>
    glendaviesnz and Glen Davies authored Apr 23, 2021
    Configuration menu
    Copy the full SHA
    fc06639 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2021

  1. Only add RichText component if the figcaption is clicked to prevent i…

    …t stealing focus every time block is selected (#31216)
    
    Co-authored-by: Glen Davies <glen.davies@a8c.com>
    glendaviesnz and Glen Davies authored Apr 28, 2021
    Configuration menu
    Copy the full SHA
    1067a0c View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2021

  1. Configuration menu
    Copy the full SHA
    1521f52 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8639891 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2021

  1. Fix bug with alt text not being copied from media library (#31066)

    Co-authored-by: Glen Davies <glen.davies@a8c.com>
    glendaviesnz and Glen Davies authored Apr 30, 2021
    Configuration menu
    Copy the full SHA
    ff4fadc View commit details
    Browse the repository at this point in the history

Commits on May 4, 2021

  1. Configuration menu
    Copy the full SHA
    91c09b8 View commit details
    Browse the repository at this point in the history
  2. Add useInnerBlocksProps hook

    mkevins committed May 4, 2021
    Configuration menu
    Copy the full SHA
    ffc22e7 View commit details
    Browse the repository at this point in the history
  3. Enable __experimentalGalleryRefactor flag under __DEV__

    This is only temporary, for testing purposes. This will be replaced with
    an actual implementation (which will need to access the flag remotely).
    mkevins committed May 4, 2021
    Configuration menu
    Copy the full SHA
    e688131 View commit details
    Browse the repository at this point in the history
  4. Add WIP v2 gallery

    mkevins committed May 4, 2021
    Configuration menu
    Copy the full SHA
    c8fbc35 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2f44f58 View commit details
    Browse the repository at this point in the history
  6. Temporarily comment out spinner for pending imagesize option

    This will need to be addressed (since we can't have unwrapped text on
    mobile). For now, I'm commenting this out to proceed with cherry-picking
    the changes from the original mobile refactor branch.
    mkevins committed May 4, 2021
    Configuration menu
    Copy the full SHA
    9fd5897 View commit details
    Browse the repository at this point in the history
  7. Fix spacing

    mkevins committed May 4, 2021
    Configuration menu
    Copy the full SHA
    d646d59 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    59ea082 View commit details
    Browse the repository at this point in the history
  9. Add gallery caption

    mkevins committed May 4, 2021
    Configuration menu
    Copy the full SHA
    683af04 View commit details
    Browse the repository at this point in the history
  10. Fix lint

    Some of these "fixes" are simply disabling lint for the offending lines.
    These currently unused variables may be used in a later PR, so I'm
    leaving them in, for now, to help simplify reconciling the changes from
    the former refactor PR.
    mkevins committed May 4, 2021
    Configuration menu
    Copy the full SHA
    a520018 View commit details
    Browse the repository at this point in the history
  11. Fix sass lint

    mkevins committed May 4, 2021
    Configuration menu
    Copy the full SHA
    1f0073d View commit details
    Browse the repository at this point in the history

Commits on May 7, 2021

  1. Merge branch 'refactor/gallery-to-nested-image-blocks' into rnmobile/…

    …refactor/gallery-as-nested-image-blocks
    mkevins committed May 7, 2021
    Configuration menu
    Copy the full SHA
    4e3d981 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2021

  1. Merge branch 'trunk' of github.com:WordPress/gutenberg into refactor/…

    …gallery-to-nested-image-blocks
    
    # Conflicts:
    #	lib/experiments-page.php
    #	packages/block-library/src/gallery/edit.js
    #	packages/block-library/src/gallery/gallery.js
    #	packages/block-library/src/image/block.json
    Glen Davies committed May 19, 2021
    Configuration menu
    Copy the full SHA
    b976235 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2021

  1. Merge branch 'refactor/gallery-to-nested-image-blocks' into rnmobile/…

    …refactor/gallery-as-nested-image-blocks
    mkevins committed May 20, 2021
    Configuration menu
    Copy the full SHA
    77091e2 View commit details
    Browse the repository at this point in the history
  2. [Mobile] - Refactor gallery - cherry pick image edit native (#31826)

    * WIP-commit bring image changes from final state of original mobile PR
    
    This has unresolved / unmarked conflicts which will be resolve in
    subsequent commits. I am separating the commit to make the resolution
    process more transparent.
    
    * Remove duplicate / conflicting methods from performance refactor
    
    * Use context for imageCrop and isGrouped instead of isGallery
    
    * Remove non-existent inheritedAttributes attribute
    
    * Remove dead code from non-existent context attributes
    
    * Remove unused attributes prop from link settings
    mkevins authored May 20, 2021
    Configuration menu
    Copy the full SHA
    2c6e317 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2021

  1. Cherry-pick BlockListItem changes

    Note: Since render was changed to renderContent, we should return early
    from render too, when blockWidth is falsey.
    mkevins committed May 27, 2021
    Configuration menu
    Copy the full SHA
    3221e23 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7616231 View commit details
    Browse the repository at this point in the history
  3. Cherry-pick plumb blockProps through BlockListBlock

    I'm not sure yet whether it still makes sense to use blockProps in this
    way. I'm going to cherry-pick the commits by file, and sort out the need
    for this mechanism afterwards.
    mkevins committed May 27, 2021
    Configuration menu
    Copy the full SHA
    4d235fd View commit details
    Browse the repository at this point in the history
  4. Cherry-pick add GridItem

    Since this is duplicated from the original mobile gallery code (Tiles
    component), it might make sense to export it for re-use. Previously, it
    was only moved, but now that we will maintain both versions, it has
    become a duplicate implementation. I will defer this to a later commit.
    mkevins committed May 27, 2021
    Configuration menu
    Copy the full SHA
    df286d8 View commit details
    Browse the repository at this point in the history
  5. Cherry-pick BlockList

    Similar to blockProps mentioned earlier, gridProperties will be
    evaluated after cherry-picking the relevant changes, to see if there is
    another mechanism that may be more appropriate.
    mkevins committed May 27, 2021
    Configuration menu
    Copy the full SHA
    f5ff38d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0e777c6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    acfcb7f View commit details
    Browse the repository at this point in the history
  8. Use sass var for galleryAppender padding

    Note: This also re-adds fullWidth style, which is still being used in
    both v1 and v2 mobile implementations. If this is superceded by a recent
    refactor of the block width styles, it may be worth revisiting this and
    removing / changing the implementation.
    mkevins committed May 27, 2021
    Configuration menu
    Copy the full SHA
    30d20b1 View commit details
    Browse the repository at this point in the history
  9. Cherry-pick remaining gallery changes

    Note: as before, blockProps and gridProperties should be re-evaluated in
    subsequent commits, if necessary. E.g. `imageCrop` is already recieved
    via context, and `isGroup` may be sufficient, eliminating the need for
    `isGallery`.
    mkevins committed May 27, 2021
    Configuration menu
    Copy the full SHA
    8e89a84 View commit details
    Browse the repository at this point in the history
  10. Remove numColumns

    Going back over the older commits, it seems there were a two strategies
    used to render the gallery images as a grid. One used the numColumns
    (same as used in the Columns block), and the other using the Grid
    component. This commit cleans up the unused parts of the former
    approach.
    mkevins committed May 27, 2021
    Configuration menu
    Copy the full SHA
    2de17c3 View commit details
    Browse the repository at this point in the history
  11. Remove blockProps

    This is no longer necessary, since we are using context to pass
    gallery-level attributes to the image blocks' rendering.
    mkevins committed May 27, 2021
    Configuration menu
    Copy the full SHA
    931184a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e96cd3e View commit details
    Browse the repository at this point in the history
  13. Remove unused imageCrop

    mkevins committed May 27, 2021
    Configuration menu
    Copy the full SHA
    5c78270 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2021

  1. Gallery refactor - Infer version from existing content (#32270)

    * Give content precedence over flag in edit wrapper
    
    This modifies the logic in the gallery edit wrapper function to infer
    version information from existing content when the editor encounters
    content created from the new implementation and the flag is not set.
    mkevins authored May 30, 2021
    Configuration menu
    Copy the full SHA
    1a4345a View commit details
    Browse the repository at this point in the history

Commits on May 31, 2021

  1. Merge branch 'refactor/gallery-to-nested-image-blocks' into rnmobile/…

    …refactor/gallery-as-nested-image-blocks
    mkevins committed May 31, 2021
    Configuration menu
    Copy the full SHA
    3c2f144 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2021

  1. Merge branch 'trunk' into refactor/gallery-to-nested-image-blocks-ups…

    …tream
    
    Leaving conflict markers in so the resolutions can be evaluated in the
    subsequent commit.
    mkevins committed Jun 3, 2021
    Configuration menu
    Copy the full SHA
    e5420c6 View commit details
    Browse the repository at this point in the history
  2. Resolve merge conflicts

    This brings the gallery edit changes to the v1 directory, and merges the
    changes for the image block.
    mkevins committed Jun 3, 2021
    Configuration menu
    Copy the full SHA
    e183dcb View commit details
    Browse the repository at this point in the history
  3. Merge branch 'refactor/gallery-to-nested-image-blocks-upstream' into …

    …rnmobile/refactor/gallery-as-nested-image-blocks
    mkevins committed Jun 3, 2021
    Configuration menu
    Copy the full SHA
    46c8da7 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2021

  1. Use non-deprecated hook when possible

    This brings the same change from this PR:
    #31027 which may have missed
    the deprecated hook in the refactor PR, since it hadn't landed yet.
    mkevins authored and Glen Davies committed Jun 9, 2021
    Configuration menu
    Copy the full SHA
    b2031f2 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2021

  1. Merge branch 'refactor/gallery-to-nested-image-blocks' into rnmobile/…

    …refactor/gallery-as-nested-image-blocks
    mkevins committed Jun 15, 2021
    Configuration menu
    Copy the full SHA
    946aeab View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2021

  1. Merge branch 'trunk' into refactor/gallery-to-nested-image-blocks-ups…

    …tream
    
    Merging with conflict unresolved to make resolution reviewable in the
    following commit.
    mkevins committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    71b249c View commit details
    Browse the repository at this point in the history
  2. Resolve conflict in block editor default settings

    This was an update for a new jsdoc linting rule.
    mkevins committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    c72984f View commit details
    Browse the repository at this point in the history
  3. Merge branch 'refactor/gallery-to-nested-image-blocks-upstream' into …

    …rnmobile/refactor/gallery-as-nested-image-blocks
    mkevins committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    fb34126 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2021

  1. Add back blockWidth contentContainerStyles in block list

    I believe this was inadvertantly removed in some earlier commits, so
    this commit adds it back.
    mkevins committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    0527d39 View commit details
    Browse the repository at this point in the history
  2. Use boolean flags for variants in Platform module

    These flags allow for a slightly more flexible, performant, and terse
    way of branching by platform. For more details, see:
    #18058 (comment)
    mkevins committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    a8c1f0e View commit details
    Browse the repository at this point in the history
  3. Use boolean Platform flags

    mkevins committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    1c1dc9d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5f35c4c View commit details
    Browse the repository at this point in the history
  5. Add default for destructured context in image edit

    This is necessary for unit tests, because they instantiate the block's
    edit component directly, and so the default context is not provided.
    mkevins committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    57a01f7 View commit details
    Browse the repository at this point in the history
  6. Temporarily hard-code experimenal gallery refactor flag to true

    This will be reverted once the block settings are fetched from the REST
    API. This is enabled for now for testing purposes.
    mkevins committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    0052b11 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0d5fb18 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    03d730b View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2021

  1. Merge branch 'trunk' into refactor/gallery-to-nested-image-blocks-ups…

    …tream
    
    Merging with conflict unresolved to make resolution reviewable in the
    following commit.
    mkevins committed Jul 8, 2021
    Configuration menu
    Copy the full SHA
    7da0c1b View commit details
    Browse the repository at this point in the history
  2. Resolve conflict in image.js

    The conflict was from #33095
    mkevins committed Jul 8, 2021
    Configuration menu
    Copy the full SHA
    797cb28 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'refactor/gallery-to-nested-image-blocks-upstream' into …

    …rnmobile/refactor/gallery-as-nested-image-blocks
    mkevins committed Jul 8, 2021
    Configuration menu
    Copy the full SHA
    93fd471 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b199e87 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2021

  1. Configuration menu
    Copy the full SHA
    7d0e8ed View commit details
    Browse the repository at this point in the history
  2. Lint Fix

    chipsnyder committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    d5a2890 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2021

  1. Minor changes from code review:

    * Reward experiments description
    * Add documentation about new media placeholder handleUpload flag
    * Add additional explanation of v1-6 deprecations
    * Rename the edit wrapper components to make useage clearer
    * Temporarily remove tranform from v1 gallery to v2 gallery
    Glen Davies committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    fad851a View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2021

  1. Improve naming of save and deprecated save methods

    Glen Davies committed Jul 19, 2021
    Configuration menu
    Copy the full SHA
    a83b106 View commit details
    Browse the repository at this point in the history
  2. Rename __experimentalGalleryRefactor flag to __unstableGalleryWithInn…

    …erBlocks
    Glen Davies committed Jul 19, 2021
    Configuration menu
    Copy the full SHA
    a424509 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2021

  1. Remove the isGrouped context as no longer needed.

    Glen Davies committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    c69f2d5 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2021

  1. Rename __unstableGalleryWithInnerBlocks to _unstableGalleryWithImageB…

    …locks
    Glen Davies committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    887b6b4 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2021

  1. Gallery block refactor: remove the imageCount attribute (#33677)

    * Remove the imageCount attribute and use CSS instead to set default columns
    
    Co-authored-by: Glen Davies <glen.davies@a8c.com>
    Co-authored-by: Aaron Robertshaw <60436221+aaronrobertshaw@users.noreply.github.com>
    3 people authored Jul 26, 2021
    Configuration menu
    Copy the full SHA
    c4eb362 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2021

  1. Merge branch 'trunk' of github.com:WordPress/gutenberg into refactor/…

    …gallery-to-nested-image-blocks
    
    # Conflicts:
    #	packages/block-library/src/gallery/style.scss
    Glen Davies committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    55e8bf6 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2021

  1. Fix broken scss

    Glen Davies committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    8b1bd7d View commit details
    Browse the repository at this point in the history
  2. Fix php linting error

    Glen Davies committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    0b9d8b2 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2021

  1. Merge branch 'refactor/gallery-to-nested-image-blocks' into rnmobile/…

    …refactor/gallery-as-nested-image-blocks
    Antonis Lilis committed Aug 2, 2021
    Configuration menu
    Copy the full SHA
    9ca69ea View commit details
    Browse the repository at this point in the history
  2. Changes new gallery flag name

    Antonis Lilis committed Aug 2, 2021
    Configuration menu
    Copy the full SHA
    475f976 View commit details
    Browse the repository at this point in the history
  3. Updates mobile warning

    Antonis Lilis committed Aug 2, 2021
    Configuration menu
    Copy the full SHA
    5387ca0 View commit details
    Browse the repository at this point in the history
  4. Removes the imageCount attribute

    Antonis Lilis committed Aug 2, 2021
    Configuration menu
    Copy the full SHA
    ec158f7 View commit details
    Browse the repository at this point in the history
  5. Remove the isGrouped context

    Antonis Lilis committed Aug 2, 2021
    Configuration menu
    Copy the full SHA
    53ba376 View commit details
    Browse the repository at this point in the history
  6. Fixes lint issue

    Antonis Lilis committed Aug 2, 2021
    Configuration menu
    Copy the full SHA
    fe40795 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'rnmobile/refactor/gallery-as-nested-image-blocks' into …

    …rnmobile/refactor/gallery-as-nested-image-blocks-editor-settings_v2
    chipsnyder committed Aug 2, 2021
    Configuration menu
    Copy the full SHA
    b3460a6 View commit details
    Browse the repository at this point in the history
  8. [Mobile] Renames Gallery v2 Flag to __unstableGalleryWithImageBlocks (#…

    …33816)
    
    * Renames __experimentalGalleryRefactor to __unstableGalleryWithImageBlocks
    
    * Fixes lint formatting issue
    
    * Fixes lint issue
    Antonis Lilis authored Aug 2, 2021
    Configuration menu
    Copy the full SHA
    7e48195 View commit details
    Browse the repository at this point in the history
  9. Merge branch 'trunk' into rnmobile/refactor/gallery-as-nested-image-b…

    …locks-editor-settings_v2
    chipsnyder committed Aug 2, 2021
    Configuration menu
    Copy the full SHA
    0694339 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2021

  1. Merge mobile refactor of gallery to nested image blocks into desktop …

    …refactor PR(#31306)
    
    * Move native v1 Gallery components to v1 directory
    * Use v1 defaultColumnsNumber in native v1 gallery
    * Make onFocus optional in MediaPlaceholder
    * Add useInnerBlocksProps hook
    * Enable __experimentalGalleryRefactor flag under __DEV__
    * Add numColumns to block-list flat list
    * Fix spacing
    * Adjust styles to avoid appender overlap
    * Add gallery caption
    * Fix lint
    Some of these "fixes" are simply disabling lint for the offending lines.
    These currently unused variables may be used in a later PR, so I'm
    leaving them in, for now, to help simplify reconciling the changes from
    the former refactor PR.
    * Fix sass lint
    * [Mobile] - Refactor gallery - cherry pick image edit native (#31826)
    * Remove duplicate / conflicting methods from performance refactor
    * Use context for imageCrop and isGrouped instead of isGallery
    * Remove non-existent inheritedAttributes attribute
    * Remove dead code from non-existent context attributes
    * Remove unused attributes prop from link settings
    * Cherry-pick BlockListItem changes
    Note: Since render was changed to renderContent, we should return early
    from render too, when blockWidth is falsey.
    * Return early from render instead of renderContent
    * Cherry-pick plumb blockProps through BlockListBlock
    I'm not sure yet whether it still makes sense to use blockProps in this
    way. I'm going to cherry-pick the commits by file, and sort out the need
    for this mechanism afterwards.
    * Cherry-pick add GridItem
    Since this is duplicated from the original mobile gallery code (Tiles
    component), it might make sense to export it for re-use. Previously, it
    was only moved, but now that we will maintain both versions, it has
    become a duplicate implementation. I will defer this to a later commit.
    * Cherry-pick BlockList
    Similar to blockProps mentioned earlier, gridProperties will be
    evaluated after cherry-picking the relevant changes, to see if there is
    another mechanism that may be more appropriate.
    * Cherry-pick StylePreview key change
    * Cherry-pick blockProps and gridProperties in InnerBlocks
    * Use sass var for galleryAppender padding
    Note: This also re-adds fullWidth style, which is still being used in
    both v1 and v2 mobile implementations. If this is superceded by a recent
    refactor of the block width styles, it may be worth revisiting this and
    removing / changing the implementation.
    * Cherry-pick remaining gallery changes
    Note: as before, blockProps and gridProperties should be re-evaluated in
    subsequent commits, if necessary. E.g. `imageCrop` is already recieved
    via context, and `isGroup` may be sufficient, eliminating the need for
    `isGallery`.
    * Remove numColumns
    Going back over the older commits, it seems there were a two strategies
    used to render the gallery images as a grid. One used the numColumns
    (same as used in the Columns block), and the other using the Grid
    component. This commit cleans up the unused parts of the former
    approach.
    * Remove blockProps
    This is no longer necessary, since we are using context to pass
    gallery-level attributes to the image blocks' rendering.
    * Fix gallery block.json (delete extra comma)
    * Remove unused imageCrop
    * Add back blockWidth contentContainerStyles in block list
    * Use boolean flags for variants in Platform module
    These flags allow for a slightly more flexible, performant, and terse
    way of branching by platform. For more details, see:
    #18058 (comment)
    * Use boolean Platform flags
    * Only render imageSizeOptions loading spinner on web
    * Add default for destructured context in image edit
    This is necessary for unit tests, because they instantiate the block's
    edit component directly, and so the default context is not provided.
    * Temporarily hard-code experimenal gallery refactor flag to true
    This will be reverted once the block settings are fetched from the REST
    API. This is enabled for now for testing purposes.
    * Update experiments page with warning about the mobile app version
    * Changes new gallery flag name
    * Updates mobile warning
    * Removes the imageCount attribute
    * Remove the isGrouped context
    * Fixes lint issue
    
    Co-authored-by: Antonis Lilis <antonis.lilis@automattic.com>
    mkevins and Antonis Lilis authored Aug 3, 2021
    Configuration menu
    Copy the full SHA
    6a58538 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'trunk' of github.com:WordPress/gutenberg into refactor/…

    …gallery-to-nested-image-blocks
    Glen Davies committed Aug 3, 2021
    Configuration menu
    Copy the full SHA
    8529284 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2021

  1. Merge branch 'refactor/gallery-to-nested-image-blocks' into rnmobile/…

    …refactor/gallery-as-nested-image-blocks-editor-settings_v2
    chipsnyder committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    778a848 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2021

  1. Merge branch 'trunk' into rnmobile/refactor/gallery-as-nested-image-b…

    …locks-editor-settings_v2
    Antonis Lilis committed Aug 30, 2021
    Configuration menu
    Copy the full SHA
    2e2e38b View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2021

  1. Merge branch 'trunk' into rnmobile/refactor/gallery-as-nested-image-b…

    …locks-editor-settings_v2
    Antonis Lilis committed Sep 1, 2021
    Configuration menu
    Copy the full SHA
    b5fba10 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'trunk' into rnmobile/refactor/gallery-as-nested-image-b…

    …locks-editor-settings_v2
    Antonis Lilis committed Sep 1, 2021
    Configuration menu
    Copy the full SHA
    3716881 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2021

  1. [Mobile] Android: Pass the Gallery v2 Flag over from the editor (#33544)

    Pass the Gallery v2 Flag over from the editor on Android
    Antonis Lilis authored Sep 2, 2021
    Configuration menu
    Copy the full SHA
    a21a37e View commit details
    Browse the repository at this point in the history
  2. Merge branch 'trunk' into rnmobile/refactor/gallery-as-nested-image-b…

    …locks-editor-settings_v2
    Antonis Lilis committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    c052389 View commit details
    Browse the repository at this point in the history