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

EPIC Publication state of parent object should reflects the state of dependant objects #419

Open
maxime-rainville opened this issue Oct 10, 2023 · 2 comments

Comments

@maxime-rainville
Copy link
Contributor

maxime-rainville commented Oct 10, 2023

Big story

As a content author, I want to see at a glance if there are unpublished DataObject tied to a page so I can actioned any required changes.

Context

Sometime a CMS page depends on a child DataObject for its content. Those children might have unpublished changes even if their owner does not. The "Publish" button only reflects the publication state of owner without considering its dependants.

Related

@mfendeksilverstripe
Copy link
Contributor

@maxime-rainville Adding this one here as well - it's the same root cause.

silverstripe/silverstripe-cms#2892

Cancel draft changes should be displayed under the same condition when we prompt user to publish changes. Basically when there are changes to publish the user needs to be prompted by the UI to either publish them or discard them.

@maxime-rainville
Copy link
Contributor Author

maxime-rainville commented Oct 16, 2023

Maybe once the initial 3 cards are done, we want to have go at improving the versioned state of Elemental Areas with JS to update the dirty state of the Save/Publish buttons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants