Closed lukevella closed 2 weeks ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
app | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 31, 2024 10:19pm |
The pull request includes a comprehensive update of import paths for the trpc
utility across multiple components and files within the application. The import statements have been changed from @/utils/trpc/client
to @/trpc/client
, reflecting a restructuring of the module organization. While the core logic and functionality of the components remain intact, some files also introduce minor enhancements or updates related to handling specific functionalities, such as user interactions and state management.
File | Change Summary |
---|---|
apps/web/src/app/[locale]/(admin)/dashboard.tsx |
Import path updated for trpc from @/utils/trpc/client to @/trpc/client . |
apps/web/src/app/[locale]/(admin)/events/past-events.tsx |
Import path updated for trpc from @/utils/trpc/client to @/trpc/client . |
apps/web/src/app/[locale]/(admin)/events/upcoming-events.tsx |
Import path updated for trpc from @/utils/trpc/client to @/trpc/client . |
apps/web/src/app/[locale]/(admin)/polls/user-polls.tsx |
Import path updated for trpc from @/utils/trpc/client to @/trpc/client ; added onStatusChange prop. |
apps/web/src/app/[locale]/(admin)/settings/billing/billing-page.tsx |
Import path updated for trpc from @/utils/trpc/client to @/trpc/client . |
apps/web/src/app/[locale]/(admin)/settings/profile/delete-account-dialog.tsx |
Import path updated for trpc from @/utils/trpc/client to @/trpc/client ; added deleteAccount mutation. |
apps/web/src/app/[locale]/(admin)/settings/profile/profile-picture.tsx |
Import path updated for trpc from @/utils/trpc/client to @/trpc/client . |
apps/web/src/app/[locale]/(admin)/settings/profile/profile-settings.tsx |
Import path updated for trpc from @/utils/trpc/client to @/trpc/client . |
apps/web/src/app/[locale]/(auth)/register/register-page.tsx |
Import path updated for trpc from @/utils/trpc/client to @/trpc/client ; refined registration logic. |
apps/web/src/app/[locale]/auth/login/login-page.tsx |
Import path updated for trpc from @/utils/trpc/client to @/trpc/client . |
apps/web/src/app/[locale]/invite/[urlId]/layout.tsx |
Import path updated for trpc from @/utils/trpc/client to @/trpc/client . |
apps/web/src/app/providers.tsx |
Import path updated for trpcConfig from @/utils/trpc/config to @/trpc/client/config . |
apps/web/src/components/create-poll.tsx |
Import path updated for trpc from @/utils/trpc/client to @/trpc/client . |
apps/web/src/components/discussion/discussion.tsx |
Import path updated for trpc from @/utils/trpc/client to @/trpc/client . |
apps/web/src/components/layouts/poll-layout.tsx |
Import path updated for trpc from @/utils/trpc/client to @/trpc/client . |
apps/web/src/components/participant-dropdown.tsx |
Import path updated for trpc from @/utils/trpc/client to @/trpc/client ; updated ChangeNameModal . |
apps/web/src/components/participants-provider.tsx |
Import paths updated for trpc and Vote from @/utils/trpc/client to @/trpc/client . |
apps/web/src/components/poll-context.tsx |
Import path updated for GetPollApiResponse and Vote from @/utils/trpc/types to @/trpc/client/types . |
apps/web/src/components/poll/desktop-poll/participant-row.tsx |
Import path updated for Vote from @/utils/trpc/types to @/trpc/client/types . |
apps/web/src/components/poll/manage-poll/delete-poll-dialog.tsx |
Import path updated for trpc from @/utils/trpc/client to @/trpc/client . |
apps/web/src/components/poll/mutations.ts |
Import path updated for trpc from @/utils/trpc/client to @/trpc/client . |
apps/web/src/components/poll/notifications-toggle.tsx |
Import path updated for trpc from @/utils/trpc/client to @/trpc/client . |
apps/web/src/components/poll/use-touch-beacon.ts |
Import path updated for trpc from @/utils/trpc/client to @/trpc/client . |
apps/web/src/components/user-provider.tsx |
Import path updated for trpc from @/utils/trpc/client to @/trpc/client . |
apps/web/src/contexts/plan.tsx |
Import path updated for trpc from @/utils/trpc/client to @/trpc/client . |
apps/web/src/contexts/poll.tsx |
Import path updated for trpc from @/utils/trpc/client to @/trpc/client . |
apps/web/src/pages/_app.tsx |
Import path updated for trpc from @/utils/trpc/client to @/trpc/client . |
apps/web/src/trpc/client.ts |
Import path updated for trpcConfig from @/utils/trpc/config to @/trpc/client/config . |
trpc
import path, similar to the main PR's update in dashboard.tsx
.trpc
, indicating a related restructuring of module paths.trpc
in the CreatePoll
component, consistent with the main PR.trpc
, reflecting a similar change as seen in the main PR.trpc
, directly related to the main PR's updates.trpc
, aligning with the main PR's changes.trpc
, consistent with the main PR's updates.CurrentUserAvatar
component with OptimizedAvatarImage
, relevant to avatar handling changes in the main PR.trpc
, related to changes in the main PR.🐰 "In the code we hop and play,
Imports change in a bright new way.
From utils to trpc's charm,
Our components now feel warm.
With paths aligned, we leap with glee,
A cleaner code for you and me!" 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
Release Notes
New Features
PollStatusMenu
to allow dynamic handling of poll status changes.Bug Fixes
Documentation
Chores
These updates enhance the user experience by improving functionality and ensuring a more reliable application.