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

Tag cloud: Improve "no content" rendering when there are no tags #63354

Closed
richtabor opened this issue Jul 10, 2024 · 3 comments
Closed

Tag cloud: Improve "no content" rendering when there are no tags #63354

richtabor opened this issue Jul 10, 2024 · 3 comments
Labels
[Block] Tag Cloud Affects the Tag Cloud Block [Type] Enhancement A suggestion for improvement.

Comments

@richtabor
Copy link
Member

Like many other blocks, we should not render a "no content" message on the front end.

I propose the editor could render example tags (even tag-1, tag-2) if there are no tags.

And on the front end, don't render anything (not unlike the empty button block, or empty site description).

Current (editor)

CleanShot 2024-07-10 at 09 15 02

Current (front end)

CleanShot 2024-07-10 at 09 22 27

@richtabor richtabor added [Type] Enhancement A suggestion for improvement. [Block] Tag Cloud Affects the Tag Cloud Block labels Jul 10, 2024
@akasunil
Copy link
Member

I'm not sure about the examples of tags. However, text messaging has to be improved to be more specific to tag cloud block.
Also, we definitely should prevent the block from rendering on the front end if tags are not available.

@akasunil
Copy link
Member

Duplicate issue of #63684

@richtabor
Copy link
Member Author

And both mine. I'll close this one as the other is clearer. 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Tag Cloud Affects the Tag Cloud Block [Type] Enhancement A suggestion for improvement.
2 participants