-
Notifications
You must be signed in to change notification settings - Fork 7k
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
fix: add missing title #13307
fix: add missing title #13307
Conversation
@anikdhabal is attempting to deploy a commit to the cal Team on Vercel. A member of the Team first needs to authorize it. |
Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link. |
📦 Next.js Bundle Analysis for @calcom/webThis analysis was generated by the Next.js Bundle Analysis action. 🤖 One Page Changed SizeThe following page changed size from the code in this PR compared to its base branch:
DetailsOnly the gzipped size is provided here based on an expert tip. First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If Any third party scripts you have added directly to your app using the The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored. |
@@ -22,7 +22,8 @@ export default function AppsLayout({ children, actions, emptyStore, ...rest }: A | |||
|
|||
if (session.status === "loading") return <></>; | |||
return ( | |||
<ShellMain {...rest} actions={actions?.("block")} hideHeadingOnMobile> | |||
<ShellMain {...rest} actions={actions?.("block")} withoutSeo hideHeadingOnMobile> | |||
<HeadSeo title="App Store" description="Connecting people, technology and the workplace." /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should use i18n here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and other pages as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was not using i18n, as @PeerRich suggested using English here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand why we are passing withoutSeo to ShellMain? Doesn't ShellMain support for SEO work correctly?
It seems counterintuitive to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah currently it is useless.
apps/web/pages/bookings/[status].tsx
Outdated
@@ -153,7 +153,8 @@ export default function Bookings() { | |||
const [animationParentRef] = useAutoAnimate<HTMLDivElement>(); | |||
|
|||
return ( | |||
<ShellMain hideHeadingOnMobile heading={t("bookings")} subtitle={t("bookings_description")}> | |||
<ShellMain withoutSeo hideHeadingOnMobile heading={t("bookings")} subtitle={t("bookings_description")}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like ShellMain doesn't support adding HeadSeo at all(which seems like a bug that creeped in later). Shouldn't we simply support HeadSeo there and avoid import HeadSeo everywhere ShellMain is already used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's pretty cool idea to support HeadSeo there and avoid import it everywhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @anikdhabal 🙏 Left some comments.
Thanks for your review. Let me fix that quickly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The title keeps changing back to Cal.com | Cal.com on other pages
Screen.Recording.2024-01-23.at.4.39.03.PM.mov
Thanks for the review. I've updated the code, and now everything is working fine. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Looks like this one consistently fails tests |
So what am I going to do now? Also, those tests are not related to the changes. |
@anikdhabal No, no worries. We'll look into getting the tests fixed. |
Thank you. |
Pull request was converted to draft
Hey @Udit-takkar @keithwillcode two Layout is visible in future version. |
I've fixed the double layout issue. |
@keithwillcode finally. Thanks for your review. |
What does this PR do?
Fixes #13241
/claim #13241