-
Notifications
You must be signed in to change notification settings - Fork 8.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
chore: Remove Pages Router / Use App Router - /workflows
#16519
Conversation
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (09/06/24)1 reviewer was added to this PR based on Keith Williams's automation. "Add foundation team as reviewer" took an action on this PR • (09/06/24)1 reviewer was added to this PR based on Keith Williams's automation. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Skipped Deployments
|
E2E results are ready! |
DO NOT MERGE UNTIL EITHER (1) REVALIDATION LOGIC FOR SSR IS ADDED or (2) SSR IS REVERTED |
This PR is being marked as stale due to inactivity. |
…deploy
/workflows
/workflows
// const filters = getTeamsFiltersFromQuery({ ...searchParams, ...params }); | ||
|
||
// let filteredList; | ||
// try { | ||
// filteredList = await WorkflowRepository.getFilteredList({ | ||
// userId: user?.id, | ||
// input: { | ||
// filters, | ||
// }, | ||
// }); | ||
// } catch (err) {} |
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.
commenting out sever-side fetching for now for defensive migration
// const workflow = await WorkflowRepository.getById({ id: +parsed.data.workflow }); | ||
// let verifiedEmails, verifiedNumbers; | ||
// try { | ||
// verifiedEmails = await WorkflowRepository.getVerifiedEmails({ | ||
// userEmail: user?.email ?? null, | ||
// userId: user?.id ?? null, | ||
// teamId: workflow?.team?.id, | ||
// }); | ||
// } catch (err) {} | ||
// try { | ||
// verifiedNumbers = await WorkflowRepository.getVerifiedNumbers({ | ||
// userId: user?.id ?? null, | ||
// teamId: workflow?.team?.id, | ||
// }); | ||
// } catch (err) {} |
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.
commenting out sever-side fetching for now for defensive migration
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.
working well!
What does this PR do?
/workflows
routes from Pages Router and render them from App router.Mandatory Tasks (DO NOT REMOVE)
How should this be tested?
/workflows/
and/workflows/[workflow]