-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[UI] List toolbar - select all to perform batch action #14392
base: 6.x
Are you sure you want to change the base?
Conversation
$postActionVars, | ||
$this->getSessionBase(), | ||
$this->getModelName(), | ||
[$this, 'isLocked'], |
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.
I would create another service for this isLocked method but that can be done in the second step.
On the current state, while we can see the button for selecting all, only contacts from the page you're on receive the batch action, right? Screencast.From.2024-12-18.10-02-36.mp4 |
@andersonjeccel The select all should work for contacts batch actions already. I reckon you might need to clear browser cache as there's JS changes. |
@laurielim Definitely working great! I'm happy to see this feature ready :) When checking the branch locally, the command You can try rebasing the branch using the last version of #14275 to avoid dealing with conflicts, or invite me to your fork so I can help you if needed |
@andersonjeccel yep the branch was outdated, based my branch off #14306 which i've now rebased so should have latest packages now. Also this is now ready for review. I did add you as collaborator though in case. |
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.
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.
@kuzmany could you provide a step by step please? I am not able to reproduce. |
@laurielim, please resolve the conflicts. |
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.
…odel; Use BatchDeleteService in FieldController
…eleted expected return
…dInterface in UserModel
…dInterface in RoleModel
…d in cannotBeDeleted fn
0f1379b
to
2ff08db
Compare
@laurielim Hm, would you say that rebasing was successful? I'm wondering if something broke along the way to result on the failing tests |
05de5da
to
bb9e1fc
Compare
Description
📋 Steps to test this PR: