* Revert "fix: revert bookings redesign (#25172)"
This reverts commit 1f102bf3b4.
* add bookings-v3 feature flag
* put things behind a feature flag
* remove no longer needed test
* revert e2e tests
* put back description
* revert AvatarGroup
* apply feedback
* remove "view" booking action
* remove Alert (When the bookings query errors, this branch now renders only the alert and skips the data-table filter/segment controls. Those controls moved into BookingsList, so in error states users can no longer clear or tweak filters to recover from the failure, effectively trapping them behind the alert.)
* address feedback
* revert useMediaQuery
38 lines
1.1 KiB
TypeScript
38 lines
1.1 KiB
TypeScript
/**
|
|
* Right now we only support boolean flags.
|
|
* Maybe later on we can add string variants or numeric ones
|
|
**/
|
|
export type AppFlags = {
|
|
"calendar-cache": boolean;
|
|
"calendar-cache-serve": boolean;
|
|
emails: boolean;
|
|
insights: boolean;
|
|
teams: boolean;
|
|
webhooks: boolean;
|
|
workflows: boolean;
|
|
organizations: boolean;
|
|
"email-verification": boolean;
|
|
"google-workspace-directory": boolean;
|
|
"disable-signup": boolean;
|
|
attributes: boolean;
|
|
"organizer-request-email-v2": boolean;
|
|
"delegation-credential": boolean;
|
|
"salesforce-crm-tasker": boolean;
|
|
"workflow-smtp-emails": boolean;
|
|
"cal-video-log-in-overlay": boolean;
|
|
"use-api-v2-for-team-slots": boolean;
|
|
pbac: boolean;
|
|
"restriction-schedule": boolean;
|
|
"team-booking-page-cache": boolean;
|
|
"cal-ai-voice-agents": boolean;
|
|
"tiered-support-chat": boolean;
|
|
"calendar-subscription-cache": boolean;
|
|
"calendar-subscription-sync": boolean;
|
|
"onboarding-v3": boolean;
|
|
"booker-botid": boolean;
|
|
"booking-calendar-view": boolean;
|
|
"bookings-v3": boolean;
|
|
};
|
|
|
|
export type TeamFeatures = Record<keyof AppFlags, boolean>;
|