-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
RNMobile release v1.22.0 #20062
RNMobile release v1.22.0 #20062
Commits on Jan 20, 2020
-
Use Select: Fix render queue. (#19286)
* Use Select: Fix render queue issues. * Use Select: Make `isMounted` more informative. * Framework: Reset lockfile changes to dependencies Co-authored-by: Andrew Duthie <andrew@andrewduthie.com>
Configuration menu - View commit details
-
Copy full SHA for d4b7692 - Browse repository at this point
Copy the full SHA d4b7692View commit details -
Configuration menu - View commit details
-
Copy full SHA for e654dce - Browse repository at this point
Copy the full SHA e654dceView commit details -
Try/group block custom text color (#19181)
* Add text color selector to group block to allow setting a text colour that applies to all children of the group to avoid having to set text colour on every individual child
Configuration menu - View commit details
-
Copy full SHA for 5ba3976 - Browse repository at this point
Copy the full SHA 5ba3976View commit details -
Block Editor: Handle LinkControl submission via form handler (#19651)
* Block Editor: Handle LinkControl submission via form handler * E2E Tests: Unskip intermittent buttons test failure
Configuration menu - View commit details
-
Copy full SHA for 80824d7 - Browse repository at this point
Copy the full SHA 80824d7View commit details
Commits on Jan 21, 2020
-
Added conditions and new translation strings for BlockMover (#19757)
* Added conditions and new translation strings for BlockMover * Moved translator comments into sprintf function
Configuration menu - View commit details
-
Copy full SHA for 1ffedef - Browse repository at this point
Copy the full SHA 1ffedefView commit details -
Storybook: Add Placeholder component story (#19734)
* Add Placeholder story for storybook * Update storybook test snapshot
Configuration menu - View commit details
-
Copy full SHA for 9788231 - Browse repository at this point
Copy the full SHA 9788231View commit details -
Project Management: Fix pull request merge automation errors (#19768)
* Framework: Use fixed version of checkout action Avoid unintended breaking changes. To a lesser extent, helps clarify that this tag refers to the _version of the action_, not the branch being checked out. * Framework: Configure PR automation checkout to master branch
Configuration menu - View commit details
-
Copy full SHA for 942c262 - Browse repository at this point
Copy the full SHA 942c262View commit details -
Configuration menu - View commit details
-
Copy full SHA for 056dd36 - Browse repository at this point
Copy the full SHA 056dd36View commit details -
Multi-select: don't focus first selected block (#19762)
* Multi-select: don't focus first selected block * Move CopyHandler outside WritingFlow * Fix click appender * Remove useless line
Configuration menu - View commit details
-
Copy full SHA for f6c90ed - Browse repository at this point
Copy the full SHA f6c90edView commit details -
Configuration menu - View commit details
-
Copy full SHA for d6487f3 - Browse repository at this point
Copy the full SHA d6487f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for aad7459 - Browse repository at this point
Copy the full SHA aad7459View commit details -
Build: Include JSON files in zip archive (#19772)
* Build: Include JSON files * Zip build script: Include json files in `build/block-library/blocks/` Co-Authored-By: Jorge Bernal <jorge@automattic.com> Co-authored-by: Jorge Bernal <jbernal@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for cd309db - Browse repository at this point
Copy the full SHA cd309dbView commit details -
Makes appenders visible only for the current selection (#19598)
* makes appenders visible only for the current selection * adds smaller footprint to appenders in navigation, only shows them if item has descendants * align appender to level of the menu item, remove useless CSS
Configuration menu - View commit details
-
Copy full SHA for 24c0e60 - Browse repository at this point
Copy the full SHA 24c0e60View commit details -
Core-data: do not publish outdated state to subscribers during updates (
#19752) * Core-data: do not publish outdated state to subscribers during updates Calling `saveEntityRecord` with an update does the following: 1. Calls `getEntityRecord` to fetch the current persisted state of the entity record 2. Calls `receiveEntityRecords` with the new up-to-date state to render the updates 3. Sends an API fetch with the update patch to persist the update 4. Calls `receiveEntityRecords` again with the new up-to-date *persisted* state The issue here, is that point 1 (Calling `getEntityRecord`) not only fetches the persisted state, but it also internally calls `receiveEntityRecords` itself . This results in the persisted outdated server state to be rendered on the UI, causing a flickering effect, that jumps pack when point 2 takes turn. This commit removes the call to getEntityRecord, and instead, it just calls receiveEntityRecords with the local up-to-date state of the entity record. This fixes the flickering issue. * Core-data: update tests to match saveEntityRecord yeilded actions Given `saveEntityRecord` no longer selects `getEntityRecord`, which itself triggers a SELECT action, two SELECTs are no longer yielded. This commit removes the expectation of these two SELECTs. * Core-data: Introduce getEntityRecordNoResolver selector To allow saveEntityRecord access the latest local full version of an entity without issung an API request. This prevents propogating outdating states to subscribers when saveEntityRecord is called. See: #19752 (comment) * Address review comments at #19752: 1. Capitalize alll added comment messages 2. Alias getEntityRecord with getEntityRecordNoResolver instead of copying it 3. Use describe.each instaed of looping manually in selectors tests
Configuration menu - View commit details
-
Copy full SHA for 26062c8 - Browse repository at this point
Copy the full SHA 26062c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d59200 - Browse repository at this point
Copy the full SHA 7d59200View commit details -
Configuration menu - View commit details
-
Copy full SHA for c22b77c - Browse repository at this point
Copy the full SHA c22b77cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b39e9d9 - Browse repository at this point
Copy the full SHA b39e9d9View commit details -
Navigation Block: Add submenu chevron w/ setting (#19601)
* Initialize setting in the nav block settings panel * Add submenu icon * Register "showSubmenuIcon" attributes * Add submenu icon to front-end of the page * Update submenu icon setting description * Don't use <span> for RichText element * Isolate NavigationLink icons * Clean up a little * Use <span> for NavigationLink contents * Rename `$level_zero` to `$is_level_zero` * Add missing spaces * Update submenu icon selector in style.scss * Add comment about span-wrapping * Fix phpcs errors * Remove unused styles * Fix failing e2e tests * Update failing snapshots
Configuration menu - View commit details
-
Copy full SHA for b77d71a - Browse repository at this point
Copy the full SHA b77d71aView commit details -
Embed: Fix failure placeholder alignment/sizing (#19673)
* Fix error message sizing + alignment in Embed Placeholder * Fix Table placeholder input vs button alignment * Adjust spacing between error message and buttons
Jon Quach committedJan 21, 2020 Configuration menu - View commit details
-
Copy full SHA for 567cdb9 - Browse repository at this point
Copy the full SHA 567cdb9View commit details
Commits on Jan 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 76304dd - Browse repository at this point
Copy the full SHA 76304ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46fcca7 - Browse repository at this point
Copy the full SHA 46fcca7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f3ea11 - Browse repository at this point
Copy the full SHA 1f3ea11View commit details -
Block popover: allow scrolling over (#19769)
* Block popover: allow scrolling over * Clean up * Fix overlapping inserter popover * Better comment
Configuration menu - View commit details
-
Copy full SHA for 59ed771 - Browse repository at this point
Copy the full SHA 59ed771View commit details -
Multi select: keep selection after move (#19784)
* Multi select: keep selection after move * Add e2e test * Change e2e test * Address feedback * Fix snapshots
Configuration menu - View commit details
-
Copy full SHA for 938fb55 - Browse repository at this point
Copy the full SHA 938fb55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2db504d - Browse repository at this point
Copy the full SHA 2db504dView commit details -
Navigation: Select parent navigation block on handleCreateFromExistin…
…gPages() action (#19817)
Configuration menu - View commit details
-
Copy full SHA for c079120 - Browse repository at this point
Copy the full SHA c079120View commit details
Commits on Jan 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5a8eda1 - Browse repository at this point
Copy the full SHA 5a8eda1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8acb023 - Browse repository at this point
Copy the full SHA 8acb023View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f92cfe - Browse repository at this point
Copy the full SHA 8f92cfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a1ea3c - Browse repository at this point
Copy the full SHA 6a1ea3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 373d79a - Browse repository at this point
Copy the full SHA 373d79aView commit details -
Added shippedProposals (#19065)
* Added shippedProposals * Setting shippedProposals during init
Configuration menu - View commit details
-
Copy full SHA for 0de9e37 - Browse repository at this point
Copy the full SHA 0de9e37View commit details -
Rich text: remove is-selected class (#19822)
* Rich text: prefix is-selected class * Adjust more cases * Remove the class
Configuration menu - View commit details
-
Copy full SHA for 4ae2c15 - Browse repository at this point
Copy the full SHA 4ae2c15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26b8015 - Browse repository at this point
Copy the full SHA 26b8015View commit details -
Block: use context to provide selected element (#19782)
* Block: use context to provide selected element * Include multi selection nodes * Add comment
Configuration menu - View commit details
-
Copy full SHA for 89c2b44 - Browse repository at this point
Copy the full SHA 89c2b44View commit details -
Popover: clean up requestAnimationFrame (#19771)
* Popover: clean up requestAnimationFrame * Cancel the last request before a new request
Configuration menu - View commit details
-
Copy full SHA for dcb08f3 - Browse repository at this point
Copy the full SHA dcb08f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e18e0a0 - Browse repository at this point
Copy the full SHA e18e0a0View commit details -
Navigation: Manage navigation link appender visibility based on curre…
…nt selection (#19846) Show the navigation link appender when the selected item has descendants and is selected, or if it's the parent of the selected block.
Configuration menu - View commit details
-
Copy full SHA for 7704da0 - Browse repository at this point
Copy the full SHA 7704da0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 681a297 - Browse repository at this point
Copy the full SHA 681a297View commit details -
Add AnglePicker Component; Add useDragging hook (#19637)
This commit adds a component to pick angles and a hook to make dragging things easier to implement. Some components will be refactored to use the new hook e.g: the custom gradient picker.
Configuration menu - View commit details
-
Copy full SHA for 6d035d3 - Browse repository at this point
Copy the full SHA 6d035d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5cdfca - Browse repository at this point
Copy the full SHA f5cdfcaView commit details -
Innerblock Templates Docs Link Typo Issue Fixed (#19813)
* Innerblock Templates Docs Link Typo Issue Fixed * Innerblock Templates Docs Link Typo Issue Fixed
Configuration menu - View commit details
-
Copy full SHA for 5275570 - Browse repository at this point
Copy the full SHA 5275570View commit details
Commits on Jan 24, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 17ef62d - Browse repository at this point
Copy the full SHA 17ef62dView commit details -
Block Directory: Refactor the reducer by breaking out the block manag…
…ement actions into their own reducer. (#19330) * Block Directory: Refactory the reducer by break out the block management actions into their own reducer. * Moved hasPermission into its own reducer. * Also remove the 'items' list as it's not being used * Update the getInstalledBlockTypes selector to point to the new reducer that manages installs. * Update typo in test. * Remove the lodash dependency in the selectors. It isn\'t necessary.
Configuration menu - View commit details
-
Copy full SHA for 4cd1492 - Browse repository at this point
Copy the full SHA 4cd1492View commit details -
Configuration menu - View commit details
-
Copy full SHA for 167d4d1 - Browse repository at this point
Copy the full SHA 167d4d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9b1818 - Browse repository at this point
Copy the full SHA b9b1818View commit details -
Bump @babel/preset-env to 7.8.3 (Optional Chaining!) (#19831)
* Bump babel to 7.8.3 * Added test for optional chaining * Bump other babel packages. * Fix * Changelog Update CHANGELOG.md * Update package-lock.json Co-authored-by: Grzegorz (Greg) Ziółkowski <grzegorz@gziolo.pl>
Configuration menu - View commit details
-
Copy full SHA for d2576aa - Browse repository at this point
Copy the full SHA d2576aaView commit details -
Style improvements for template previews (#19763)
* First scaffold for template previews (mobile only) * WIP: managed to make the preview show, saving as a checkpoint - BlockEditorProvider needs an update so it uses the subRegistry - We need a better way to only render the picker on the main block list - We need to make the bottom sheet full height, and adapt the block preview accordingly * Set a fixed height for the template preview * Move template picker to the toolbar * Read only block list * Lint fixes * Made scrolling sort of working with read only block list * A longer template to test scrolling * Replace BottomSheet with Modal for previews * Allow closing previews with back button on Android * Revert changes to BlockList that were required for bottom sheet integration * Revert changes to BottomSheet * Add usage example for ModalHeaderBar * Improve accessibility of template preview * Improve accessibility of ModalHeaderBar * Remove unused imports * Added missing web file * RNMobile - Page template picker: apply layout from the preview * RNMobile - Layout preview: apply action * RNMobile - Page templates - set layout action * Remove mobile action from docs * New components for modal header buttons * Fix alignment of modal header buttons * Fix metrics for iOS modal header * Add subtitle to preview header * Use named color for modal header button * Updated modal title color and weight * Make Apply button bolder on iOS * Make Apply button bolder on iOS * Fix vertical alignment for close button * Allow modal rotation on iOS * Fix modal background on dark mode * Fixed dark mode for template previews * Revert changes to editor store after bad merge * Add material close icon for modal header * Tweak modal title colors * Lint fixes Co-authored-by: Gerardo Pacheco <gerardo.pacheco@automattic.com>
Configuration menu - View commit details
-
Copy full SHA for 21936b5 - Browse repository at this point
Copy the full SHA 21936b5View commit details -
[RNMobile] Release v1.21.0 to master (#19854)
* Adding empty function to RichText children call. (#19818) This fixes a crash originated on this PR: #19536 ` * Disable gallery image size options on mobile (#19828) * Revert "Disable gallery image size options on mobile (#19828)" This reverts commit 47b74aa. Co-authored-by: Matthew Kevins <mkevins@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 605ee4d - Browse repository at this point
Copy the full SHA 605ee4dView commit details -
Packages: New create-block package for block scaffolding (#19773)
* Packages: New create-block package for block scaffolding * Promote action handler to async to make implementation simpler
Configuration menu - View commit details
-
Copy full SHA for bc57547 - Browse repository at this point
Copy the full SHA bc57547View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0470286 - Browse repository at this point
Copy the full SHA 0470286View commit details -
Configuration menu - View commit details
-
Copy full SHA for 282687b - Browse repository at this point
Copy the full SHA 282687bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6eb4ec - Browse repository at this point
Copy the full SHA f6eb4ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 23493b7 - Browse repository at this point
Copy the full SHA 23493b7View commit details -
[RNmobile] Upgrade to RN 0.61.5 (#19369)
* `focusable` replaced `clickable See facebook/react-native#25274 * Provide a native colors.native.scss * Upgrade React Native version in Gutenberg web repo * Jest doesn't have hasteImplModulePath anymore * Work around other regressions. Will revert when those fixed * Bump react-native version to 0.61.5 * Update babel-jest to try fixing babel-plugin-jest-hoist jest.mock issue * Update jest to try fixing babel-plugin-jest-hoist jest.mock issue * Pin xmldom to older version to bypass license file ambiguity With newer versions, the license check script doesn't recognise that the package is dual licenced and is reporting it as incompatible. This commit pins the package to an older version. There is no functional difference between the two versions, see xmldom/xmldom@v0.1.27...v0.1.30 * Revert "Provide a native colors.native.scss" This reverts commit b05f1e4. This shouldn't be needed anymore after wordpress-mobile/gutenberg-mobile#1683 * Revert "Pin xmldom to older version to bypass license file ambiguity" This reverts commit 7e3c2b5. * Cater for lowercase OR in licenses types Props to @pento for the solution #19369 (comment) * Update package-lock.json via npm v6.13.6 * Check for the same "or" format as we're splitting Otherwise, the 'or' in `GPL-2.0-or-later` causes an infinite recursion. See error in https://travis-ci.com/WordPress/gutenberg/jobs/278348885. * Update package-lock.json after running run check-local-changes * Fix package-lock.json conflicts by keeping Jest to 24.9.0, Babel to 7.8.3 * Update package-lock by running npm install
Configuration menu - View commit details
-
Copy full SHA for 361d2df - Browse repository at this point
Copy the full SHA 361d2dfView commit details
Commits on Jan 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b3b92f3 - Browse repository at this point
Copy the full SHA b3b92f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a364c9 - Browse repository at this point
Copy the full SHA 9a364c9View commit details
Commits on Jan 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b42cde3 - Browse repository at this point
Copy the full SHA b42cde3View commit details -
Paragraph block: remove min-height (#19835)
* Paragraph block: remove min-height * Use lineheight to set drop cap min height
Configuration menu - View commit details
-
Copy full SHA for 1fb3c38 - Browse repository at this point
Copy the full SHA 1fb3c38View commit details -
Framework: Fix server-registered fixtures script (#19884)
* Env: Format run output only for terminal display * Framework: Fix server-registered fixtures script * Testing: Regenerate server-registered fixtures * Testing: Regenerate navigation block fixture * Env: Fix CHANGELOG typo "or"
Configuration menu - View commit details
-
Copy full SHA for e0958d7 - Browse repository at this point
Copy the full SHA e0958d7View commit details -
Shortcode Design Review (#19852)
* Update style of shortcode based on design review * Fix title colors
Configuration menu - View commit details
-
Copy full SHA for 85ffc72 - Browse repository at this point
Copy the full SHA 85ffc72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 288f8df - Browse repository at this point
Copy the full SHA 288f8dfView commit details -
Apply sentence case formatting to PanelBody titles (#19901)
* Color Settings -> Color settings * Block PanelBody titles: Settings -> settings
Configuration menu - View commit details
-
Copy full SHA for a45df0e - Browse repository at this point
Copy the full SHA a45df0eView commit details -
Clarify when isEligible function is called (#19899)
Added a note that isEligible is only used for valid blocks and is not called for invalid blocks.
Configuration menu - View commit details
-
Copy full SHA for 64767db - Browse repository at this point
Copy the full SHA 64767dbView commit details -
Block Editor: Refactor ObserveTyping as function component (#19881)
* Block Editor: Refactor ObserveTyping as function component * Block Editor: ObserveTyping: Avoid persisting event
Configuration menu - View commit details
-
Copy full SHA for c1266a7 - Browse repository at this point
Copy the full SHA c1266a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e3c713 - Browse repository at this point
Copy the full SHA 9e3c713View commit details -
Documentation: Organize Contributors Guide (#19853)
* Simplify CONTRIBUTING.md to be just guidelines We don't need to include too much here because the real information for contributing is in the handbook. This page is a standard page for Github repos, so trimming it down to just a few links to sections in the handbook. Plus the policies for code of conduct and GPL. * Add design contribution from CONTRIBUTING.md to design page * Cleanup and organize Contributors Guide * Use consistent Contributors Guide title * Move Principles and catch-all docs to Project Overview section * Switch background to more relevant repository management * Apply suggestions from code review Thanks for the fixes 👍 Co-Authored-By: Chris Van Patten <hello@chrisvanpatten.com> * Fix extra newlines * Standardize on Contributor Guide, matches core handbook * Update manifest Co-authored-by: Chris Van Patten <hello@chrisvanpatten.com>
Configuration menu - View commit details
-
Copy full SHA for ba2495f - Browse repository at this point
Copy the full SHA ba2495fView commit details
Commits on Jan 28, 2020
-
[RNMobile] Correct isMobile condition in nested Media&Text (#19778)
* Correct isMobile condition in nested Media&Text * Do not export BREAKPOINTS
Configuration menu - View commit details
-
Copy full SHA for 08182bf - Browse repository at this point
Copy the full SHA 08182bfView commit details -
Blocks: Match blocks in the inserter using keywords from patterns (#1…
…9243) * Blocks: Match blocks in the inserter using keywords from patterns * Ensure that matched patterns with the search term are marked * Introduce scopes for block patterns * Make it possible to apply initial attributes and inner blocks directly from the inserter * Update block preview in the inserter to use attributes from the variation * Change the way patterns are handled in the inserter * Update packages/block-editor/src/components/block-types-list/index.js Co-Authored-By: Miguel Fonseca <miguelcsf@gmail.com> * Improve the way patterns are added to the inserter * Rename pattern label to patter title to align with block types * Inserter: Don't auto-add block if it has variations Co-authored-by: Miguel Fonseca <miguelcsf@gmail.com>
1Configuration menu - View commit details
-
Copy full SHA for bc38a3d - Browse repository at this point
Copy the full SHA bc38a3dView commit details -
Block editor: Alt+F10 shouldn't scroll to top (#19896)
* Add e2e test * Leave fixed position until position can be set
Configuration menu - View commit details
-
Copy full SHA for c49b051 - Browse repository at this point
Copy the full SHA c49b051View commit details -
Multi-selection: fix clearing with side click (#19787)
* Multi-selection: fix clearing with side click * Add e2e test
Configuration menu - View commit details
-
Copy full SHA for f6470e6 - Browse repository at this point
Copy the full SHA f6470e6View commit details -
[RNMobile] fix show appender and separator in Group block (#19908)
* fix appender to duplicate separator line
Configuration menu - View commit details
-
Copy full SHA for 17f6eae - Browse repository at this point
Copy the full SHA 17f6eaeView commit details -
Configuration menu - View commit details
-
Copy full SHA for a911562 - Browse repository at this point
Copy the full SHA a911562View commit details -
[RNMobile] Add media edit icon to image block (#19723)
* Creates a MediaEdit component that shows a picker * Add Gridicon's customize icon * Show a button in images block that displays a picker * Fix lint issues * Fix no-shadow error * Fix the name of the params * When "Edit" is selected, request the Media Editor * Fix lint issues * Change media editor ID to a constant * When "Replace" is tapped, show all available media options * Fix lint issues * Avoid destructuring
Configuration menu - View commit details
-
Copy full SHA for a38b633 - Browse repository at this point
Copy the full SHA a38b633View commit details -
Block Library: Handle Popover onClose for LinkControl (#19885)
* Block Library: Handle Popover onClose for LinkControl * E2E Tests: Verify link popover Escape handling
Configuration menu - View commit details
-
Copy full SHA for 6f97e52 - Browse repository at this point
Copy the full SHA 6f97e52View commit details -
Disable Autocomplete in shortcode block (#19848)
* Disable Autocomplete in shortcode block
Configuration menu - View commit details
-
Copy full SHA for 6aa04e8 - Browse repository at this point
Copy the full SHA 6aa04e8View commit details -
RichText API: Limit
prefix
transformations to Paragraph (#19727)… and any consumer of RichText that provides experimental prop `__unstableAllowPrefixTransformations.`
Configuration menu - View commit details
-
Copy full SHA for 1d6895d - Browse repository at this point
Copy the full SHA 1d6895dView commit details -
Block Editor: LinkControl: Resolve error when undefined value, "view"…
… state (#19856) * Block Editor: LinkControl: Resolve error when undefined value, "view" state * Block Editor: LinkControl: Document only url, title, opensInNewTab value properties * Block Editor: LinkControl: Change documented example to reference known value property
Configuration menu - View commit details
-
Copy full SHA for 4c1ef94 - Browse repository at this point
Copy the full SHA 4c1ef94View commit details -
[RNMobile] Revert change to fix Action Sheet (#19934)
* Revert "Avoid destructuring" This reverts commit e113310. * Fix the var name
Configuration menu - View commit details
-
Copy full SHA for a394c9f - Browse repository at this point
Copy the full SHA a394c9fView commit details -
Add background color support to Columns block (#17813)
* Add attributes * Update edit function * Update save function * Add .has-background style * Improve has-background and backgroundColor.class checks * Try passing the columns block e2e test * Refactor to use __experimentalUseColors * Normalize has-background padding with variables * Remove extra bit
Configuration menu - View commit details
-
Copy full SHA for e64c554 - Browse repository at this point
Copy the full SHA e64c554View commit details -
Fix RTL styling for Media Text block (#18764)
* Add proper !rtl ignore comments to maintain styling on RTL * Tweak comment * Add direction: ltr (not ignored) to the content container
Configuration menu - View commit details
-
Copy full SHA for 8c3bd8e - Browse repository at this point
Copy the full SHA 8c3bd8eView commit details
Commits on Jan 29, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6987e37 - Browse repository at this point
Copy the full SHA 6987e37View commit details -
Add Prettier formatting script (#18048)
* Add Prettier NPM dependency to packages/scripts and top-level * Scripts: export the fromProjectRoot function from scripts/utils module * Scripts: Add Prettier formatting script * ESLint config: use default (linebreak before ternary op) config for operator-linebreak rule * ESLint: disable formatting rules in the recommended config Adds `eslint-config-prettier` to the recommended config and creates an alternative `recommended-with-formatting` config for project that want to keep ESLint formatting rules and opt-out of Prettier. * Scripts: the format-js script checks if Prettier is present and has top-level config Prettier presence in a `wp-scripts`-powered project is optional, and the `format-js` script checks if it's there and if it's indeed the fork (`wp-prettier`). Will report error otherwise. Also, require a top-level Prettier config to be present. We can't default to the one inside `wp-scripts`, because IDE and editor integrations won't find it there and will use the Prettier defaults. * Bump the minimum required version of npm to 6.9.0 * Add ESLint config changes notice to changelog * Update package-lock.json * Regenerate package-lock.json Co-authored-by: Grzegorz (Greg) Ziółkowski <grzegorz@gziolo.pl>
Configuration menu - View commit details
-
Copy full SHA for c2eece7 - Browse repository at this point
Copy the full SHA c2eece7View commit details -
Components: FontSizePicker: Adjust Select Button sizing (#19479)
Jon Quach committedJan 29, 2020 Configuration menu - View commit details
-
Copy full SHA for 167bd70 - Browse repository at this point
Copy the full SHA 167bd70View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4efa12 - Browse repository at this point
Copy the full SHA b4efa12View commit details -
[RNMobile] Long-press on inserter to show options for "add above" and…
… "add below" (#18791) * Add onLongPress prop to Button * Show inserter menu on long press * Make onLongPress a prop of toggle * Make withSelect of Inserter return destinationRootClientId * Insert default block before the selected one on long press * Add add canReplaceBlock key to the insertionPoint state * Hide a block in list only if it can be replaced * Move insertion index logic from menu to inserter * Update selector tests for newly added key in state * Add insertionIndexAfter and isAnyBlockSelected props with selector * Update docs for newly added key in state * Add insertionType to component state and map to insertion index * Refactor insertion index logic * Show BottomSheet on long press to choose to insert before or after * Update UI strings to be title case * Hide cancel button from Bottom Sheet on Android * Add icons to Bottom Sheet options on Android * Add “Replace Current Block” option to menu on long-press * Scroll to newly added block if it doesn't trigger keyboard to open * Change “Replace Current Block” menu icon on Android * Use shorter syntax for setState * Rename getShouldReplaceBlock method to shouldReplaceBlock * Revert "Scroll to newly added block if it doesn't trigger keyboard to open" This reverts commit 9c1c71d25eb573427ca09761bd3154286d19539b. * Revert “Add canReplaceBlock key to the insertionPoint state" * Remove Block show/hide logic from BlockList * Update Inserter local state to store block insertion information * Make InserterMenu add/remove unmodified default block during replace * Handle replacing last remaining block * Fix Inserter test * Fix code style issue * Move insertion options into getInsertionOptions function * Add comment about removing last block case * Use findByProps instead of toJSON when testing Inserter
Configuration menu - View commit details
-
Copy full SHA for 5cb2727 - Browse repository at this point
Copy the full SHA 5cb2727View commit details -
Docs: Add details for format-js to @wordpress/scripts package (#19946)
* Docs: Add details for format-js to @wordpress/scripts package * Update README.md * Update packages/eslint-plugin/CHANGELOG.md Co-Authored-By: Marcus Kazmierczak <marcus@mkaz.com> Co-authored-by: Marcus Kazmierczak <marcus@mkaz.com>
Configuration menu - View commit details
-
Copy full SHA for 6c8d945 - Browse repository at this point
Copy the full SHA 6c8d945View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bda7c4 - Browse repository at this point
Copy the full SHA 0bda7c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c32ac9 - Browse repository at this point
Copy the full SHA 7c32ac9View commit details
Commits on Jan 30, 2020
-
Add markdownlint script to lint docs markup (#19855)
* Add markdownlint script to lint docs markup Adds a new script `lint-md-docs` that runs markdownlint to lint markdown files for proper syntax. A default `.markdownlint.json` config is included, it will require some testing to tune. Fixes #12426 * Clarify naming of lint-md scripts js and docs - Updates lint-md scripts to lint-md-js for linting source included in the document and lint-md-docs for linting the markup of the document itself. - Update scripts changelog - Update readme with commands * Apply suggestions from code review Co-Authored-By: Grzegorz (Greg) Ziółkowski <grzegorz@gziolo.pl> * Fix URL for markdownlint CLI * Add -i check, details around ignore on CLI * Check for additional project config files * Update script commands to all for lint:* * Local changes applied to package-lock.json * Update packages/scripts/README.md Co-Authored-By: Grzegorz (Greg) Ziółkowski <grzegorz@gziolo.pl> * Apply suggestions from code review Thanks for the review and updates 👍 Co-Authored-By: Grzegorz (Greg) Ziółkowski <grzegorz@gziolo.pl> Co-authored-by: Grzegorz (Greg) Ziółkowski <grzegorz@gziolo.pl>
Configuration menu - View commit details
-
Copy full SHA for ea705dd - Browse repository at this point
Copy the full SHA ea705ddView commit details -
Use require.resolve() instead of <rootDir> in @wordpress/jest-preset-…
…default (#19957) * use require.resolve() instead of <rootDir> * formatted
Configuration menu - View commit details
-
Copy full SHA for d17bd4b - Browse repository at this point
Copy the full SHA d17bd4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5832c30 - Browse repository at this point
Copy the full SHA 5832c30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06f02c9 - Browse repository at this point
Copy the full SHA 06f02c9View commit details -
Replace all occurences of the yes dashicon with the check icon from t…
…he icons package (#19926)
Configuration menu - View commit details
-
Copy full SHA for 8497112 - Browse repository at this point
Copy the full SHA 8497112View commit details -
Configuration menu - View commit details
-
Copy full SHA for e46d52d - Browse repository at this point
Copy the full SHA e46d52dView commit details -
Block Editor: LinkControl: Prevent focus loss in edit mode toggle (#1…
…9931) * Block Editor: LinkControl: Prevent focus loss in edit mode toggle * Block Library: Remove custom focus loss protection Previously used effect lifecycle to anticipate and respond to focus loss. Now, focus loss is prevented by LinkControl. See: 722a4d6dec * Block Editor: Rephrase and move forced input rendering comment * Block Editor: Ensure isEndingEditWithFocus always assigned as boolean
Configuration menu - View commit details
-
Copy full SHA for d66d53b - Browse repository at this point
Copy the full SHA d66d53bView commit details -
Configuration menu - View commit details
-
Copy full SHA for cfa9a97 - Browse repository at this point
Copy the full SHA cfa9a97View commit details
Commits on Jan 31, 2020
-
Navigation Block: Move the link description panel below the SEO panel…
… because this is likely to be used signficantly less than the SEO panel. (#19917)
Configuration menu - View commit details
-
Copy full SHA for c804524 - Browse repository at this point
Copy the full SHA c804524View commit details -
Update hover and focus selectors for Move to Trash to ensure they're …
…always red (#19974) - Updates the selectors in .editor-post-trash to use similar specificity as .components-button.is-link for the hover and focus states to ensure that they are always red.
Configuration menu - View commit details
-
Copy full SHA for 56d866f - Browse repository at this point
Copy the full SHA 56d866fView commit details -
Create block: Code quality improvements for the block scaffolding (#1…
…9867) * Create block: Code quality improvements for the block scaffolding * Improve the strucutre and handling of templates Props to @aduth for the proposal: #19773 (comment). * Ensure that package-lock.json file is refreshed with the changes from master * Docs: Add a note about version and help options * Code style: Run Prettier formatting on the package files * Create block: Align .editorconfig with Gutenberg settings * Fix: Use the description provided to fill the `description` field in `package.json` file in ESNext template * Fix: Ensure that values provided for slug and namespace get converted to lower case * Fix: Simplify the logic for transforming slug to title * Update packages/create-block/lib/templates.js Co-Authored-By: Andrew Duthie <andrew@andrewduthie.com> Co-authored-by: Andrew Duthie <andrew@andrewduthie.com>
Configuration menu - View commit details
-
Copy full SHA for be05701 - Browse repository at this point
Copy the full SHA be05701View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b5461c - Browse repository at this point
Copy the full SHA 1b5461cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0194925 - Browse repository at this point
Copy the full SHA 0194925View commit details -
Eslint Plugin: Lint code formatting. (#19963)
* Eslint Plugin: Lint code formatting. * Gutenberg: Add code formatting pre-commit hook. * Eslint Plugin: Update docs. * Gutenberg: Format code. * Storybook: Update snapshots.
Configuration menu - View commit details
-
Copy full SHA for f63053c - Browse repository at this point
Copy the full SHA f63053cView commit details -
[RNMobile] Show the media edit icon only if the block is selected (#1…
…9961) * Only shows the media edit icon if the block is selected Also, matches the style of the native gallery block buttons * Fix lint
Configuration menu - View commit details
-
Copy full SHA for 63d56f1 - Browse repository at this point
Copy the full SHA 63d56f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5945e48 - Browse repository at this point
Copy the full SHA 5945e48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 767caac - Browse repository at this point
Copy the full SHA 767caacView commit details -
Configuration menu - View commit details
-
Copy full SHA for 539b1fc - Browse repository at this point
Copy the full SHA 539b1fcView commit details -
Components: Apply width-based modifier classes to Placeholder only wh…
…en width is known (#19825) * Components: Apply `is-small` modifier class to Placeholder only when width known * E2E Tests: Wait for placeholder error display in embed tests * Testing: Update snapshots for Placeholder class assignment
Configuration menu - View commit details
-
Copy full SHA for 6aa9944 - Browse repository at this point
Copy the full SHA 6aa9944View commit details -
Eslint: set line width to 80 (#19992)
* Update config * npm run lint-js:fix * Move eslint comments * Update snapshots
Configuration menu - View commit details
-
Copy full SHA for 4857ad5 - Browse repository at this point
Copy the full SHA 4857ad5View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb964cb - Browse repository at this point
Copy the full SHA fb964cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 362ab68 - Browse repository at this point
Copy the full SHA 362ab68View commit details -
Navigation: Change UX to move focus to navigation link label and clos…
…e the LinkControl (#19686) * When adding a link via the LinkControl, selects/highlights nav link label text if it's url-like. Focuses if not. Automatically adds url-like labels as the label. * Adds @wordpress/dom to package-lock.json * Removed test for awaiting for Link Control focus after pressing Enter, as the focus should now be on the navigation link text with the Link Control closed
Configuration menu - View commit details
-
Copy full SHA for 06bd266 - Browse repository at this point
Copy the full SHA 06bd266View commit details
Commits on Feb 1, 2020
-
Lib: Limit
pre_render_block
extension. (#19989)* Lib: Limit `pre_render_block` extension. * Update lib/compat.php Co-Authored-By: Andrew Duthie <andrew@andrewduthie.com> Co-authored-by: Andrew Duthie <andrew@andrewduthie.com>
Configuration menu - View commit details
-
Copy full SHA for d362cb1 - Browse repository at this point
Copy the full SHA d362cb1View commit details
Commits on Feb 2, 2020
-
Fix, update, and sort _rc_
hasProjectFile
filenames (#19994)* Update and fix `hasProjectFile` filenames * Sort `hasProjectFile` filenames * Update CHANGELOG.md
Configuration menu - View commit details
-
Copy full SHA for 80c5239 - Browse repository at this point
Copy the full SHA 80c5239View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6d8712 - Browse repository at this point
Copy the full SHA b6d8712View commit details -
Blocks: Rename patterns to variations in the Block API (#19966)
* Blocks: Rename patterns to variations in the Block API * Fix: Remove ESLint errors and warnings related to block variations
Configuration menu - View commit details
-
Copy full SHA for feed14a - Browse repository at this point
Copy the full SHA feed14aView commit details
Commits on Feb 3, 2020
-
[Mobile] Fix gallery upload sync (#19941)
* Invoke mediaUploadSync for gallery in React hook * Use integer type explicitly for gallery image id * Set state before attributes on upload success in gallery image * Use ref hook for concurrency in media placeholder * Extract dedup function and add comments in media placeholder * Fix lint * Use explicit radix with parseInt Co-Authored-By: Gerardo Pacheco <gerardo.pacheco@automattic.com> * Import useRef from @wordpress/element * Fix lint * Fix lint / prettier Co-authored-by: Gerardo Pacheco <gerardo.pacheco@automattic.com>
Configuration menu - View commit details
-
Copy full SHA for 8ef615e - Browse repository at this point
Copy the full SHA 8ef615eView commit details
Commits on Feb 6, 2020
-
Merge branch 'rnmobile/releases-2020' into rnmobile/release-v1.22.0-u…
…pdate-from-releases-2020
Configuration menu - View commit details
-
Copy full SHA for c57bbdb - Browse repository at this point
Copy the full SHA c57bbdbView commit details -
[Mobile] Fix blank image size labels on mobile (#19800) (#20045)
* Fix blank image size labels on mobile * Use name instead of label in default imageSizes
Configuration menu - View commit details
-
Copy full SHA for 49e109c - Browse repository at this point
Copy the full SHA 49e109cView commit details
Commits on Feb 7, 2020
-
[RNMobile] Enable Dismiss on PlainText in Android (#20095)
* Add flag for determining if running on Android * Enable Dismiss button on PlainText. Enable show keyboard in Android on PlainText mount * Enable Dismiss button on PlainText. Enable show keyboard in Android on PlainText mount
Configuration menu - View commit details
-
Copy full SHA for fac5718 - Browse repository at this point
Copy the full SHA fac5718View commit details