#64096 closed enhancement (fixed)
Notes: PHP backports from Gutenberg
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 6.9 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Editor | Keywords: | gutenberg-merge has-patch commit |
| Focuses: | Cc: |
Description
Gutenberg Issue: https://github.com/WordPress/gutenberg/issues/71826
We plan to stabilize "Notes" feature (formerly known as Block Comments) for the 6.9 release. The Notes feature requires extending the comments REST API, and we need to backport the PHP changes made in Gutenberg into core.
Change History (20)
This ticket was mentioned in Slack in #core-editor by wildworks. View the logs.
4 weeks ago
This ticket was mentioned in PR #10280 on WordPress/wordpress-develop by @wildworks.
4 weeks ago
#2
- Keywords has-patch added
@wildworks commented on PR #10280:
4 weeks ago
#3
Ok, I believe backporting PHP should be all done. Next, I'll try to fix the failing tests.
@Mamaduka commented on PR #10280:
4 weeks ago
#4
Ok, I believe backporting PHP should be all done. Next, I'll try to fix the failing tests.
I think we're missing the Notes-specific unit tests.
@wildworks commented on PR #10280:
4 weeks ago
#6
Thanks both of you for your feedback! I got a bit confused about the JS fixtures, so I've put them back to how they were 😄 I'll look into how to update them properly.
@wildworks commented on PR #10280:
4 weeks ago
#8
I got a bit confused about the JS fixtures, so I've put them back to how they were
For some reason I no longer get the error.
@TimothyBlynJacobs commented on PR #10280:
4 weeks ago
#9
Ditto all the feedback about wishing we had a fleshed out comment types API about now. But I think this looks pretty reasonable.
@swissspidy commented on PR #10280:
4 weeks ago
#11
Curious, does this work well with WP-CLI out of the box when dealing with comments?
@Mamaduka commented on PR #10280:
4 weeks ago
#14
Curious, does this work well with WP-CLI out of the box when dealing with comments?
Do you have any particular concerns, @swissspidy? I've only used WP-CLI to clean up test data or migrate notes after the type change. It worked perfectly.
@t-hamano, what are the remaining blockers here?
@wildworks commented on PR #10280:
4 weeks ago
#15
@t-hamano, what are the remaining blockers here?
I think I've addressed all the feedback.
@wildworks commented on PR #10280:
3 weeks ago
#16
I haven't committed to core yet, so I'd be happy if someone could do that 😅 That said, I'd like to set up an SVN environment, understand the core committer workflow, and try my hand at committing within the 6.9 cycle.
@adamsilverstein commented on PR #10280:
3 weeks ago
#17
I haven't committed to core yet, so I'd be happy if someone could do that 😅 That said, I'd like to set up an SVN environment, understand the core committer workflow, and try my hand at committing within the 6.9 cycle.
@t-hamano - I'm happy to take this commit so your first effort isn't so large!
This ticket was mentioned in Slack in #core-committers by adamsilverstein. View the logs.
3 weeks ago
@JeffPaul commented on PR #10280:
2 weeks ago
#22
@desrosj any idea why the Playground bot commented after the PR was closed versus after it was opened? Seems like it ideally triggers after a PR is opened so folks have an easy way to test, yeah?
@desrosj commented on PR #10280:
2 weeks ago
#23
@jeffpaul The workflow that leaves the Playground comment runs when the Test Build Process workflow completes (the results of the build process are zipped and uploaded to these runs).
Looking at the timeline of events on the PR, I think what happened was as follows:
- https://github.com/WordPress/wordpress-develop/pull/10280/commits/2ad2332cd4d4bddc46a6ecb999ac8402cc48237b was merged into the HEAD branch.
- ~10 minutes later, the commit to
trunkwas made and mirrored to this repository in https://github.com/WordPress/wordpress-develop/commit/c62fe7e3322fd50d1d912048a879dbbf94e5dab1. - The Test Build Process workflow was probably still running at this time, or had not started and was queued because of the log jam that happened leading up to beta 1.
- The workflow finally finished and triggered the commenting workflow ~30 minutes later.
The commenting workflow does _not_ currently check if the PR has been closed before posting. It just relies on the prerequisite workflow run completing. There is Core-61568 on Trac that is aimed at only sharing a Playground link when the changes are being made would actually be testable within a Playground instance. For example, GitHub Action workflow files cannot be tested in Playground. I am going to add this to a comment on that ticket so it does not get lost.
@desrosj commented on PR #10280:
10 days ago
#49
Despite being reported several times and continually deleting the content, this account continues to spam this PR. I am going to lock the conversation for this PR to avoid the massive amounts of noise.
This PR updates the core Comments REST API to allow the Notes feature to work properly.