refactor: remove 7 @calcom/trpc imports from packages/features#27727
Merged
refactor: remove 7 @calcom/trpc imports from packages/features#27727
Conversation
|
Paragon Review Unavailable Hi @hbjORbj! You are not toggled active by your team. Reach out to your admin. |
Merged
3 tasks
Contributor
E2E results are ready! |
keithwillcode
approved these changes
Feb 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Moves 17 files out of
packages/features/intoapps/web/modules/and reorganizes 2 files withinpackages/features/to reduce cross-package tRPC coupling.Impact
@calcom/trpcimports removed frompackages/features/— the moved files (useSegments,useSchedule,useApiV2AvailableSlots,BookerLayoutSelector, scheduletypes,FeedbackDialog,Segment) all depended on@calcom/trpcand now live inapps/web/where tRPC usage belongsWhat moved where
packages/features/data-table/hooks/useSegments.tsapps/web/modules/data-table/hooks/packages/features/schedules/lib/use-schedule/*(5 files)apps/web/modules/schedules/hooks/+lib/packages/features/schedules/lib/use-schedule/useTimesForSchedule.tspackages/features/schedules/hooks/(reorganized, inlined type)packages/features/feature-opt-in/components/*(5 files)apps/web/modules/feature-opt-in/components/packages/features/feedback/components/FeedbackDialog.tsxapps/web/modules/feature-opt-in/components/packages/features/settings/BookerLayoutSelector.tsxapps/web/modules/settings/components/packages/features/Segment.tsx+ testapps/web/modules/event-types/components/No functional changes — only file moves and import path updates.
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?
Build verification only — no functional changes. Confirm the app builds and the affected views (insights, bookings, settings/appearance, event type advanced tab, embed, billing, user tables, org privacy, out-of-office, workflows, troubleshooter) render correctly.