-
Notifications
You must be signed in to change notification settings - Fork 94
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
NEW Allow state to be passed back on grid field actions #757
NEW Allow state to be passed back on grid field actions #757
Conversation
945fd0e
to
ccabba8
Compare
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.
LGTM, pending the dependent PR being merged
I've just noticed there's an issue with |
Keep in mind we're doing something similar with the betterbuttons port to retain the state for the |
I think you're using |
Tests need to be fixed up. |
Looks like PECL was having some problems yesterday. I've restarted the builds |
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.
Just did a quick code review. Couldn't fully test because of silverstripe/silverstripe-framework#8627 (review)
1d81386
to
1d5a98f
Compare
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.
Let it be merge.
1d5a98f
to
2fda791
Compare
I've just rebased. I don't expect that a rebase will fix the failing builds that aren't related. I don't have time to address the failing Behat tests within this PR. |
I think I found an issue so please don't merge yet. |
@ScopeyNZ Have you found/resolve your this new mysterious issue? |
Yeah. The issue was the same that is fixed by #765 . Sorry we're good to merge given that's fixed 🙂 |
Merging everything before anyone has a chance to say otherwise. |
But.... |
Jokes |
This PR is a benign addition to GridField actions to pass through an "action-state" data attribute (if available) into the request that performs an action. This is targetting 1.3 as it's part of a fix to prevent cramming the session with unnessecary data which doesn't scale well.
See related PR silverstripe/silverstripe-framework#8627