Skip to content

Conversation

@sanne-san
Copy link
Contributor

Changes

  • All empty states have been enhanced by center-aligned copy, link to docs, and CTA.
  • Whenever empty state is shown, the setting's subtitle is hidden.

Tests

  • Automated tests have been added
  • This PR does not require tests

Dark mode

  • The UI has been tested both in dark and light mode

@ukutaht ukutaht added the preview label Nov 5, 2025
@github-actions
Copy link

github-actions bot commented Nov 5, 2025

Preview environment👷🏼‍♀️🏗️
PR-5874

- Add show_content? attribute to generic tile component
- Ensure content is hidden when toggled off
- Avoid rendering border and empty space when toggled off
- Fix formatting
Comment on lines +166 to +174
has_shared_links? =
Repo.exists?(
from(l in Plausible.Site.SharedLink,
where:
l.site_id == ^site.id and
l.name not in ^Plausible.Sites.shared_link_special_names()
)
)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added this so that I can hide the setting subtitle when the empty state is shown. I'm not sure this is the right place to put it, and it works but requires a page refresh for it to take effect.

@sanne-san sanne-san requested a review from a team November 6, 2025 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants