From 877220caa06bb21089020bb969c4c6bf9d408a9c Mon Sep 17 00:00:00 2001 From: "GitStart-Cal.com" <121884634+gitstart-calcom@users.noreply.github.com> Date: Wed, 19 Apr 2023 17:17:54 -0300 Subject: [PATCH] Event Type: Title not displayed in the mobile view (#7451) * Event Type: Title not displayed in the mobile view * Fix toggle not updating in UI --------- Co-authored-by: gitstart-calcom Co-authored-by: Hariom Balhara --- apps/web/components/SettingsShell.tsx | 2 +- apps/web/components/apps/App.tsx | 2 +- .../components/apps/layouts/AppsLayout.tsx | 2 +- .../apps/layouts/InstalledAppsLayout.tsx | 2 +- apps/web/components/ui/EditableHeading.tsx | 8 ++- apps/web/pages/apps/categories/index.tsx | 2 +- apps/web/pages/availability/[schedule].tsx | 66 ++++++++++++++++--- apps/web/pages/availability/index.tsx | 6 +- apps/web/pages/availability/troubleshoot.tsx | 2 +- apps/web/pages/event-types/index.tsx | 1 + apps/web/pages/insights/index.tsx | 2 +- apps/web/pages/more.tsx | 2 +- apps/web/pages/teams/index.tsx | 1 + .../routing-forms/components/FormActions.tsx | 18 ++++- .../routing-forms/components/SingleForm.tsx | 22 +++++-- .../pages/forms/[...appPages].tsx | 6 +- .../bookings/layout/BookingLayout.tsx | 2 +- .../ee/teams/components/TeamListItem.tsx | 2 +- .../features/ee/workflows/pages/index.tsx | 1 + .../features/ee/workflows/pages/workflow.tsx | 1 + .../settings/layouts/SettingsLayout.tsx | 1 + packages/features/shell/Shell.tsx | 16 +++-- packages/ui/components/form/switch/Switch.tsx | 7 +- 23 files changed, 135 insertions(+), 39 deletions(-) diff --git a/apps/web/components/SettingsShell.tsx b/apps/web/components/SettingsShell.tsx index 0dfb97d090..fb53eb7e04 100644 --- a/apps/web/components/SettingsShell.tsx +++ b/apps/web/components/SettingsShell.tsx @@ -46,7 +46,7 @@ export default function SettingsShell({ ...rest }: { children: React.ReactNode } & ComponentProps) { return ( - +
diff --git a/apps/web/components/apps/App.tsx b/apps/web/components/apps/App.tsx index 269da61eea..bef34e0e24 100644 --- a/apps/web/components/apps/App.tsx +++ b/apps/web/components/apps/App.tsx @@ -366,7 +366,7 @@ export default function App(props: { dependencies?: string[]; }) { return ( - } backPath="/apps" withoutSeo> + } backPath="/apps" withoutSeo> ; return ( - +
{emptyStore ? ( diff --git a/apps/web/components/apps/layouts/InstalledAppsLayout.tsx b/apps/web/components/apps/layouts/InstalledAppsLayout.tsx index 1c00655b61..23107868e3 100644 --- a/apps/web/components/apps/layouts/InstalledAppsLayout.tsx +++ b/apps/web/components/apps/layouts/InstalledAppsLayout.tsx @@ -57,7 +57,7 @@ export default function InstalledAppsLayout({ } return ( - + {children} diff --git a/apps/web/components/ui/EditableHeading.tsx b/apps/web/components/ui/EditableHeading.tsx index 56e31609c9..3cc6e8902d 100644 --- a/apps/web/components/ui/EditableHeading.tsx +++ b/apps/web/components/ui/EditableHeading.tsx @@ -16,8 +16,10 @@ const EditableHeading = function EditableHeading({ const [isEditing, setIsEditing] = useState(false); const enableEditing = () => setIsEditing(true); return ( -
-
+
+