-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Add experimental abilities and workflow palette and move abilities API #72703
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
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
6716504
Try pulling in Abilities into Gutenberg
senadir 879158e
Add experimental workflow palette package
senadir da47379
Enable abilities store export and cleanup commands package
senadir de87e76
Update abilities package to follow Gutenberg conventions
senadir 9ff5ad4
fix types for AJV to work
senadir d3cea3b
fix import headers
senadir 666dbc7
mark workflow package as private
senadir 80d3965
remove redudant icon on input in favor of the icon on the parent com…
senadir 10b8c0f
use variables for colors
senadir 081ef06
move away from useMemo
senadir 5761d54
import sass:color
senadir 0e9cb81
update abilitites package to latest version
senadir b19884e
move pacakge init to script
senadir b0298c9
remove package from manifest
senadir 00d2e20
Address review feedback
senadir 69dffc0
try resetting lock
senadir 7e58844
review feedback
jorgefilipecosta 6af2911
remanining feedback
jorgefilipecosta 1c2c3af
unit test updates
jorgefilipecosta bcdeff5
feedback continuation
jorgefilipecosta 58e7e46
fix test cases
jorgefilipecosta e28a2d3
lint fixes
jorgefilipecosta 2ac2b8d
condigion enhacement on abilities actions
jorgefilipecosta 4f5b906
lint to gutenberg repo
jorgefilipecosta d051584
update tests
jorgefilipecosta 3531162
pull latest changes from abilities
senadir d0f22f0
use withIgnoreIMEEvents and add comment
senadir e930153
revert lock again
senadir c569657
address styling
senadir File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,16 @@ | ||
| <?php | ||
| /** | ||
| * Enqueues the assets required for the Workflow Palette. | ||
| * | ||
| * @package gutenberg | ||
| */ | ||
|
|
||
| /** | ||
| * Enqueue workflow palette assets on all admin pages. | ||
| */ | ||
| function gutenberg_enqueue_workflow_palette_assets() { | ||
| wp_enqueue_script( 'wp-workflow' ); | ||
| wp_enqueue_style( 'wp-workflow' ); | ||
| } | ||
|
|
||
| add_action( 'admin_enqueue_scripts', 'gutenberg_enqueue_workflow_palette_assets' ); | ||
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.