Dissmissable snippet
under review
U
Umbral green Woodpecker
There's a use case where we may use a snippet in articles that describe features that are in a Beta Phase. Once they go GA, we want to be able to just delete the snippet so that all articles that were using the snippet now no longer have the snippet (or the code) that says the feature is Beta.
Log In
D
D360 Product Management
marked this post as
under review
D
D360 Product Management
Umbral green Woodpecker Straightforward Planarian , Convincing Gopher thanks sharing your feedback. The expectation is while deleting the snippet, the respective article also should be updated, which requires to publish it once more as we are updating the content as well. Can you confirm if this the expectation?
U
Umbral green Woodpecker
D360 Product Management: No. in the case of a dismisible snippet, we should not have to publish the article again. Deleting the snippet should just remove it from the articles in which the snippet is used.
Even today, we don't have to update the article when a snippet is updated. The updates just show up. So similar behavior
S
Straightforward Planarian
D360 Product Management: Agree with Nibu here, currently if we update a snippet the already published articles that use it are automatically updated live. In removing a snippet it should just be removed from the article without having to publish again, the way it already works with updating it.
S
Straightforward Planarian
We have a use case for this too, if we could just delete the snippet it would save time from going into every article that uses the snippet and deleting it from each article. For us this could hundreds of articles at a time.
The only quick way to deal with this for us is to just delete the content of the snippet and save it or pop in a space as the only thing in the snippet, which leaves unnecessary code in the article.
S
Separate Lungfish
If I understand correctly, this could be similar to something I've been thinking about: Removing a snippet from articles directly from the snippet dependencies list. This would be a significant time-saver when, say, several features go GA at once. You'd be able to remove the Beta snippet from multiple articles in only a few clicks.