Skip to content

Hide Discord and support links in embedded contexts#9135

Open
ericokuma wants to merge 1 commit intomainfrom
cursor/APP-824-support-links-in-embeds-b3f0
Open

Hide Discord and support links in embedded contexts#9135
ericokuma wants to merge 1 commit intomainfrom
cursor/APP-824-support-links-in-embeds-b3f0

Conversation

@ericokuma
Copy link
Copy Markdown
Contributor

When customers embed Rill dashboards, we were displaying links to our Discord community and other Rill-specific support surfaces. This PR hides those links when dashboards are shown in embedded contexts.

Changes

CTANeedHelp.svelte — The shared "Need help? Reach out to us on Discord" component now checks EmbedStore.isEmbedded() and renders nothing in embedded contexts. This covers all surfaces using this component: DashboardBuilding, ProjectBuilding, OrganizationHibernating, etc.

PivotEmpty.svelte — The Discord help link shown during the "building your table" loading state (the exact surface shown in the issue screenshot) is now hidden when isEmbedded is true. The component already had this prop for gating docs links.

TimeDimensionDisplay.svelte — The Discord contact link in the error state is now hidden in embedded contexts using EmbedStore.isEmbedded().

DashboardErrored.svelte — The Discord help link on the dashboard error page is now hidden in embedded contexts using EmbedStore.isEmbedded().

Closes APP-824

Checklist:

  • Covered by tests
  • Ran it and it works as intended
  • Reviewed the diff before requesting a review
  • Checked for unhandled edge cases
  • Linked the issues it closes
  • Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
  • Intend to cherry-pick into the release branch
  • I'm proud of this work!

Linear Issue: APP-824

Open in Web Open in Cursor 

- CTANeedHelp: check EmbedStore.isEmbedded() and hide Discord link
- PivotEmpty: wrap Discord help link in isFetching state with isEmbedded guard
- TimeDimensionDisplay: hide Discord contact link in error state when embedded
- DashboardErrored: hide Discord help link when embedded

Resolves APP-824

Co-authored-by: ericokuma <ericokuma@users.noreply.github.com>
@ericokuma ericokuma marked this pull request as ready for review March 27, 2026 21:22
@ericokuma ericokuma requested review from djbarnwal and royendo March 27, 2026 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants