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: settings/my-account - remove pages router #17056

Merged
merged 8 commits into from
Oct 11, 2024

Conversation

hbjORbj
Copy link
Contributor

@hbjORbj hbjORbj commented Oct 11, 2024

What does this PR do?

  • Fixes CAL-4403
  • remove pages router and use app router for all pages in settings/my-account
  • remove env vars not needed anymore as a result

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 added a Docs issue here 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.

How should this be tested?

  • all settings/my-account/**/* pages must work as expected

@graphite-app graphite-app bot requested a review from a team October 11, 2024 02:40
Copy link

vercel bot commented Oct 11, 2024

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

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview Oct 11, 2024 0:59am
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Oct 11, 2024 0:59am

Copy link
Contributor

github-actions bot commented Oct 11, 2024

Hey there and thank you for opening this pull request! 👋🏼

We require pull request titles to follow the Conventional Commits specification and it looks like your proposed title needs to be adjusted.

Details:

No release type found in pull request title "Chore/remove pages router settings my account". Add a prefix to indicate what kind of release this pull request corresponds to. For reference, see https://www.conventionalcommits.org/

Available types:
 - feat: A new feature
 - fix: A bug fix
 - docs: Documentation only changes
 - style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
 - refactor: A code change that neither fixes a bug nor adds a feature
 - perf: A code change that improves performance
 - test: Adding missing tests or correcting existing tests
 - build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
 - ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
 - chore: Other changes that don't modify src or test files
 - revert: Reverts a previous commit

@keithwillcode keithwillcode added consumer core area: core, team members only labels Oct 11, 2024
Copy link

graphite-app bot commented Oct 11, 2024

Graphite Automations

"Add consumer team as reviewer" took an action on this PR • (10/11/24)

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

@hbjORbj hbjORbj changed the title Chore/remove pages router settings my account chore: next.js upgrade + settings/my-account - remove pages router Oct 11, 2024
Copy link

linear bot commented Oct 11, 2024

@keithwillcode
Copy link
Contributor

We should split the next upgrade into a separate PR so that it’s more isolated and easier to revert out if needed

Copy link
Contributor

github-actions bot commented Oct 11, 2024

E2E results are ready!

@hbjORbj hbjORbj force-pushed the chore/remove-pages-router-settings-my-account branch from 28d9db8 to 0af0cf0 Compare October 11, 2024 04:39
@hbjORbj
Copy link
Contributor Author

hbjORbj commented Oct 11, 2024

We should split the next upgrade into a separate PR so that it’s more isolated and easier to revert out if needed

Yessir, done

@hbjORbj hbjORbj changed the title chore: next.js upgrade + settings/my-account - remove pages router chore: settings/my-account - remove pages router Oct 11, 2024
@emrysal
Copy link
Contributor

emrysal commented Oct 11, 2024

@hbjORbj still seeing the same issue (very infrequently) - but also happens locally it seems.

image

Copy link
Contributor

@emrysal emrysal left a comment

Choose a reason for hiding this comment

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

We gotta nail this 🙏

uncaughtException: TypeError [ERR_INVALID_STATE]: Invalid state: Controller is already closed

@emrysal emrysal dismissed their stale review October 11, 2024 12:59

Will keep reviewing, it's possible that the next upgrade has fixed the error.

Copy link
Contributor

@emrysal emrysal left a comment

Choose a reason for hiding this comment

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

I've been working on out of this branch all day, numerous refreshes - hasn't crashed since the next.js upgrade.

@emrysal emrysal merged commit 4226502 into main Oct 11, 2024
39 checks passed
@emrysal emrysal deleted the chore/remove-pages-router-settings-my-account branch October 11, 2024 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants