ee31633e2b
perf: layout persistence and reduced bundle size ( #18889 )
...
* create /(main-nav)/layout.tsx file that uses Shell
* Add ShellMainAppDir that clones ShellMain but with client/server separation
* event-types, availability, bookings
* update pagesAndRewritePaths logic
* fix
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2025-01-27 11:08:47 +00:00
Benny Joo and GitHub
df4359e3e5
migrate /auth/login page ( #18903 )
2025-01-27 10:23:51 +00: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
2b79ef0836
perf: replace getServerSessionForAppDir usages with our original getServerSession function ( #18897 )
2025-01-26 21:57:02 +00: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
c41396d8d8
perf: prerender routes in main navigation ( #18883 )
2025-01-25 18:30:07 +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
beb542e7cb
chore: migrate /apps/[slug] page ( #18848 )
...
* migrate apps/[slug] page
* remove future/apps/[slug]
2025-01-24 15:57:52 +01:00
656d6dc195
feat: Internal Notes for bookings ( #18804 )
...
* migration + migrate booking limit page to team settings
* new pages
* use settings toggle for displaying content
* get current team presets
* update mutation
* i18n for settings page
* remove redudant await
* cancelation UI for select
* handle other selection
* extract into a util
* inital cancelation reason flow
* fix i18n to be more readable
* add cancel reason logic
* nits
* improve copy
* ensure is teamMember and not isAdmin for getting internalNotes
* improvie spacing between elements
* fix types
* more type fixes
* correct types
* Update packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.ts
* use input component and remove mb-2 to allign with icon button
* Update packages/trpc/server/routers/viewer/teams/updateInternalNotesPresets.handler.ts
Co-authored-by: Eunjae Lee <hey@eunjae.dev >
* nits
* type fixs
* fix type
* fix type
* fix nullable option lost in merge
---------
Co-authored-by: Eunjae Lee <hey@eunjae.dev >
2025-01-24 09:26:52 +00: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
36d756e469
fix: flickering in /bookings/[status] page ( #18836 )
2025-01-23 16:44:29 +01:00
Benny Joo and GitHub
8e191fed71
perf: Use one PageWrapper instance for every non-settings / non-bookings page in App Router ( #18747 )
...
* add a layoutfile to use-page-wrapper route group
* refactor and move bookings status page to route group
* improve logic in pagesAndRewritePaths
* fix
* add use client directive
* move /403 and /500
* move /auth/error
* move /connect-and-join
* move /enterprise
* move /maintenance
* move /more
* move /upgrade
* chore: remove WithLayout from 8 low-risk single pages (#18745 )
* move /403 and /500
* move /auth/error
* move /connect-and-join
* move /enterprise
* move /maintenance
* move /more
* move /upgrade
* move /availability pages
* move /event-types pages
* move /insights pages
* move /apps to use-page-wrapper group
* move /getting-started to use-page-wrapper group
* move /signup to use-page-wrapper group
* move /workflows to use-page-wrapper group
* move /video pages to use-page-wrapper group
* pass dehydratedState in layout
* pass dehydratedState in layout
* fix test
* fix @test
* fix
2025-01-23 10:01:46 -05:00
Omar López and GitHub
0f07ab2f7b
fix: Load plain dynamically ( #18571 )
2025-01-22 20:10:11 +00:00
Benny Joo and GitHub
f0d1c92e99
perf: create (use-page-wrapper) route group and replace WithLayout from /bookings/[status] page + 8 low-risk single pages ( #18737 )
...
* add a layoutfile to use-page-wrapper route group
* refactor and move bookings status page to route group
* improve logic in pagesAndRewritePaths
* fix
* add use client directive
* chore: remove WithLayout from 8 low-risk single pages (#18745 )
* move /403 and /500
* move /auth/error
* move /connect-and-join
* move /enterprise
* move /maintenance
* move /more
* move /upgrade
* pass dehydratedState in layout
2025-01-22 12:52:58 -05: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
4424b2aea3
useIsThemeSupported hook ( #18746 )
2025-01-20 14:30:18 +05:30
Benny Joo and GitHub
4855b6b40f
fix: small spacing fix in app router 404 ( #18741 )
2025-01-17 16:45:30 -07:00
Benny Joo and GitHub
245196fbf3
chore: technical debt clearing - remove getServerSideProps for /event-types ( #18733 )
...
* chore: technical debt clearing - remove getServerSideProps for event-types
* refactor
2025-01-17 21:35:03 +01:00
Benny Joo and GitHub
b63c9791ec
fix ( #18718 )
2025-01-17 10:48:31 -05:00
Benny Joo and GitHub
015edd3c9b
chore: migrate /auth/new ( #18732 )
...
* move out of /future dir
* remove legacy pages
2025-01-17 06:46:59 -05: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
9e5665f2fb
Revert "fix: revert app router error pages ( #18696 )" ( #18714 )
...
This reverts commit 3cc5d9c065 .
2025-01-16 16:53: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
3cc5d9c065
fix: revert app router error pages ( #18696 )
2025-01-15 16:47:30 -03:00
Benny Joo and GitHub
7897e14273
fix: add back global-error.tsx ( #18692 )
2025-01-15 16:55:43 +00:00
Alex van Andel and GitHub
f137aee436
Remove export keyword @ route - only default allowed ( #18682 )
2025-01-15 14:33:02 +00: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
Benny Joo and GitHub
501c49f369
perf: no need for two query fetches for d link (private booking page) ( #18659 )
...
* return eventData
* use eventData and do not do extra query fetch
2025-01-14 17:15:56 +00:00
Benny Joo and GitHub
a8c29b5459
chore: log error to Sentry in app router error page ( #18637 )
2025-01-14 15:23:07 +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
Alex van Andel and GitHub
68455db860
fix: main lint errors ( #18634 )
...
* fix: error-page.tsx related lint errors
* fix: lint no continue-on-error
* Adding more lint fixes
* Bring back annotate code linting results
* Bring back linting continue-on-error
* Slimline lint
2025-01-13 22:01:20 +00:00
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
Benny Joo and GitHub
8262894bde
fix: app/not-found cannot be a static page ( #18610 )
2025-01-12 20:21:03 +01:00
Benny Joo and GitHub
a3d7bcd22e
feat: render custom error page for unexpected sever error + remove pages/_error ( #18606 )
...
* remove page/_error
* refactor app/error
2025-01-12 14:12:02 +01: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
f628dc83a8
detailed customer card ( #18511 )
...
Co-authored-by: Omar López <zomars@me.com >
2025-01-10 23:51:27 +00:00
Somay Chauhan and GitHub
f26d2998cb
feat: added pagination to platform managed users table ( #18523 )
...
* feat: added pagination to platform managed users table
* removed console
* implemented feedback, removed unused components
* added label
* Update managed-users-view.tsx
* Update managed-users-view.tsx
2025-01-10 12:53:20 +00:00
Omar López and GitHub
88c8ad8b5c
chore: fix SVG warning on render ( #18572 )
2025-01-10 10:00:43 +00:00
ccf1d4430a
chore: clean up some code in app router ( #18541 )
...
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
2025-01-09 10:47:21 -07: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
Benny Joo and GitHub
15156c2225
perf: use react svg cache from root level ( #18506 )
2025-01-08 09:29:50 +01: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
Alex van Andel and GitHub
57bd0b3df3
fix: type + build errors ( #18502 )
2025-01-07 18:35:06 +01:00
Benny Joo and GitHub
0c69c5dfea
remove MainLayout / MainLayoutAppDir ( #18498 )
2025-01-07 12:13:00 +00:00