-
Notifications
You must be signed in to change notification settings - Fork 52
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
Add: Ability to process already created content #178
Add: Ability to process already created content #178
Conversation
@dinhtungdu the bulk action worked locally but when clicking on the individual Classify links in the row actions, I was getting a 404 page. It looks like the URL is incorrectly formatted and extra items are being appended to the end: Example:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall the code looks good. I did run into an issue with the Classify link in the row actions.
@dinhtungdu changes work as expected. I found an edge-case when testing locally, however. Steps to reproduce:
Expected results: Post is rescanned |
@ryanwelcher I fixed that case, this PR is ready to review again |
Description of the Change
Add bulk and row actions to classify supported post types.
Add a new class:
Classifai\Admin\BulkActions
to manage bulk actions, not onlyfor posts classification, but also images.
Use the
SavePostHandler::classify()
method to classify posts.Alternate Designs
n/a
Benefits
Provide UI for classifying supported post types in bulk.
Possible Drawbacks
n/a
Verification Process
Classify
from bulk actions select box.Checklist:
Applicable Issues
Closes #121. Relate: #129.