Add experimental abilities and workflow palette and move abilities API#72703
Add experimental abilities and workflow palette and move abilities API#72703
Conversation
|
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. |
|
@emdashcodes and @jorgefilipecosta, pinging you for awareness.
Nice one! What are the exact changes required? We want to sync back to the repo as we prepare the next Composer release. |
|
Size Change: +64.3 kB (+2.65%) Total Size: 2.49 MB
ℹ️ View Unchanged
|
4be3a9b to
c25096a
Compare
|
I went ahead and added |
|
Flaky tests detected in 7abe922. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/19170144434
|
df97040 to
766fe20
Compare
19d11eb to
d0f22f0
Compare
|
The changes here appear to be causing build failures on Example run: https://github.com/WordPress/gutenberg/actions/runs/19374127875/job/55437158928 I can reproduce the issues after: Edit: Fix at #73314 |
This variable was added in #72703 and is not part of the public API. Inline the value at usage sites to avoid exposing it via _variables.scss. This needs to be backported to wp/7.0 before the official release. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
What?
This PR is the starting point for working on #70710, here I setup a new command palette package (that's a copy of the existing commands package). This one for now opens with
cmd+j, shows a list of possible abilities and execute them, follow up work would be to build a whole workflow and execute it step by step, which is not part of this PR.This PR also brings in the abilities package from https://github.com/WordPress/abilities-api/, thought not required for this PR, it's something that we need to do long term. I copy-pasted the package from there with some minor edits (store name changed to
core/and some typescript/package changes).Testing Instructions
Testing this PR requires https://github.com/WordPress/abilities-api/tree/trunk to be installed to provide the core abilities.
cmd+jto open the palette.Testing Instructions for Keyboard