Benny Joo and GitHub
b32b31ccdc
perf: SSR for /teams ( #20824 )
...
* finish
* improve
* refactor
* add revalidations
* /settings/teams is not needed
* refactor
* rename
* redundant type casting
2025-04-23 15:09:25 +01:00
Benny Joo and GitHub
c00e8cfa54
perf: Fetch data server-side for Api Keys page ( #20677 )
...
* server-side fetching for api keys page
* refactor billing page
* fix
2025-04-22 18:20:41 +00:00
69efc26f36
perf: slim down middleware matcher ( #20735 )
...
* wip
* wip
* refactor
* add pathname
* fix
* fix: manually construct pathname for metadata functions
Co-Authored-By: benny@cal.com <benny@cal.com >
* fix: add pathname parameter to all metadata functions
Co-Authored-By: benny@cal.com <benny@cal.com >
* fix: add pathname parameter to remaining metadata functions
Co-Authored-By: benny@cal.com <benny@cal.com >
* fix
* fix
* fix type checks
* Refactor
* fix
* fix
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: benny@cal.com <benny@cal.com >
2025-04-17 19:55:01 -07:00
Benny Joo and GitHub
7cdc78d02d
update middleware ( #20726 )
2025-04-16 17:44:25 +00:00
134086f229
perf: fetch data server side for /settings/webhooks ( #20583 )
...
* update client components
* update server components
* update middleware
* fix
* fix
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2025-04-07 18:21:13 +00:00
Benny Joo and GitHub
21e7ac3cbe
fix: middleware config matcher ( #20450 )
...
* fix: middleware config matcher - ending slash
* improve comment
2025-03-30 23:02:20 -03:00
Benny Joo and GitHub
63dfc3376c
chore: remove empty path from middleware matcher ( #19860 )
2025-03-09 15:38:04 +00:00
Benny Joo and GitHub
efd427831d
chore: early return for next.js static assets ( #19678 )
2025-03-03 15:35:42 -03:00
Benny Joo and GitHub
5f5cfaf7c7
perf: improve matching paths in middleware ( #19491 )
...
* perf: exclude next native paths from going through middleware
* fix build error
* fix
* fix
2025-02-24 16:53:06 +00:00
Benny Joo and GitHub
b6d8dc0bd6
wip ( #19446 )
2025-02-21 16:51:24 +00:00
01fc501cb9
chore: Block POST requests to all page routes except a whitelist ( #19346 )
...
* chore: block POST requests to next.js routes except a whitelist
* update config.matcher
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2025-02-20 17:19:35 -03:00
Benny Joo and GitHub
8a4b03833d
chore: remove org/team booking routes from middleware ( #19349 )
...
* chore: remove user routes from middleware
* chore: remove org and team routes from middleware
2025-02-20 15:30:13 -03:00
Benny Joo and GitHub
3221379584
chore: remove user routes from middleware ( #19345 )
2025-02-20 14:39:40 -03:00
dc7a1c4680
chore: migrate /apps/routing-forms/[...pages] to App Router ( #18956 )
...
* wip
* fix
* fix
* refactor
* rename to routingServerSidePropsConfig
* refactor
* refactor
* add routing-link to useIsBookingPage hook
* remove Head component
* fix
* redirect user to apps/routing-forms/forms if user goes to apps/routing-forms
* refactor
* remove log
* remove client component not needed
* clean up code
* remove unneeded metadata
* clean up further
* clean up further 2
* fix type check
* routing-link does not need shell
* Fix title for Routing Form public link and also remove any
* Remove ; in HTML
* Remove unnecessary page reload
---------
Co-authored-by: Hariom Balhara <hariombalhara@gmgmail.com >
2025-02-17 11:15:54 +05:30
Benny Joo and GitHub
2840d64197
chore: migrate user booking pages to App Router ( #19069 )
...
* add user pages to config.matcher in middleware
* add app router user booking pages
* remove HeadSeo from users-public-view component
* remove pages router user booking pages
* fix type check
* fix embed
* fix test
* chore: remove BookerSEO from users-type-public-view
* fix
2025-02-07 16:52:56 -05:00
Benny Joo and GitHub
8205431640
migrate /auth/sso pages ( #18951 )
2025-01-28 21:49:06 +00:00
Benny Joo and GitHub
377d4e5bfd
migrate / index page ( #18960 )
2025-01-28 20:33:00 +01:00
Benny Joo and GitHub
ce4c9dfc9a
chore: migrate /auth/saml-idp ( #18943 )
2025-01-28 20:32:12 +01:00
Benny Joo and GitHub
9ad45bb477
chore: migrate /auth/setup ( #18941 )
2025-01-28 11:34:52 -05:00
Benny Joo and GitHub
a1e4959fb7
chore: migrate /auth/verify-email-change ( #18942 )
2025-01-28 11:34:39 -05:00
Benny Joo and GitHub
3f622fe277
chore: migrate /auth/verify ( #18902 )
...
* migrate /auth/verify page
* update middleware
2025-01-27 10:59:26 +01:00
Benny Joo and GitHub
ed3579c5c7
chore: migrate /auth/logout ( #18901 )
...
* migrate /auth/verify-email page
* update middleware
* migrate /auth/logout page
2025-01-27 14:22:33 +05:30
Benny Joo and GitHub
2f9beed450
chore: migrate /apps/installation pages ( #18870 )
...
* migrate apps/installation pages
* fix test
2025-01-26 23:04:30 +01:00
Benny Joo and GitHub
828940b4d6
chore: app router - /payment pages ( #18152 )
...
* remove Head from payment page comp
* remove route from pages router
* move out of future folder
* add to config.matcher
* remove unneeded code
* update middleware
* fix
* fix
2025-01-25 13:23:41 -05:00
Benny Joo and GitHub
0dab3e1a6d
chore: migrate /apps/categories pages ( #18871 )
...
* migrate apps/categories pages
* remove pages dir
2025-01-25 18:45:59 +01:00
Benny Joo and GitHub
30e576377a
migrate /auth/verify-email page ( #18876 )
2025-01-24 21:20:36 +00:00
Benny Joo and GitHub
a069af715e
chore: migrate /apps/installed pages ( #18869 )
2025-01-24 10:41:24 -05:00
Benny Joo and GitHub
91225c03f3
chore: migrate org domain /[user] page ( #18715 )
...
* chore: migrate org domain [user] page
* fix type checks
2025-01-23 19:48:49 +01:00
Benny Joo and GitHub
0f7ecb3345
chore: migrate low-risk 3 /auth pages to App Router ( #18753 )
...
* add i18n string
* Update config.matcher in middleware
* migrate auth/oauth2/authorize
* migrate auth/platform/authorize
* migrate auth/signin
2025-01-21 10:41:00 +01:00
Benny Joo and GitHub
de05e8e989
chore: migrate /auth/error ( #18730 )
...
* migrate auth/error
* fix
* fix type check
2025-01-17 06:46:47 -05:00
Benny Joo and GitHub
ce87de4fc7
fix: Revert - chore: app router - all sub-pages in /apps #16976 ( #18702 )
...
* revert
* add incomplete-booking
2025-01-15 21:12:18 -03:00
Benny Joo and GitHub
cce6e83578
chore: migrate /org team pages and team type pages and user type page ( #18668 )
2025-01-15 09:21:21 +00:00
Benny Joo and GitHub
5ccf5e6be8
chore: migrate /team booking pages ( #18656 )
...
* wip
* remove pages/team/[slug]
* fix tests
* fix tests 2
2025-01-14 23:48:41 +00:00
07085b9ffb
chore: clean up config.matcher in middleware ( #18638 )
...
Co-authored-by: Alex van Andel <me@alexvanandel.com >
2025-01-14 10:24:36 +00:00
Benny Joo and GitHub
113dc5fca6
chore: try using custom 404 in pages/_error ( #18622 )
2025-01-13 11:35:10 +00:00
Benny Joo and GitHub
0befdde5d7
chore: gracefully handle 404s from pages router's dynamic pages + tests ( #18618 )
...
* restore pages/_error
* set custom header in pages/_error
* handle it in middleware
* add test
* remove logs
* better test description
2025-01-13 15:46:56 +05:30
Benny Joo and GitHub
b3ed6e39e3
chore: redirect to /500 if pathname does not exist + better error handling ( #18615 )
...
* fix lint error
* fix booking page and better error handling
2025-01-13 00:04:36 +00:00
62b753afba
chore: app router 404 page ( #18597 )
...
* wip
* wip
* fix not found page
* render middleware for /settings pages
* fix
* remove global-error page
* add metadata to not-found page
* make not-found page static
* remove 404
* adding not-found to middleware is not necessary
* add every routes to config.matcher
* fix test
* fix style
* use i18n string
* fix tests
* fix
* fix
* revert unneeded changes
* fix
* fix
* fix
* fix style
* fix
* remove 404
* remove log
* fix
* fix
* fix
* fix
* better naming
* parallel testing
---------
Co-authored-by: Benny Joo <sldisek783@gmail.com >
2025-01-11 02:42:08 +00:00
bb40b2f6bf
chore: app router - all sub-pages in /apps ( #16976 )
...
* chore: apps/[slug] remove pages router
* remove apps/[slug] pages from /future
* chore: apps/installed remove pages router
* chore: apps/installation remove pages router
* remove Head element
* fix metadata
* fix test
* fix another test
* chore: apps/categories remove pages router
* revert unneeded changes
* update middleware
* Remove <Head>
* remove unused import and code
* remove unused import and code again
* fix
* fix category page
* add split icon
* add /routing paths to middleware matcher
* wip
* remove HeadSeo from App.tsx
* clean up head-seo test
* add generateAppMetadata
* use generateAppMetadata in apps/[slug] page
* delete file
* remove log
* fix
* fix
* fix apps/installed pages
* fix cateogires pages
* fix
* fix imports
* wip
* fix
* fix
* fix metadata
* fix
* redirect /apps/routing-forms to /routing
* replace all usages of /apps/routing-forms to /routing
* better naming
* /routing -> /routing/forms
* fix
* fix
* fix
* fix
* remove backPath as it is irrelevant when withoutMain is true
* fix type checks
* fix type check in apps/[slug]
* refactors
* fix
* fix test
* fix
* fix
* fix
* Replace multiple leading slashes with a single slash
* migrate routing-forms too
* add re routing
* fix
* add redirection
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
2025-01-10 20:16:11 -05:00
Benny Joo and GitHub
e6d76b630c
chore: Revert "chore: app router - /team, /org, /[user] booking pages (excl. embeds) ( #18186 ) ( #18526 )
2025-01-08 11:19:45 -03:00
cc202ed847
chore: app router - /event-types pages ( #18181 )
...
* refactor event type web wrapper
* finish migration
* move event-types folder out of future
* remove vars
* remove pages router
* fix
* fix
* fix test
* remove test tag
* refactor
* remove completely
* add withoutSeo prop for event type web page
* remove HeadSeo usage from event types listing view
* make onboarding e2e test faster
* remove useIntercom
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2025-01-07 20:39:05 -05:00
2f9c8cb441
chore: app router - /team, /org, /[user] booking pages (excl. embeds) ( #18186 )
...
* update env vars
* update middleware
* remove pages router and move pages to /app
* move to /team
* update imports
* fix
* remove pages router and move org pages to /app
* wip
* fix orgSlug/user pages
* fix orgSlug/user/type pages
* remove generateMetadata from embed pages
* fix
* remove pages router for /user pages
* generateMetadata is not needed in embed pages
* remove future/org
* no layout in [user] page
* simplify
* fix
* fix OG image for [user]
* fix OG images for org/user and team/slug
* fix OG images for booking page
* fix all metadata
* use isBrandingHidden
* remove BookerSeo and its usages
* rename excludeAppNameFromTitle -> hideBranding
* remove logic for meeting type in HeadSeo
* remove BookerSeo instances from team-view and users-public-view
* create generateMeetingMetadata util and use it to reduce duplicate code
* remove BookerSeo imports
* fix spacing
* remove constructMeetingImage mock from head-seo.test
* fetch avatarUrl using user id for user page metadata
* fix test
* remove unused test cases
* index and follow must be true by default
* invert noindex/nofollow flags
* remove HeadSeo for already migrated pages and refactor prepareMetadata
* fix organization-settings.e2e.ts
* fix order
* enable parallel test execution for dynamic-booking e2e test
* fix
* + could be %2B in app router
* refactor handling logic for embeds in app router
* fix isEmbed
* fix embed-core
* remove dead code
* move embed pages back to /future
* add back embed pages in pages router
* revert some changes
* fix import type checks
* simplify
* fix
* feat: Implement generateBookingPageMetadata function for improved SEO and metadata handling across user and event pages (#18440 )
- Added a new utility function `generateBookingPageMetadata` to streamline the generation of metadata for booking and user profile pages.
- Updated multiple page components to utilize the new function, enhancing SEO indexing and metadata consistency.
- Removed redundant code related to previous metadata generation methods, improving code clarity and maintainability.
* fix dirs
* Pr-review-fixes-app-router-team-pages (#18450 )
* Remove unnecessary getPublicEvent call
* Remove unused variable
* Fix 404 for team page (#18451 )
* Remove console log
---------
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com >
2025-01-03 22:26:30 +00:00
Benny Joo and GitHub
557bd8bf25
chore: Migrate /403 and /500 pages to App Router ( #18424 )
...
* global-error is not needed
* remove /403 and /500 pages from pages router
* add 403 and 500 pages in App Router
* add i18n strings
* fix i18n string
* fix styling
2024-12-31 11:43:15 +05:30
Benny Joo and GitHub
542799e2cf
chore: app router - /bookings status page ( #18183 )
...
* chore: app router - /bookings page
* remove env vars
* fix
* Update middleware.ts
* revert unneeded change
* refactor for the better
* fix
2024-12-23 10:12:22 +01:00
Benny Joo and GitHub
355aaa7010
fix: include app directory in rewrites generation logic + migrate /reschedule pages to App Router ( #18261 )
...
* chore: app router - /reschedule pages (#18150 )
* app router - /reschedule pages
* add to config.matcher
* generateMetdata is not needed
* include app directory in rewrites generation logic
* make it more readable
* make code more elegant
* fix
* fix
* fix
* fix
* test and refactor
2024-12-19 06:22:19 -07:00
Benny Joo and GitHub
7827028e0a
Revert "chore: app router - /reschedule pages ( #18150 )" ( #18258 )
...
This reverts commit a7f24e777b .
2024-12-18 22:48:03 +00:00
Benny Joo and GitHub
460e511459
chore: app router - /booking pages ( #18182 )
...
* chore: app router - /booking pages
* move pages to /app
* add to config matcher
2024-12-18 14:09:34 -05:00
Benny Joo and GitHub
a7f24e777b
chore: app router - /reschedule pages ( #18150 )
...
* app router - /reschedule pages
* add to config.matcher
* generateMetdata is not needed
2024-12-18 14:54:15 +01:00
Benny Joo and GitHub
f78fca594a
chore: app router - /getting-started page ( #18185 )
...
* remove env vars
* move pages to /app
* remove Head component
* remove pages router
* add to config matcher
* fix
2024-12-18 14:41:03 +01:00
Benny Joo and GitHub
b97331aeb3
chore: /availability - Remove Pages Router / Render App Router ( #16517 )
...
* /availability: Remove Pages Router / Render App Router
* comment out server side fetching
* fix
* refactor for safer code
* add to config.matcher
2024-12-13 12:44:57 +00:00