Skip to content

Comments

refactor: move useBookingLocation and blocklist components from packages/features to apps/web/modules#27337

Closed
hbjORbj wants to merge 1 commit intomainfrom
devin/1769602711-more-migrations
Closed

refactor: move useBookingLocation and blocklist components from packages/features to apps/web/modules#27337
hbjORbj wants to merge 1 commit intomainfrom
devin/1769602711-more-migrations

Conversation

@hbjORbj
Copy link
Contributor

@hbjORbj hbjORbj commented Jan 28, 2026

What does this PR do?

This PR is part of breaking down #26571 into smaller, reviewable PRs. It moves tRPC-dependent UI components from packages/features to apps/web/modules to support the vertical slice architecture migration.

Migrations included:

  • useBookingLocation hook → apps/web/modules/bookings/hooks/
  • blocklist.tsx page → apps/web/modules/ee/admin/pages/settings/
  • BulkDeleteBlocklistEntries.tsxapps/web/modules/ee/admin/pages/settings/blocklist/
  • BulkDismissReports.tsxapps/web/modules/ee/admin/pages/settings/blocklist/

All files are pure moves (100% similarity) with only import path updates in consuming files.

Mandatory Tasks (DO NOT REMOVE)

  • I have self-reviewed the code (A decent size PR without self-review might be rejected).
  • I have updated the developer docs in /docs if this PR makes changes that would require a documentation change. N/A - no documentation changes needed.
  • I confirm automated tests are in place that prove my fix is effective or that my feature works. N/A - pure file moves, existing tests cover functionality.

How should this be tested?

  1. Verify the admin blocklist page loads correctly at /settings/admin/blocklist
  2. Verify booking details sheet displays location information correctly
  3. Run type checks: yarn type-check:ci --force

Checklist

  • My code follows the style guidelines of this project
  • I have checked if my changes generate no new warnings

Human Review Checklist

  • Verify no other files in the codebase import useBookingLocation from @calcom/features/bookings/hooks (the barrel export was removed)
  • Verify no other files import blocklist components from the old packages/features paths

Link to Devin run: https://app.devin.ai/sessions/22cb14b2f6554594b1e738631aa29184
Requested by: @hbjORbj

…ges/features to apps/web/modules

Co-Authored-By: benny@cal.com <sldisek783@gmail.com>
@devin-ai-integration
Copy link
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR that start with 'DevinAI' or '@devin'.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant