Skip to content

feat(web): add Book a Call button to sidebar and docs navbar#1441

Merged
msukkari merged 2 commits into
mainfrom
michael/book-a-call-SOU-1450
Jul 14, 2026
Merged

feat(web): add Book a Call button to sidebar and docs navbar#1441
msukkari merged 2 commits into
mainfrom
michael/book-a-call-SOU-1450

Conversation

@msukkari

@msukkari msukkari commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

SOU-1450
SOU-1449

image

Note

Low Risk
UI-only navigation to external Calendly URLs; no auth, data, or business-logic changes.

Overview
Adds Book a Call CTAs that link to Calendly so users can schedule sales/support calls from the product and docs.

In the web app, a new sidebar footer control opens Calendly in a new tab. The link includes utm_source=app for self-hosted deployments and utm_source=public-app when EXPERIMENT_ASK_GH_ENABLED is on, so bookings from the public Ask GitHub experience can be distinguished. Both the main and settings sidebars pass that flag into SidebarBase.

On the docs site, the navbar primary button is switched from GitHub to Book a Call with utm_source=docs. Footer social links to GitHub are unchanged.

Reviewed by Cursor Bugbot for commit fed01fb. Bugbot is set up for automated code reviews on this repo. Configure here.

Summary by CodeRabbit

  • New Features
    • Added “Book a Call” buttons to the documentation navigation and application sidebar.
    • Links open Calendly in a new browser tab and include relevant source tracking.
  • Updates
    • Replaced the documentation navbar’s GitHub link with the new booking call-to-action.
    • Added the booking option to both standard and settings sidebar layouts.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

@msukkari your pull request is missing a changelog!

@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

The documentation navbar GitHub link is replaced with a Calendly Book a Call link. Application sidebars now render a Book a Call button with tracking determined by the Ask GH experiment flag.

Changes

Book a Call entry points

Layer / File(s) Summary
Application sidebar Book a Call integration
packages/web/src/app/(app)/@sidebar/components/bookACallSidebarButton.tsx, packages/web/src/app/(app)/@sidebar/components/*Sidebar/..., packages/web/src/app/(app)/@sidebar/components/sidebarBase.tsx
Adds the Calendly sidebar button, threads the Ask GH flag through both sidebar variants, and renders the button in the sidebar footer.
Documentation navbar CTA
docs/docs.json
Replaces the GitHub navbar entry with a Calendly Book a Call link using the docs tracking parameter.

Estimated code review effort: 2 (Simple) | ~10 minutes

Sequence Diagram(s)

sequenceDiagram
  participant SidebarVariant
  participant SidebarBase
  participant BookACallSidebarButton
  participant Calendly
  SidebarVariant->>SidebarBase: pass isAskGhEnabled
  SidebarBase->>BookACallSidebarButton: render with feature flag
  BookACallSidebarButton->>Calendly: open tracked Book a Call link
Loading
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: adding a Book a Call button to the sidebar and docs navbar.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch michael/book-a-call-SOU-1450

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mintlify

mintlify Bot commented Jul 14, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
sourcebot 🟢 Ready View Preview Jul 14, 2026, 2:08 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@mintlify

mintlify Bot commented Jul 14, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
sourcebot 🟡 Building Jul 14, 2026, 2:07 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@msukkari msukkari merged commit e6a2fd2 into main Jul 14, 2026
13 checks passed
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