Repository navigation
Conversation
|
Size Change: +134 B (+0.01%) Total Size: 1.92 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in f7d0169. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/12910826763
|
jasmussen
left a comment
There was a problem hiding this comment.
I'd prefer some additional feedback before landing, but this resonates.
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
| getSettings().onNavigateToEntityRecord, | ||
| title: entityRecord?.title, | ||
| canUserEdit: !! _canUserEdit, | ||
| isNavigationMode: _isNavigationMode(), |
There was a problem hiding this comment.
Suggestion (non-blocking): Should we return onNavigateToEntityRecord as undefined when the block editor isn't in navigation mode? This value is only used with that method.
| onNavigateToEntityRecord: | ||
| getSettings().onNavigateToEntityRecord, | ||
| isNavigationMode: _isNavigationMode(), |
d1d7d62 to
f7d0169
Compare
Mamaduka
left a comment
There was a problem hiding this comment.
Left a couple of non-blocking suggestions and rebased the branch. I'll merge this after CI check re-run.
f7d0169 to
5f227a8
Compare
|
I just rebased this. What's the status? Do you think it's still okay to merge? I retested and it's working as described still. |
|
@ramonjd I think there was some discussion between @annezazu and @richtabor that made it unclear whether this change is desired. These are the comments - #67372 (comment) and #67372 (comment). The second comment seems to describe how it works already in trunk. |
What?
Follows up on #67372, in particular @annezazu's comments about:
Why?
The general idea is that Write Mode is kept very simple, and access to those more advanced options isn't available without switching out of Write Mode.
I think it needs some wider feedback though, as it didn't seem like there was consensus in #67372
How?
Adds a few conditions to the rendering of these elements
Testing Instructions
Double click behavior
Edit button on synced patterns and template parts
Screenshots or screencast