Skip to content

chore: tech debt clearing — remove HeadSeo from components where not needed#19151

Merged
hbjORbj merged 1 commit intomainfrom
chore/tech-debt-clearing-remove-headseo-from-apps-page
Feb 7, 2025
Merged

chore: tech debt clearing — remove HeadSeo from components where not needed#19151
hbjORbj merged 1 commit intomainfrom
chore/tech-debt-clearing-remove-headseo-from-apps-page

Conversation

@hbjORbj
Copy link
Copy Markdown
Contributor

@hbjORbj hbjORbj commented Feb 7, 2025

What does this PR do?

  • Removes HeadSeo for pages already migrated to App Router (we don't need it because in App Router generateMetadata handles it)

Mandatory Tasks (DO NOT REMOVE)

  • I have self-reviewed the code (A decent size PR without self-review might be rejected).
  • N/A - I have updated the developer docs in /docs if this PR makes changes that would require a documentation change. If N/A, write N/A here and check the checkbox.
  • I confirm automated tests are in place that prove my fix is effective or that my feature works.

@graphite-app graphite-app Bot requested a review from a team February 7, 2025 03:42
@keithwillcode keithwillcode added consumer core area: core, team members only labels Feb 7, 2025
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 7, 2025

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

Name Status Preview Comments Updated (UTC)
cal-com-ui-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 7, 2025 4:01am
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview Feb 7, 2025 4:01am
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Feb 7, 2025 4:01am

@hbjORbj hbjORbj changed the title chore: tech debt clearing remove headseo from apps page chore: tech debt clearing — remove HeadSeo from pages not needed Feb 7, 2025
@hbjORbj hbjORbj changed the title chore: tech debt clearing — remove HeadSeo from pages not needed chore: tech debt clearing — remove HeadSeo from components where not needed Feb 7, 2025
"[--cal-brand-emphasis:#101010] dark:[--cal-brand-emphasis:#e1e1e1] "
)}>
<div className="bg-muted 2xl:border-subtle grid w-full max-w-[1440px] grid-cols-1 grid-rows-1 overflow-hidden lg:grid-cols-2 2xl:rounded-[20px] 2xl:border 2xl:py-6">
<HeadSeo title={t("sign_up")} description={t("sign_up")} />
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

app/signup/page.tsx has generateMetadata replacing this

export default function WrappedApp(props: AppPageProps) {
return (
<Shell smallHeading isPublic hideHeadingOnMobile heading={<ShellHeading />} backPath="/apps" withoutSeo>
<HeadSeo
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

app/apps/[slug]/page.tsx has generateMetadata replacing this

@graphite-app
Copy link
Copy Markdown

graphite-app Bot commented Feb 7, 2025

Graphite Automations

"Add consumer team as reviewer" took an action on this PR • (02/07/25)

1 reviewer was added to this PR based on Keith Williams's automation.

joeauyeung
joeauyeung previously approved these changes Feb 7, 2025
@hbjORbj hbjORbj merged commit 1babf5b into main Feb 7, 2025
@hbjORbj hbjORbj deleted the chore/tech-debt-clearing-remove-headseo-from-apps-page branch February 7, 2025 04:11
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 7, 2025

E2E results are ready!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

consumer core area: core, team members only ready-for-e2e

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants