Skip to content

Hotfix/Hide Branding in Embed.#5975

Merged
JeroenReumkens merged 2 commits intomainfrom
hotfix/branding-embed
Dec 12, 2022
Merged

Hotfix/Hide Branding in Embed.#5975
JeroenReumkens merged 2 commits intomainfrom
hotfix/branding-embed

Conversation

@hariombalhara
Copy link
Copy Markdown
Member

What does this PR do?

Fixes #5973

Environment: Production

Type of change

  • Bug fix (non-breaking change which fixes an issue)

@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 12, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
cal ✅ Ready (Inspect) Visit Preview Dec 12, 2022 at 8:34AM (UTC)

</div>
{(!restProps.isBrandingHidden || isEmbed) && <PoweredByCal />}
{/* FIXME: We don't show branding in Embed yet because we need to place branding on top of the main content. Keeping it outside the main content would have visibility issues because outside main content background is transparent */}
{!restProps.isBrandingHidden && !isEmbed && <PoweredByCal />}
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

We haven't shown branding in embed since the beginning. Some recent changes made it visible in Embed.
I have now added a comment also explaining why branding isn't shown in Embed as of now.

Copy link
Copy Markdown
Member Author

@hariombalhara hariombalhara Dec 12, 2022

Choose a reason for hiding this comment

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

cc @Jaibles for design on appropriate placement of branding(Powered by Cal) on embeds

@hariombalhara hariombalhara requested a review from a team December 12, 2022 05:00
@hariombalhara hariombalhara changed the title Hide Branding in Embed. Hotfix/Hide Branding in Embed. Dec 12, 2022
@JeroenReumkens JeroenReumkens enabled auto-merge (squash) December 12, 2022 08:27
@JeroenReumkens JeroenReumkens merged commit 56c07ec into main Dec 12, 2022
@JeroenReumkens JeroenReumkens deleted the hotfix/branding-embed branch December 12, 2022 08:37
hariombalhara added a commit that referenced this pull request Dec 12, 2022
kodiakhq Bot pushed a commit that referenced this pull request Dec 12, 2022
@PeerRich PeerRich added the core area: core, team members only label Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core area: core, team members only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CAL-578] Issues with "disable branding" and theme in embed

3 participants