[6.x] Make actions available in a collection tree view#14331
Open
Devsome wants to merge 3 commits intostatamic:6.xfrom
Open
[6.x] Make actions available in a collection tree view#14331Devsome wants to merge 3 commits intostatamic:6.xfrom
Devsome wants to merge 3 commits intostatamic:6.xfrom
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Hello everyone,
First of all, thank you for Statamic 6. After someone on Discord pointed me to Issue 575 and I saw the other pull requests 4070 & 4439, I decided to give it a try and follow the contribution guidelines.
Procedure:
npm ci && npm run buildin the statamic/cms projectddev artisan vendor:publish --tag=statamic-cp --force && ddev yarn build && ddev artisan optimize:clearddev artisan statamic:make:actionIf I've forgotten anything or something is missing, please let me know. Even if it isn't accepted, as stated in the Contribution Guidelines, it might still be helpful to others who need it.
This is what my custom action looks like
How it looks like in the TreeView:

How it looks like in the ListView:
