-
Notifications
You must be signed in to change notification settings - Fork 115
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 update tab loading to use recent admin module changes #458
FIX update tab loading to use recent admin module changes #458
Conversation
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.
Nice. Not complicated at all... I think this means we can remove redux-form
from package.json?
Yes, @ScopeyNZ. That's right. Made an additional commit. |
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.
Happy but you'll need to yarn build
.
6ec751d
to
e46b64e
Compare
I've published the latest webpack-config, will update this PR |
The admin module previously used the redux-form store to track the active Tab within a Tabs component. However this was recently refactored in the admin module to use a different shard in the redux store, as it was causing problems (functionality regressions) in form state with the asset-admin module. So the logic here in Elemental also required updating.
e46b64e
to
9fe5f05
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
Changes in this PR contain a refactor to -reenable setting the tab via the action menu after changes in admin(silverstripe/silverstripe-admin#694).
Fixes #448
Dependent on:
Thanks @NightJar for the awesome peering!