Improvement/cal 639 turn edit location dialog into radix uu (#1055)
* replaced disclosure with collapsible * added radix radio-group * removed radix-UI radio group * more fix * --WIP * --WIP * react-hook-formify --WIP * radix ui radio replaces headless ui radio * further fixes --WIP * --WIP * form handling and availability wrapping * minuteField fix * availability fix * fixed react-select menu overflow in dialog * --WIP * added default value for custom inputs * fixed locations * fixed daterangepicker * fixed team eventType * basic cleanup --wip * fixed locations removal bug * removed old locations state remnants * some cleanup --wip * rebase conflict resolution * removed debug rem and fixed radio text size * further requested changes Co-authored-by: Bailey Pumfleet <[email protected]> Co-authored-by: Omar López <[email protected]>
This commit is contained in:
5 files changed
+844
-716
No files matched your search
@@ -15,15 +15,10 @@ export type AdvancedOptions = {
|
||||
price?: number;
|
||||
currency?: string;
|
||||
schedulingType?: SchedulingType;
|
||||
users?: {
|
||||
value: number;
|
||||
label: string;
|
||||
avatar: string;
|
||||
}[];
|
||||
users?: string[];
|
||||
availability?: { openingHours: WorkingHours[]; dateOverrides: WorkingHours[] };
|
||||
customInputs?: EventTypeCustomInput[];
|
||||
timeZone: string;
|
||||
hidden: boolean;
|
||||
timeZone?: string;
|
||||
};
|
||||
|
||||
export type EventTypeCustomInput = {
|
||||
@@ -55,7 +50,5 @@ export type EventTypeInput = AdvancedOptions & {
|
||||
length: number;
|
||||
hidden: boolean;
|
||||
locations: unknown;
|
||||
customInputs: EventTypeCustomInput[];
|
||||
timeZone: string;
|
||||
availability?: { openingHours: WorkingHours[]; dateOverrides: WorkingHours[] };
|
||||
};
|
||||
Reference in new issue
Block a user