-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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: [app-router-migration-11] Migrate workflow page group #12777
chore: [app-router-migration-11] Migrate workflow page group #12777
Conversation
@DmytroHryshyn 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. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
2695b32
to
1d6ad29
Compare
3a117ec
to
87d4b85
Compare
d8247a0
to
910a08a
Compare
1c43109
to
ebae929
Compare
ebae929
to
276d740
Compare
import { WithLayout } from "app/layoutHOC"; | ||
|
||
import { getLayout } from "@calcom/features/MainLayoutAppDir"; | ||
import LgeacyPage from "@calcom/features/ee/workflows/pages/index"; |
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.
import LgeacyPage from "@calcom/features/ee/workflows/pages/index"; | |
import LegacyPage from "@calcom/features/ee/workflows/pages/index"; |
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.
addressed
(t) => t("workflows_to_automate_notifications") | ||
); | ||
|
||
export default WithLayout({ getLayout, Page: LgeacyPage })<"P">; |
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.
export default WithLayout({ getLayout, Page: LgeacyPage })<"P">; | |
export default WithLayout({ getLayout, Page: LegacyPage })<"P">; |
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.
addressed
async function getProps(context: GetServerSidePropsContext) { | ||
const safeParams = querySchema.safeParse(context.params); | ||
|
||
console.log("Built workflow page:", safeParams); |
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.
Do we need this log?
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.
We copied it from the legacy page as it is. Please let us know if it can be deleted.
7c2f67d
to
f17519c
Compare
@keithwillcode Addressed your comments + Rebased on latest main. |
What does this PR do?
Migrates
workflows/path*
page groupRequirement/Documentation
Type of change
How should this be tested?
Mandatory Tasks