Skip to content

Fix/hubspot meetings embed - #5906

Draft
Yndira-E wants to merge 2 commits into
mainfrom
fix/hubspot-meetings-embed
Draft

Yndira-E wants to merge 2 commits into
mainfrom
fix/hubspot-meetings-embed

Conversation

@Yndira-E

@Yndira-E Yndira-E commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Description

Fixes the embedded HubSpot calendar (/book-demo, /landing/tulip) not showing up in some cases:

  • On a reload with cookies already accepted, the cookie banner script could fire its consent callback before the component had mounted, leaving the calendar stuck on the "Choose a time to talk" fallback. The component now checks stored consent on mount and listens for cc:onConsent/cc:onChange instead of the window._ffLoadMeetings global (removed from cookieconsent-config.js).
  • When the page was reached again without a full reload (e.g. back/forward after a client-side navigation), the container stayed empty: HubSpot's script only scans for containers once, when it loads. The component now asks it to scan the new container, or waits for it to finish loading first.
  • The fallback panel's negative margin no longer clips its top edge when no iframe has loaded.

Also, the sales calendar URL is read from site.meetings.salesRoundRobin instead of being hard-coded in each place, and dataSrc is optional. /landing/tulip moves from the old calendar to the shared one on purpose (the old one was obsolete).

Related Issue(s)

Checklist

  • I have read the contribution guidelines
  • I have considered the performance impact of these changes
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
  • For blog PRs, an Art Request has been created (instructions)

@netlify

netlify Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for flowfuse-website ready!

Name Link
🔨 Latest commit 6726783
🔍 Latest deploy log https://app.netlify.com/projects/flowfuse-website/deploys/6abfbc5128fc2d00081389e1
😎 Deploy Preview https://deploy-preview-5906--flowfuse-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 43 (🟢 up 12 from production)
Accessibility: 95 (no change from production)
Best Practices: 92 (no change from production)
SEO: 92 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

This branch has not been deployed

No deployments
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.

1 participant