perf: Slim down loggedInViewer tRPC router (#20111)

* perf: Slim down loggedInViewer tRPC router

* Fixed trpc client calls for new routes

* Moved bookingUnconfirmedCount

* Moved getUserTopBanners to me router

* Moved shouldVerifyEmail to me router

* Moved i18n from public to its own router

* fix ssrInit

* fix ssrInit usage

* fix type check

* better naming

* fix

* fix

* Fix types

* Removed used of importHandler

---------

Co-authored-by: hbjORbj <[email protected]>
This commit is contained in:
Keith WilliamsandhbjORbj authored and GitHub committed 2025-03-16 18:22:48 -07:00
1 parent 424d94f16d
commit 20d6eb5200
81 files changed
+162 -188

No files matched your search

@@ -14,9 +14,11 @@ test.describe("Forgot password", async () => {
// Got to reset password flow
await page.goto("/auth/forgot-password");
await page.waitForSelector("text=Forgot Password?");
await page.fill('input[name="email"]', `${user.username}@example.com`);
await page.press('input[name="email"]', "Enter");
await page.waitForLoadState("networkidle");
// wait for confirm page.
await page.waitForSelector("text=Reset link sent");