-
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 #9903
Feature: add support for a Tiled Gallery layout (Square Tiles) as a Gutenberg block #9903
Commits on Jul 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 30f366a - Browse repository at this point
Copy the full SHA 30f366aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b948f3 - Browse repository at this point
Copy the full SHA 0b948f3View 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 72d4f6e - Browse repository at this point
Copy the full SHA 72d4f6eView 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 34b7f50 - Browse repository at this point
Copy the full SHA 34b7f50View 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 35e2612 - Browse repository at this point
Copy the full SHA 35e2612View commit details -
Configuration menu - View commit details
-
Copy full SHA for af8991d - Browse repository at this point
Copy the full SHA af8991dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6816e28 - Browse repository at this point
Copy the full SHA 6816e28View 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 6cfe3cb - Browse repository at this point
Copy the full SHA 6cfe3cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 174271c - Browse repository at this point
Copy the full SHA 174271cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2217959 - Browse repository at this point
Copy the full SHA 2217959View 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 cdc0bf9 - Browse repository at this point
Copy the full SHA cdc0bf9View 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 3eaea6f - Browse repository at this point
Copy the full SHA 3eaea6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bdd760 - Browse repository at this point
Copy the full SHA 0bdd760View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01979a4 - Browse repository at this point
Copy the full SHA 01979a4View 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 c705d05 - Browse repository at this point
Copy the full SHA c705d05View commit details -
Configuration menu - View commit details
-
Copy full SHA for f468a92 - Browse repository at this point
Copy the full SHA f468a92View 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 18e3301 - Browse repository at this point
Copy the full SHA 18e3301View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82b840a - Browse repository at this point
Copy the full SHA 82b840aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6589f07 - Browse repository at this point
Copy the full SHA 6589f07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81773dc - Browse repository at this point
Copy the full SHA 81773dcView 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 f5466c7 - Browse repository at this point
Copy the full SHA f5466c7View 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 4ff864f - Browse repository at this point
Copy the full SHA 4ff864fView 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 505c4c9 - Browse repository at this point
Copy the full SHA 505c4c9View 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 97b9e68 - Browse repository at this point
Copy the full SHA 97b9e68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6126491 - Browse repository at this point
Copy the full SHA 6126491View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1e0d02 - Browse repository at this point
Copy the full SHA a1e0d02View commit details -
Configuration menu - View commit details
-
Copy full SHA for cabb462 - Browse repository at this point
Copy the full SHA cabb462View 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 b525bc4 - Browse repository at this point
Copy the full SHA b525bc4View 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 31430d1 - Browse repository at this point
Copy the full SHA 31430d1View 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 25bd5fb - Browse repository at this point
Copy the full SHA 25bd5fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 250b3e4 - Browse repository at this point
Copy the full SHA 250b3e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb13e61 - Browse repository at this point
Copy the full SHA fb13e61View 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 13c974f - Browse repository at this point
Copy the full SHA 13c974fView 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 0ca6533 - Browse repository at this point
Copy the full SHA 0ca6533View 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 7259673 - Browse repository at this point
Copy the full SHA 7259673View 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 f65f730 - Browse repository at this point
Copy the full SHA f65f730View 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 c77d9a2 - Browse repository at this point
Copy the full SHA c77d9a2View 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 f3d33bc - Browse repository at this point
Copy the full SHA f3d33bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ccc306 - Browse repository at this point
Copy the full SHA 9ccc306View 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 223ff77 - Browse repository at this point
Copy the full SHA 223ff77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 766105b - Browse repository at this point
Copy the full SHA 766105bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 843bcfd - Browse repository at this point
Copy the full SHA 843bcfdView 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 309baa5 - Browse repository at this point
Copy the full SHA 309baa5View 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 f0efb90 - Browse repository at this point
Copy the full SHA f0efb90View commit details