-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable native editor onboarding features globally (#35201)
* Enable new block badge globally We decided to enable the new block badge for all users. * Update release notes * Fix block inserter unit test Now that block impressions are enabled for all users, we must update the test expectation to include the `isNew` property set by `useBlockTypeImpression`. An alternative would be to update this test to not explicitly check the component prop, but the rendered result which the user can see. * Remove editor onboarding bridging methods The bridging methods are no longer necessary now that we display editor onboarding features for all users. * Remove help support articles from release notes This feature was delivered in a previous release via a beta fix. * Remove first block editor session flag * Remove unnecessary trailing comma * Relocate native-specific fixture setup Place fixture setup in fixture file rather than within test file.
- Loading branch information
Showing
8 changed files
with
29 additions
and
35 deletions.
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
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
12 changes: 12 additions & 0 deletions
12
packages/block-editor/src/components/inserter/test/fixtures/index.native.js
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* Internal dependencies | ||
*/ | ||
import fixtures from './index.js'; | ||
|
||
export * from './index'; | ||
|
||
export default fixtures.map( ( filteredItems ) => ( { | ||
...filteredItems, | ||
// Set `isNew` property expected from block type impressions | ||
isNew: false, | ||
} ) ); |
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
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
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
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
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