Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

Conversation

hbjORbj
Copy link
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
Copy link

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
@@ -337,7 +327,6 @@ export default function Signup({
"[--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
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

@@ -14,11 +13,6 @@ const ShellHeading = () => {
export default function WrappedApp(props: AppPageProps) {
return (
<Shell smallHeading isPublic hideHeadingOnMobile heading={<ShellHeading />} backPath="/apps" withoutSeo>
<HeadSeo
Copy link
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

Copy link

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
62 of 113 checks passed
@hbjORbj hbjORbj deleted the chore/tech-debt-clearing-remove-headseo-from-apps-page branch February 7, 2025 04:11
Copy link
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