Skip to content

fix: hide Discord link in embedded canvas pivot tables#9639

Open
rohithreddykota wants to merge 1 commit into
mainfrom
rohithreddykota/fix-discord-link-embedded-canvas-pivot
Open

fix: hide Discord link in embedded canvas pivot tables#9639
rohithreddykota wants to merge 1 commit into
mainfrom
rohithreddykota/fix-discord-link-embedded-canvas-pivot

Conversation

@rohithreddykota

Copy link
Copy Markdown
Contributor

Hide the Discord/docs links in embedded canvas pivot tables.

  • The v0.85.0 fix (Hide Discord and support links in embedded contexts #9135) guarded these links behind PivotEmpty's isEmbedded prop, which only the explore path threaded through. CanvasPivotRenderer never passed it, so Discord still showed in embedded canvas pivot components.
  • Pass isEmbedded={EmbedStore.isEmbedded()} from CanvasPivotRenderer, matching the explore path.

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!

Developed in collaboration with Claude Code

CanvasPivotRenderer rendered PivotEmpty without passing isEmbedded, so it
defaulted to false and the Discord/docs links still showed in embedded
canvas pivot components. Pass EmbedStore.isEmbedded(), matching the
explore path fixed in #9135.
@nishantmonu51 nishantmonu51 added Type:Bug Something isn't working Area:Pivot Size:S Small change: under 100 lines labels Jul 2, 2026
@rohithreddykota rohithreddykota self-assigned this Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area:Pivot Size:S Small change: under 100 lines Type:Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants