Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Changed images may not have a draft article to preview the image in article context #182

Open
cpolcyn opened this issue Mar 19, 2018 · 1 comment

Comments

@cpolcyn
Copy link
Contributor

cpolcyn commented Mar 19, 2018

If an article referencing an image has been published, and in a subsequent publish the image changes but not the article, then that article will not appear in the bundle review page. This means that the user is unable to preview the changed image in the context of the referencing article. The changed image will still show up in the "Changed images" section of the bundle review page, so the changed image can be seen by itself that way. Also, the user may preview the changed image in the context of the article locally, outside of the sfdoc system.

@cpolcyn
Copy link
Contributor Author

cpolcyn commented Mar 19, 2018

The fix for this should find every article that references a changed image, and if it doesn't already have a draft for that bundle, then a draft should be created to preview the changed image. The article draft would be identical to the already published version. If and when the bundle is accepted/published, these article drafts could be published as normal, or instead (preferred) they would not be published so that there's not a new version with no differences. In that case the draft could be deleted or left alone.

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

Successfully merging a pull request may close this issue.

1 participant