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
Adding actions in the resources row #188
Comments
The current solution for this is to create an action, check that row's box and run the action. What type of actions would make sense in-line, but not with the checkbox-then-run-action flow? |
@Andy-Baker as an example: I created a Page Model and would like to sort the models directly from the index view. |
@Andy-Baker An example: To activate a user account, the nova user will search using the targeted user account using the email and there will be only one result, you can just click the activate button directly instead of checking it, going to the actions drop down and clicking activate. |
@Andy-Baker Another example: I have list of customers. I need to create an appointment for Customer #1. I open the action, input the appointment time and run the action. Being that I cannot have two customers scheduled for the same appointment time, this action only runs on a specific Customer record. Right now I have to navigate to the customer record, click actions, select action. That's 3 clicks and a page load when I could do the action with one click. |
@ardyn your action would be @albalooshi being that you can have MANY actions, and those actions can be on MANY relationship interfaces.. ie view many users on a single account detail, or same app and users as event attendees, I think cluttering up the row wouldn't be the solution when that action may not make sense on an related interface. Would also run into the issue of wanting to conditionally show actions on rows I think a different ui specific to this flow would make the most sense |
Second thought, its a great idea lol as a field |
This is currently not supported. You can add your own customized version of the resource's table row component if you absolutely need this. |
Is there any post or package for this? |
In the most recent release notes for
But I can't find any documentation on that. Has anyone figured out how to do it? Can we get the documentation to update when releases go out as well? Edit : There is a public parameter for |
The docs were updated at the same time as release. Here's the relevant section: https://nova.laravel.com/docs/2.0/actions/defining-actions.html#action-visibility |
Is it possible to add specific actions in a row next to the the three current icons? Please see the attached image for an example
If not can I request this feature?
The text was updated successfully, but these errors were encountered: