-
Notifications
You must be signed in to change notification settings - Fork 798
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
Feature: add support for a Tiled Gallery layout (Square Tiles) as a Gutenberg block #9434
Feature: add support for a Tiled Gallery layout (Square Tiles) as a Gutenberg block #9434
Commits on May 12, 2018
-
prototype separate jetpack tiled gallery block, render in php (placeh…
…older), transform to/from core/gallery
Configuration menu - View commit details
-
Copy full SHA for a63a8d2 - Browse repository at this point
Copy the full SHA a63a8d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba7c1a0 - Browse repository at this point
Copy the full SHA ba7c1a0View commit details -
remove php render code - focus on js render (more "Gutenbergy", and u…
…nclear on how to store attributes/state so they are available to PHP render)
Configuration menu - View commit details
-
Copy full SHA for 7196e45 - Browse repository at this point
Copy the full SHA 7196e45View commit details -
(work in progress - fails gutenberg validation?) render gallery block…
… front end, so image state persists (and renders)
Configuration menu - View commit details
-
Copy full SHA for b5a8269 - Browse repository at this point
Copy the full SHA b5a8269View commit details -
fix jetpack/gallery attribute definition; attributes were disappearin…
…g on editor reload due to assuming wrapper element class name based on core/gallery block (was causing validation error) – fixed by simplifying selector
Configuration menu - View commit details
-
Copy full SHA for b10bb38 - Browse repository at this point
Copy the full SHA b10bb38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1de72b6 - Browse repository at this point
Copy the full SHA 1de72b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0922e8 - Browse repository at this point
Copy the full SHA d0922e8View commit details -
tweak styling so gallery layout is consistent across editor/frontend:
- reset line-height - zero out figure margin
Configuration menu - View commit details
-
Copy full SHA for 5654332 - Browse repository at this point
Copy the full SHA 5654332View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9604d77 - Browse repository at this point
Copy the full SHA 9604d77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45eb8e6 - Browse repository at this point
Copy the full SHA 45eb8e6View commit details -
basic gallery item item component - rough markup (port php tiled gall…
…ery to js work-in-progress)
Configuration menu - View commit details
-
Copy full SHA for fd25887 - Browse repository at this point
Copy the full SHA fd25887View commit details -
update classname in attribute spec to ensure block attributes are pre…
…served (fix no data/validation error)
Configuration menu - View commit details
-
Copy full SHA for 584a7b0 - Browse repository at this point
Copy the full SHA 584a7b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 469f759 - Browse repository at this point
Copy the full SHA 469f759View commit details -
Configuration menu - View commit details
-
Copy full SHA for eff362c - Browse repository at this point
Copy the full SHA eff362cView commit details -
set width & height attributes and render them in front-end markup (so…
… we can use them for smart tiling layouts implemented in js)
Configuration menu - View commit details
-
Copy full SHA for dbfd125 - Browse repository at this point
Copy the full SHA dbfd125View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1003eb6 - Browse repository at this point
Copy the full SHA 1003eb6View commit details -
enqueue tiled gallery js (and css) by default, so we can use it for o…
…ur block-based tiled galleries (short term hack)
Configuration menu - View commit details
-
Copy full SHA for 4c1aabe - Browse repository at this point
Copy the full SHA 4c1aabeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6be8207 - Browse repository at this point
Copy the full SHA 6be8207View commit details -
Configuration menu - View commit details
-
Copy full SHA for fbdc8bb - Browse repository at this point
Copy the full SHA fbdc8bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 999c50b - Browse repository at this point
Copy the full SHA 999c50bView commit details -
remove jetpack-tiled-gallery class to avoid clashes with column-count…
… fake masonry prototype styles
Configuration menu - View commit details
-
Copy full SHA for 989caa2 - Browse repository at this point
Copy the full SHA 989caa2View commit details -
square layout roughly working – render calculated layout width as sty…
…le attribute (big cells are not working right yet)
Configuration menu - View commit details
-
Copy full SHA for 93ed133 - Browse repository at this point
Copy the full SHA 93ed133View commit details -
hard code content width to 520 for now (is appropriate for my current…
… setup) so initial layout is roughly correct
Configuration menu - View commit details
-
Copy full SHA for 74c63de - Browse repository at this point
Copy the full SHA 74c63deView commit details -
implement basic square-tiles layout - render appropriate classes and …
…size-related attributes expected by tiled-gallery.js resize script
Configuration menu - View commit details
-
Copy full SHA for 8444d0b - Browse repository at this point
Copy the full SHA 8444d0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for bddb327 - Browse repository at this point
Copy the full SHA bddb327View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0c78d4 - Browse repository at this point
Copy the full SHA d0c78d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b99d49 - Browse repository at this point
Copy the full SHA 1b99d49View commit details -
WYSIWYG editor preview for jetpack tiled galleries in Gutenberg editor
- use full save component rather than rendering individual image tiles - note this uses the existing jQuery setup/resize handling script and css
Configuration menu - View commit details
-
Copy full SHA for 079650e - Browse repository at this point
Copy the full SHA 079650eView commit details -
remove tiled gallery block file upload button (until we find a nice w…
…ay to integrate it as a proto-image tiles)
Configuration menu - View commit details
-
Copy full SHA for 323dcdd - Browse repository at this point
Copy the full SHA 323dcddView commit details -
enqueue existing/legacy tiled gallery scripts & styles for in `enqueu…
…e_block_assets` for use in gutenberg editor and front end (fix hack enqueue in constructor)
Configuration menu - View commit details
-
Copy full SHA for 495e705 - Browse repository at this point
Copy the full SHA 495e705View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5fd06d - Browse repository at this point
Copy the full SHA e5fd06dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 559ee99 - Browse repository at this point
Copy the full SHA 559ee99View commit details -
Gutenberg Tiled Gallery: render captions if they are set for the imag…
…e (media item) (using exisiting tiled galleries css, rather than gutenberg style)
Configuration menu - View commit details
-
Copy full SHA for 54f58f9 - Browse repository at this point
Copy the full SHA 54f58f9View commit details -
Gutenberg Tiled Gallery: implement "link to.." author option ("..atta…
…chment page" not working yet)
Configuration menu - View commit details
-
Copy full SHA for 92f34fa - Browse repository at this point
Copy the full SHA 92f34faView commit details -
Gutenberg Tiled Gallery: fix "link to..attachment page" -
link
prop……erty was not persisted to attributes
Configuration menu - View commit details
-
Copy full SHA for c0775b0 - Browse repository at this point
Copy the full SHA c0775b0View commit details -
Gutenberg Tiled Gallery: tidy up edit component, remove methods that …
…we don't use (that we stole from core/gallery..)
Configuration menu - View commit details
-
Copy full SHA for 0cf2a2e - Browse repository at this point
Copy the full SHA 0cf2a2eView commit details -
Gutenberg Tiled Gallery: disable linkTo when editing, to avoid risk o…
…f user navigating out of editor when clicking the gallery
Configuration menu - View commit details
-
Copy full SHA for 806be4e - Browse repository at this point
Copy the full SHA 806be4eView commit details -
Gutenberg Tiled Gallery: remove style.css (unused, left over from col…
…umn-count layout experiment)
Configuration menu - View commit details
-
Copy full SHA for b043dee - Browse repository at this point
Copy the full SHA b043deeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c53cce - Browse repository at this point
Copy the full SHA 7c53cceView commit details -
Gutenberg Tiled Gallery: switch out
album
icon forformat-gallery
…… (for now - ideally we'd have a jetpack-branded icon or a "tiled" icon)
Configuration menu - View commit details
-
Copy full SHA for faa68c2 - Browse repository at this point
Copy the full SHA faa68c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a86f834 - Browse repository at this point
Copy the full SHA a86f834View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ea0fab - Browse repository at this point
Copy the full SHA 8ea0fabView commit details -
Gutenberg Tiled Gallery: avoid fragile relative paths when enqueing g…
…utenberg script asset (using JETPACK__PLUGIN_FILE instead of current-file-relative __FILE__)
Configuration menu - View commit details
-
Copy full SHA for 1dd0fb7 - Browse repository at this point
Copy the full SHA 1dd0fb7View commit details -
Gutenberg Tiled Gallery: use "Jetpack Gallery" in empty-gallery place…
…holder component for consistency and to disambiguate from core/gallery
Configuration menu - View commit details
-
Copy full SHA for e8dd3eb - Browse repository at this point
Copy the full SHA e8dd3ebView commit details