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

Refactor batch actions in CMSMain/HierarchyModelAdmin #2950

Open
GuySartorelli opened this issue May 30, 2024 · 0 comments
Open

Refactor batch actions in CMSMain/HierarchyModelAdmin #2950

GuySartorelli opened this issue May 30, 2024 · 0 comments

Comments

@GuySartorelli
Copy link
Member

Batch actions at best only work for versioned records, but possibly only work for SiteTree specifically.

These should be updated to only show the actions that can be performed on the given model.

Related

Acceptance Criteria

  • All batch actions that are for versioning actions work for all models with the Versioned extension applied
  • Batch actions are only shown for models they can apply to
    • Note that since custom batch actions can be added, we'll need an API to allow developers to indicate what criteria must be met
  • If there are no batch actions applicable for a model class, the option isn't displayed at all.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants