Skip to content
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

[5.x] Collection Actions #10471

Merged
merged 13 commits into from
Aug 13, 2024
Merged

Conversation

edalzell
Copy link
Contributor

@edalzell edalzell commented Jul 17, 2024

Now you can have actions for a specific collection. The action receives the Collection.

Closes statamic/ideas#131

@edalzell edalzell changed the title Listing Actions [5.x] Listing Actions Jul 17, 2024
@edalzell edalzell changed the title [5.x] Listing Actions [5.x] Collection Listing Actions Jul 18, 2024
@edalzell edalzell changed the title [5.x] Collection Listing Actions [5.x] Collection Actions Jul 18, 2024
@edalzell edalzell marked this pull request as ready for review July 18, 2024 21:06
@edalzell edalzell requested a review from jasonvarga July 18, 2024 21:06
@edalzell
Copy link
Contributor Author

@jasonvarga the only thing not done is the automatic refresh on the Collection page (not the collection listing page). I didn't add it because it kills the toast message. Not sure the best way to handle that.

# Conflicts:
#	src/Http/Controllers/CP/Collections/CollectionsController.php
yes we lose the toast, but its no different from if you use the "delete" action while on an entry. the toast is very quickly flashed then you are redirected away.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Actions on Collection
2 participants