Skip to content
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

Merged

Conversation

raissanorth
Copy link
Contributor

@raissanorth raissanorth commented Oct 19, 2018

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!

Copy link
Contributor

@ScopeyNZ ScopeyNZ left a 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?

@raissanorth
Copy link
Contributor Author

Yes, @ScopeyNZ. That's right. Made an additional commit.

Copy link
Contributor

@ScopeyNZ ScopeyNZ left a 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.

@raissanorth raissanorth force-pushed the pulls/4.0/heal-tabby-cat branch from 6ec751d to e46b64e Compare October 19, 2018 02:46
@robbieaverill
Copy link
Contributor

I've published the latest webpack-config, will update this PR

raissanorth and others added 3 commits October 19, 2018 11:12
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.
@robbieaverill robbieaverill force-pushed the pulls/4.0/heal-tabby-cat branch from e46b64e to 9fe5f05 Compare October 19, 2018 09:16
Copy link
Contributor

@robbieaverill robbieaverill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@robbieaverill robbieaverill merged commit 8235447 into silverstripe:master Oct 19, 2018
@robbieaverill robbieaverill deleted the pulls/4.0/heal-tabby-cat branch October 19, 2018 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants