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

Fix batch actions on non-pending tags in admin interface #12537

Merged
merged 1 commit into from
Dec 29, 2019

Conversation

ClearlyClaire
Copy link
Contributor

Currently, the Hashtag admin page shows batch action checkboxes on every page but only actually show action buttons on the “pending review” tab. This is confusing and unnecessary, and frustrating when one checks every tag then figures out they can't act on them.

This PR changes that to:

  • Allow batch actions on unreviewed tags
  • Hide checkboxes when batch actions aren't available (“all” and “reviewed” tabs)

I wonder about that last part: should we allow to override the state even for reviewed tags? If so we could just show the batch actions in all cases.

image

- Allow batch actions on unreviewed tags
- Hide checkboxes when batch actions aren't available
@ClearlyClaire ClearlyClaire force-pushed the fixes/hashtag-bash-actions branch from 50b0d4a to 9439de7 Compare December 17, 2019 14:51
@ClearlyClaire
Copy link
Contributor Author

oops, I had inadvertently added a temporary file. Removed it and rebased the PR

@Gargron Gargron merged commit 162dc84 into mastodon:master Dec 29, 2019
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.

3 participants