{"push_id":2654521204,"size":118,"distinct_size":67,"ref":"refs/heads/add/mime-type-check","head":"889c592db302091c6c70da1fab58e88bfaf122bd","before":"fcff0f0f1f5a19500f7ed13380678dc2982eabb5","commits":[{"sha":"bdcbf714345045b5c96ef2d61ee986a1cf26fe0f","author":{"name":"Robert Anderson","email":"12e9293ec6b30c7fa8a0926af42807e929c1684f@noisysocks.com"},"message":"Add support for Child Blocks (#6753)\n\nBlock registration API changes:\r\n\r\n- Introduces `parent` which lets one specify which block types a block\r\n  can be nested into.\r\n\r\nSelector changes:\r\n\r\n- Adds `canInsertBlockType` which is the source of truth for whether a\r\n  block can be inserted or nested.\r\n- Removes the `allowedBlockTypes` argument from `getInserterItems`. This\r\n  can be determined from state, now.\r\n- Items returned by `getInserterItems` will include new `utility` and\r\n  `frecency` attributes. `utility` indicates how useful we think inserting\r\n  the block will be. This lets us show contextually useful blocks at the\r\n  top of the Suggested tab.\r\n- Deprecates `getSupportedBlockTypes`. `getInserterItems` will remove\r\n  any blocks that are not supported. Alternatively, `canInsertBlockType`\r\n  can be called directly.\r\n- Deprecates `getFrecentInserterItems`. Instead, call `getInserterItems`\r\n  and filter/sort by `frecency`.\r\n\r\nInserter changes:\r\n\r\n- Both `inserter` and `inserter-with-shortcuts` have been changed to use\r\n  `getInserterItems` and its new functionality.","distinct":false,"url":"https://api.github.com/repos/mirka/gutenberg/commits/bdcbf714345045b5c96ef2d61ee986a1cf26fe0f"},{"sha":"5c8c2748d12c1b2f944db5c1e5d8bf8ab23f149c","author":{"name":"Robert Anderson","email":"12e9293ec6b30c7fa8a0926af42807e929c1684f@noisysocks.com"},"message":"Attempt to fix some intermittent E2E test failures (#6971)\n\n* Fix managing-links E2E test\r\n\r\n* Fix multi-block-selection E2E test","distinct":false,"url":"https://api.github.com/repos/mirka/gutenberg/commits/5c8c2748d12c1b2f944db5c1e5d8bf8ab23f149c"},{"sha":"a721b57ae4b17430cedd4101e3aae3db35cb275d","author":{"name":"André Philip Kallehauge","email":"54e9aca27f8487d90cbf68042e583ffebde748c3@gmail.com"},"message":"Correct Available template array merge (#6955)","distinct":false,"url":"https://api.github.com/repos/mirka/gutenberg/commits/a721b57ae4b17430cedd4101e3aae3db35cb275d"},{"sha":"931181f96b093b92a97da34a82150cf2074acbbb","author":{"name":"Grzegorz (Greg) Ziółkowski","email":"aaa2f44ddf2294bcd1da06a46e763abd1f310183@gziolo.pl"},"message":"Build: Skip test files when generating build folders for packages (#6972)","distinct":false,"url":"https://api.github.com/repos/mirka/gutenberg/commits/931181f96b093b92a97da34a82150cf2074acbbb"},{"sha":"e70ca4320b1b090241bad7762dd05e6b4c32d4e8","author":{"name":"Joen Asmussen","email":"387d0ff94125b9a143f1574a6d2db2bcc3b26c10@automattic.com"},"message":"Make classic toolbar sticky (#6976)\n\nThe classic block's toolbar does not stick when you scroll. This PR fixes that.","distinct":false,"url":"https://api.github.com/repos/mirka/gutenberg/commits/e70ca4320b1b090241bad7762dd05e6b4c32d4e8"},{"sha":"5220c70d52e7c72588c45dc3b683f1d52620718f","author":{"name":"Joen Asmussen","email":"387d0ff94125b9a143f1574a6d2db2bcc3b26c10@automattic.com"},"message":"Fix regression with sticky toolbar border (#6980)\n\nThe merge of a more background color friendly UI introduced a regression where the bottom border of the toolbar was gone, to avoid stacking the transparent opacities.\r\n\r\nThis PR reintroduces the solid color, and the bottom border. It's still friendly to colored backgrounds.","distinct":false,"url":"https://api.github.com/repos/mirka/gutenberg/commits/5220c70d52e7c72588c45dc3b683f1d52620718f"},{"sha":"bfafd1b6992e89cde8b71717043c1ec8c5a27e0d","author":{"name":"Grzegorz (Greg) Ziółkowski","email":"aaa2f44ddf2294bcd1da06a46e763abd1f310183@gziolo.pl"},"message":"Blob: Extract new package out of utils module (#6973)","distinct":false,"url":"https://api.github.com/repos/mirka/gutenberg/commits/bfafd1b6992e89cde8b71717043c1ec8c5a27e0d"},{"sha":"e17e56b014a146811cea16cadf32fc0dbcb9099e","author":{"name":"Andrew Duthie","email":"02e0a999c50b1f88df7a8f5a04e1b76b35ea6a88@andrewduthie.com"},"message":"Testing: Fail E2E tests when uncaught page error occurs (#6713)","distinct":false,"url":"https://api.github.com/repos/mirka/gutenberg/commits/e17e56b014a146811cea16cadf32fc0dbcb9099e"},{"sha":"d28fc3340298eb4fdaa5354776f2847f3ca8048d","author":{"name":"Robert Anderson","email":"12e9293ec6b30c7fa8a0926af42807e929c1684f@noisysocks.com"},"message":"Allow inserting a link with no text selected (#6886)\n\n* Default link text to the URL\r\n\r\nWhen creating a link with no text selected, the link should be inserted\r\nwith its text set to the URL.\r\n\r\n* Simplify link insertion\r\n\r\nWe can avoid the ugly data-wp-temp-link hack by using isCollapsed() and\r\ninsertContent().\r\n\r\n* Fix links getting an unnecessary 'isadded' attribute\r\n\r\n* Fix 'Open in new window' toggle\r\n\r\nFix regression where the 'Open in new window' does not work when adding\r\na new link.","distinct":false,"url":"https://api.github.com/repos/mirka/gutenberg/commits/d28fc3340298eb4fdaa5354776f2847f3ca8048d"},{"sha":"59f2ad86bc66ebf5f4008b2dfcfbd782966ee253","author":{"name":"Andrea Fercia","email":"3aa63c1a8db5a39ec09a8d27229f4bc14d2912b8@gmail.com"},"message":"Properly associate the spacer height input label. (#6922)\n\n* Properly associate the sapcer height input label.\r\n\r\n* Update stylesheet selectors.\r\n\r\n* Better CSS classes.","distinct":false,"url":"https://api.github.com/repos/mirka/gutenberg/commits/59f2ad86bc66ebf5f4008b2dfcfbd782966ee253"},{"sha":"47449bebcbeb7df7419300f46480d57ac723fbce","author":{"name":"Brandon Payton","email":"ef971ee38bba25d9ac8a840d235457a038448b09@happycode.net"},"message":"Fix blocks completer to provide supported blocks\n\nThis updates the blocks completer to use the editor data store so only\r\nsupported blocks will be offered as completion options. In addition to\r\nrespecting the supported blocks list, shared blocks are now included as\r\ncompletion options.","distinct":false,"url":"https://api.github.com/repos/mirka/gutenberg/commits/47449bebcbeb7df7419300f46480d57ac723fbce"},{"sha":"400f8fc685ce309c12ebcb33762c381594002025","author":{"name":"Robert Anderson","email":"12e9293ec6b30c7fa8a0926af42807e929c1684f@noisysocks.com"},"message":"Fix intermittent adding-blocks E2E test failure (#6995)\n\nIn my local testing, waiting for the inserter to appear before typing\r\nprevents this test from failing intermittently.","distinct":false,"url":"https://api.github.com/repos/mirka/gutenberg/commits/400f8fc685ce309c12ebcb33762c381594002025"},{"sha":"8e7682bed8dfec8430ed40eb434f66cf70217827","author":{"name":"Jorge","email":"4c1894a7b3930a11eff2abf307d6c03cffbff240@developer.pt"},"message":"Fix fileName not respect when the image is drag&dropped (#6960)\n\nContrary to all the other uploads we have, when uploading an image to the editor via drag&drop without an image block previously created the file name of the image we upload is not respect.\r\n\r\nThe fileName is now passed from the transform to the region where we upload via the al attribute. using the alt attribute seems the best approach because using the URL attribute is not possible. Url is being used to store the blob and if we change like append '?fileName=' the browsers start ignoring the blob URL. Given that we pass the file via URL attribute from the transform to the upload code passing the fileName in the alt attribute seems the most logical way.","distinct":false,"url":"https://api.github.com/repos/mirka/gutenberg/commits/8e7682bed8dfec8430ed40eb434f66cf70217827"},{"sha":"ce14a1cfc428e4f9f69a21aa22fc3168b0212338","author":{"name":"Robert Anderson","email":"12e9293ec6b30c7fa8a0926af42807e929c1684f@noisysocks.com"},"message":"Inserter: Fix 'no results' message (#6997)\n\nThe inserter should display some explanatory text when the user searches\r\nfor a block but there is no block found.","distinct":false,"url":"https://api.github.com/repos/mirka/gutenberg/commits/ce14a1cfc428e4f9f69a21aa22fc3168b0212338"},{"sha":"1b4898bd4b080e0204c31288afaac23ceea83baa","author":{"name":"Robert Anderson","email":"12e9293ec6b30c7fa8a0926af42807e929c1684f@noisysocks.com"},"message":"Add lint rule to check that memize() is used (#6996)\n\nWe should be using memize instead of lodash's memoize function.","distinct":false,"url":"https://api.github.com/repos/mirka/gutenberg/commits/1b4898bd4b080e0204c31288afaac23ceea83baa"},{"sha":"92c0ac9dd9ac29bce3511033e7854028d18f0c1a","author":{"name":"Andrew Munro","email":"02e0a999c50b1f88df7a8f5a04e1b76b35ea6a88@amdrew.com"},"message":"Fix typos: Arary → Array, nox → box (#7014)\n\n* Fix “Arary” typo\r\n\r\n* “nox” -> “box”\r\n\r\n* Add “to”\r\n\r\n* Add missing period\r\n\r\nAdds a period for consistency with other docblocks","distinct":false,"url":"https://api.github.com/repos/mirka/gutenberg/commits/92c0ac9dd9ac29bce3511033e7854028d18f0c1a"},{"sha":"29092ae6dfe3ea1ebba30a81f0467ec5bd38848d","author":{"name":"Robert Anderson","email":"12e9293ec6b30c7fa8a0926af42807e929c1684f@noisysocks.com"},"message":"E2E tests: Introduce insertBlock() util (#7013)\n\nRefactor some tests to use insertBlock() which correctly opens the\r\ninserter, searches for a term, then selects the first result.\r\n\r\nThe utility method correctly waits for the inserter to appear which is\r\nimportant since, if this is not done, intermittent test failures can\r\nhappen.","distinct":false,"url":"https://api.github.com/repos/mirka/gutenberg/commits/29092ae6dfe3ea1ebba30a81f0467ec5bd38848d"},{"sha":"0f620fcfa3ab2a50b28a237d7a6b285255cd67ae","author":{"name":"Joen Asmussen","email":"387d0ff94125b9a143f1574a6d2db2bcc3b26c10@automattic.com"},"message":"Improve title \"block\" so it works with and without editor styles (#6909)\n\n* Improve title \"block\" so it works with and without editor styles\r\n\r\nThe title block is tricky. Because it's not a block. It also relies on a `textarea` as opposed to a div with `contenteditable`. Because of this, the unique rules that apply to textareas make it hard to style with negative margins and such.\r\n\r\nIt's very complicated, but the short of it is, in order to _look and behave_ like a block, the CSS styles are somewhat complex. I recently introduced a regression as a result of trying to make it more theme style friendly. But the fix to that regression caused a regression in turn to the theme styles.\r\n\r\nThis PR tries to fix all that. The title now looks and behaves like a block, on all breakpoints, _and_ it's easily stylable by theme editor styles. For example, with the following CSS rules, you can have an editor that fills the entire canvas:\r\n\r\n```\r\nbody.gutenberg-editor-page {\r\n\r\n\t.editor-post-title__block,\r\n\t.editor-default-block-appender,\r\n\t.editor-block-list__block,\r\n\t.editor-block-list__block[data-align=\"wide\"],\r\n\t.editor-block-list__block[data-align=\"full\"] {\r\n\t\tmax-width: none;\r\n\t}\r\n\r\n}\r\n```\r\n\r\nOr you can even apply a specific pixel or percent value.\r\n\r\nPreviously you had to make special rules JUST for the title block, so as to match the other elements.\r\n\r\nOne less cool thing about this PR, and suggestions are welcome, is that it introduces a new div, and renames a CSS class (to follow bem rules of hierarchy). I wish there was a different way.\r\n\r\nThoughts?\r\n\r\n* Address feedback.\r\n\r\n* Fix issues with title block in text editor.","distinct":false,"url":"https://api.github.com/repos/mirka/gutenberg/commits/0f620fcfa3ab2a50b28a237d7a6b285255cd67ae"},{"sha":"aedd474ad3a59afa2507309d0089ff51a935669a","author":{"name":"Riad Benguella","email":"1da4f7cd1c5af5eb98f5ddd7119329f052eca20f@gmail.com"},"message":"E2E Tests: Updates the wait function name to discourage its usage (#6932)\n\n* E2E Tests: Updates the wait function name to discourage its usage\r\n\r\n* Replace wait with the builtin page.waitFor\r\n\r\n* Adding an eslint rule to discourage page.waitFor","distinct":false,"url":"https://api.github.com/repos/mirka/gutenberg/commits/aedd474ad3a59afa2507309d0089ff51a935669a"},{"sha":"65400ad6d7dc4f3a00461988f651f4d92c838073","author":{"name":"Robert Anderson","email":"12e9293ec6b30c7fa8a0926af42807e929c1684f@noisysocks.com"},"message":"Address Child Blocks feedback (#7012)\n\n* Use milliseconds when calculating frecency\r\n\r\nDate.now() returns the current time in milliseconds, but we were\r\ncomparing it against constants measured in seconds.\r\n\r\n* Use _.some for simplicity\r\n\r\n* Simplify if condition\r\n\r\n* Add comment that explains Date.now() quirk\r\n\r\n* Typo: s/herustic/heuristic/\r\n\r\n* Remove unnecessary if and explaining variable\r\n\r\n* Clarify that not all blocks support nested content","distinct":false,"url":"https://api.github.com/repos/mirka/gutenberg/commits/65400ad6d7dc4f3a00461988f651f4d92c838073"}]}
{"actor":{"display_login":"danielbachhuber"}}