-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Latest Posts block: remove columns-x
class for list view
#4017
Closed
Closed
Changes from 1 commit
Commits
Show all changes
134 commits
Select commit
Hold shift + click to select a range
b5d73e5
Add editor heading for screenreaders
e682f1e
Make post title contextual and translatable
98e560a
Remove NVDA hack.
683ecaf
Try block advanced settings dynamic menu item.
afercia 12998a3
Fix blocks when useOnce is true
Rahmon fa71b71
Add speak messages.
afercia a329322
Add full coverage for REQUEST_POST_UPDATE_SUCCESS effect.
BE-Webdesign e6796f9
Updating effects to make use of matchers instead of explicit matching.
BE-Webdesign 2a3e4a0
Block API: Refactor supportHTML as supports property
aduth a7dc698
Show column class only for grid
Soean 2ec735c
Remove columns class for lists also in server-side rendering
Soean d82808e
Changes buttonProps to html attributes
Soean 8a511f5
Fix when block hasn't been used yet in the post
Rahmon 861c054
Try fainter disabled state
fb96084
Tests: Refactor tests for REQUEST_POST_UPDATE_SUCCESS effects
gziolo 7f346ea
Merge pull request #3820 from WordPress/add/test/editor/effects/reque…
gziolo 0f35fc6
Extensibility: Defer applying filters for component until it is about…
gziolo 71a218f
Merge pull request #4033 from WordPress/try/fainter-disabled-state
5d81a0a
Merge pull request #3988 from Rahmon/fix/3968
aduth 6fba36d
Components: Add withState higher-order component
aduth 925acf9
Blocks: Port HTML block to use withState
aduth 7cb404d
Merge pull request #4016 from WordPress/add/with-state
aduth bbf06e2
Merge pull request #4014 from WordPress/update/supports-html
aduth 7fdf923
Minor refactoring: change from "find" to "some" function (#4052)
Rahmon 3fc4d58
Merge pull request #3982 from WordPress/try/block-settings-menu-item-…
afercia 7c917c9
Meta Boxes: Show the "advanced" metaboxes location
youknowriad 5c33f6f
Framework: Introduce the data module (#3832)
youknowriad f718d8e
Blocks: Move logic for generating class name to BlockEdit component
gziolo 1342736
Blocks: Add test for generated class name with BlockEdit
gziolo 6e6356a
Editor: Move generatedClassName logic out of BlockListBlock
gziolo f2bcebb
Blocks: Make sure Reusable Blocks get class name apllied properly
gziolo 3650811
Editor: Wrap invalid block preview with key
gziolo 227a93f
Merge pull request #4009 from WordPress/update/generated-class-name-e…
gziolo 1b35aac
Merge pull request #4029 from WordPress/update/block-audio-button-attr
Soean d9e1777
Implemented isInlineForTag mechanism
jorgefilipecosta ba6eb23
Added tag groups for headings and lists to the inlineWhitelistTagGrou…
jorgefilipecosta f181a08
Added test cases to isInlineContent to take into account the new isIn…
jorgefilipecosta 6a287a4
Extensibility: Respect the 'enter_title_here' hook
youknowriad 1effc72
Update Jest to v22.0.1
ntwb fcf70aa
Update Jest snapshots
ntwb af0773f
Update babel-jest to v22.0.1
ntwb ec3d7d5
Update eslint-plugin-jest to v21.5.0
ntwb d8db53a
Merge pull request #4073 from WordPress/update/jest
gziolo c43b3fa
Added querystringify npm dependency.
jorgefilipecosta c4c8e3d
Replaced getLatestPosts usage (wp.api.collections.Posts wrapper) with…
jorgefilipecosta e133c87
Recreate `package-lock.json` using Node.js 8.9.3 & npm 5.6.0 (#4075)
ntwb 0257138
Move selectors and actions files to the store folder
youknowriad 630fbde
Moved Categories Block edit to an external file.
jorgefilipecosta c1f7b19
Replaced getCategories usage (wp.api.collections.Categories wrapper) …
jorgefilipecosta 64ac510
Add dynamic block documentation (#4067)
atimmer 8f30966
3 column inserter
karmatosed 1df0d52
Try improving mobile controls
ed74c1e
Blocks: Add the missing alignments classNames to the Cover Image Bloc…
youknowriad fb72e7f
Improve paragraph block description.
0645702
Rename "Classic Text" to "Classic".
34a13d3
Data Module: Restrict the state access to the module registering the …
youknowriad 6a8b8f4
Widens the inserter
karmatosed 5981cca
Left aligns the title
karmatosed 14a046a
Move title to center again
karmatosed b0c9e6a
Remove references to obsolete class.
6b51d23
Block Mobile Toolbar: Extract as a separate component
youknowriad 7c1cfae
Merge branch 'try/improved-mobile-tools' of github.com:WordPress/gute…
youknowriad 6378974
Factory: Fix block creation with falsey default
aduth 76ddebf
Merge pull request #4103 from WordPress/update/improve-paragraph-desc…
jasmussen c89e226
Merge pull request #4101 from WordPress/try/improved-mobile-tools
jasmussen e8ff9ec
Little polish to the top menu and inserter.
353ee9c
Make mobile scroll "normally".
d8a58ac
Fix regression with "fixed to block" toolbar
76f1527
Prevent Safari from zooming in when opening inserter
9721009
Define setAttributes before using it.
ryo-utsunomiya e5bafaa
Removed duplicate of buildTermsTree in HierarchicalTermSelector. (#4111)
jorgefilipecosta a510f3c
Merge pull request #4104 from WordPress/update/rename-classic-text
5b85f85
Merge pull request #4095 from WordPress/try/three-column-inserter
db193b6
Fix the radio control checked attribute
stevehenty 293d90e
Polish permalink toolbar on mobile
af913fa
Merge pull request #4081 from WordPress/try/mobile-polish
jasmussen 9c6143b
Use Post Type capabilities instead of All capabilities.
imath d980bdb
Added drag&drop upload to cover image. (#4061)
jorgefilipecosta 5aabd70
Accessibility: Fix the accessibility of the menu items in the ellipsi…
youknowriad 2bc1329
Refactor Reusable Blocks controller to use WP_REST_Posts_Controller
noisysocks ae17538
Add aria-label to code and HTML block textarea elements. #2027
tfrommen 3220ce8
Update aria-label, and remove (superfluous) placeholder. #2027
tfrommen 8cc8cbb
Code Block: Restore the placeholder
youknowriad c97ebf8
Allow for multi line text in button block
jahvi b614f03
Remove unnecessary line.
5c92e3d
Components: Allow explicitely overriding the ColorPalette colors per …
youknowriad b9d8f85
Heading <-> Cover Image transforms
mcsf 99f5f1d
Merge pull request #4129 from WordPress/add/heading-cover-image-trans…
mcsf 0c4457c
Remove unused variable from the_gutenberg_project function
gziolo f023754
Merge pull request #3937 from WordPress/try/edit-heading-round-2
gziolo 2ee8fe4
Gallery Block: Drag and drop multiple images create a gallery block
youknowriad e109ff7
DropZone: Tweak its styling
youknowriad 6f25976
Chrome: Replace the publish dropdown by a sidebar panel
youknowriad 98414fe
Chrome: Allow multiple sidebars
youknowriad 95457a6
Chrome: Slide in animation for the publish sidebar
youknowriad 34d088d
Chrome: fix hasOpenSidebar selector
youknowriad 21e5b26
Chrome: Fix animation speed of the publish sidebar
youknowriad 2f27d54
Add tests for Editable.adaptFormatter()
BE-Webdesign 204c6b8
Merge pull request #3894 from WordPress/add/test/editable/adapt-forma…
BE-Webdesign b393dbe
Add tests for Editable.getSettings()
BE-Webdesign 06317d7
Merge pull request #3892 from WordPress/add/test/blocks/editable-2
BE-Webdesign 22e5bbf
Add tests for ColorPalette component.
BE-Webdesign a99733d
Fix typo in comment. (#4154)
getsource 79a74be
Merge pull request #3887 from WordPress/add/test/blocks/color-palette
BE-Webdesign e624d34
Try: Add toggle editor mode shortcut (#3755)
vladanost 6a9ea01
Chrome: Hide the Excerpt Panel if the CPT doesn't support it
youknowriad ecee09e
Handle copy for single block selection
ellatrix c3be1b6
Meta Boxes: When the metaboxes are saving ensure the overlay covers t…
youknowriad 0aaffae
Add 'No saved blocks' message to Inserter
noisysocks ebf841f
Taxonomiees: Improve Tags/Categories response size by limiting the re…
youknowriad daebcc3
Add text to meetup links
laras126 c5a8db5
Organization and intitial population of articles page
laras126 34c81b4
Latest posts: Only request required category fields. (#4179)
jorgefilipecosta 9646747
Chrome: Hide The Taxonomies Panel if no taxonomy is available for the…
youknowriad 45e9094
Blocks: Show the insertion point when the inserter is opened
youknowriad 825eef6
Implemented editor-left&editor-right mixins.
jorgefilipecosta b24170a
Made notices always visible; Added sticky behaviour in notices for wi…
jorgefilipecosta e63deab
Used editor-left mixin for .editor-header styles.
jorgefilipecosta e3e849f
Refactor `PostSchedule` to make calendar/clock available as component…
travislopes 40adaff
Merge pull request #4182 from WordPress/add/no-saved-blocks-message
noisysocks 1ff0f5f
Merge pull request #4137 from WordPress/add/reusable-block-deletion-t…
noisysocks 553ab2c
Blocks: Avoir reusable blocks styling
youknowriad 3a3c3d5
UrlInput: Decode Post Title special chars
youknowriad 003d533
Block API: Adding a description property to the block API
youknowriad b407ccc
Check if mac when displaying editor mode toggle shortcut (#4194)
vladanost 67b12ea
Fix category in implementation of random image block
Rahmon 5838037
Chrome: Hide the Featured Image Panel if the CPT doesn't support it
youknowriad beaa749
Chrome: Hide the discussion panel if no support for comments or track…
youknowriad ddfef35
Chrome: Hide the PostAuthor selector if the CPT doesn't support it
youknowriad 2558f6e
Chrome: User the PostTypeSupportCheck to check Post Formats support
youknowriad c22bc9d
Chrome: Hide revisions if the CPT doesn't support it
youknowriad edf17df
Mobile: Enhance the redux mobile enhancer to use the MediaQueries API
youknowriad 0a7d55a
Update node-sass to v4.7.2 (#4200)
ntwb d9dc680
Rebase
Soean File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on the surrounding code, it looks like this should check to make sure the
layout
key exists before checking its value.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can remove all isset() from this file, because the attributes were moved to the server in #2529
cc: @aduth
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might still want the
'grid' === $attributes['layout']
check though since based on the behavior in the editor, it seems that columns are only relevant for the grid layout. Edit: Ah, that's the whole point of the PR I see 😅