This commit introduces a critical abstraction layer for App Store component maps as part of resolving issue #23104. The changes include:
Created App Registry Abstraction Layer (packages/lib/apps/registry.ts):
Refactored Component Usage:
Fortified Test Setup (setupVitest.ts):
Critical for Performance: This is a non-functional change that makes zero alterations to production behavior. All component maps continue to return the same static imports they always have. The abstraction layer created here will be the foundation for the subsequent dynamic loading implementation that will resolve the 10-12 second local development load times.
Test Results: Full test suite passes with 2133/2235 tests passing (existing timezone-related failures unrelated to these changes).
Related to #23104
/claim #23104
Vansh Gilhotra
@Vansh5632
Cal.com, Inc.
@cal