feat: event settings booker layout toggle (#9082)
* WIP for adding booker layout toggle in event settings pages * Prevent form error from getting form stuck in loading state * Fixed types for bookerlayouts settings and preselect correct layout in booker * Added defaultlayout settings to profile too, and use that in booker plus as default for events. * Made layout settings responsive * Added feature toggle for new layout settings * Fixed user builder for tests by adding defaultlyotu * Show toggles on booker for layout switch based on selected layouts. Also added a small fix for the settings toggles to preselect the correct toggle for defaultlayout when user profile settings are used. * Used zod parse to fix type errors. * Fix unit test * Set selected date to today in datepicker when week or column view is default layout. It uses that date to show in the title bar. * Moved booker layout settings to event and user meta data instead of new db column. * Converted booker layout strings into an enum. * Renamed booker layouts feature flag and deleted unused v2 booker feature flag. * Update packages/trpc/server/routers/viewer/eventTypes/update.handler.ts Co-authored-by: Omar López <[email protected]> * Fix import * Fix lint warnings in EventTypeSingleLayout * Fixed bug where when selected date was passed via query param page booking form wouldn't automatically show up. It would still serve you the date selection. This should fix e2e tests. * Fixed layout header. * Enabled booking layout toggle feature flag. --------- Co-authored-by: Peer Richelsen <[email protected]> Co-authored-by: Omar López <[email protected]> Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
27 files changed
+534
-115
No files matched your search
@@ -16,6 +16,7 @@ import {
|
||||
allowDisablingHostConfirmationEmails,
|
||||
} from "@calcom/features/ee/workflows/lib/allowDisablingStandardEmails";
|
||||
import { FormBuilder } from "@calcom/features/form-builder/FormBuilder";
|
||||
import { BookerLayoutSelector } from "@calcom/features/settings/BookerLayoutSelector";
|
||||
import { classNames } from "@calcom/lib";
|
||||
import { APP_NAME, CAL_URL } from "@calcom/lib/constants";
|
||||
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||
@@ -159,6 +160,10 @@ export const EventAdvancedTab = ({ eventType, team }: Pick<EventTypeSetupProps,
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
<hr className="border-subtle [&:has(+div:empty)]:hidden" />
|
||||
<div>
|
||||
<BookerLayoutSelector fallbackToUserSettings />
|
||||
</div>
|
||||
<hr className="border-subtle" />
|
||||
<FormBuilder
|
||||
title={t("booking_questions_title")}
|
||||
|
||||
@@ -390,7 +390,7 @@ function EventTypeSingleLayout({
|
||||
<Button
|
||||
className="ml-4 lg:ml-0"
|
||||
type="submit"
|
||||
loading={formMethods.formState.isSubmitting || isUpdateMutationLoading}
|
||||
loading={isUpdateMutationLoading}
|
||||
data-testid="update-eventtype"
|
||||
form="event-type-form">
|
||||
{t("save")}
|
||||
|
||||
@@ -17,9 +17,14 @@ import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||
import { useTypedQuery } from "@calcom/lib/hooks/useTypedQuery";
|
||||
import { HttpError } from "@calcom/lib/http-error";
|
||||
import { telemetryEventTypes, useTelemetry } from "@calcom/lib/telemetry";
|
||||
import { validateBookerLayouts } from "@calcom/lib/validateBookerLayouts";
|
||||
import type { Prisma } from "@calcom/prisma/client";
|
||||
import type { PeriodType, SchedulingType } from "@calcom/prisma/enums";
|
||||
import type { customInputSchema, EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils";
|
||||
import type {
|
||||
BookerLayoutSettings,
|
||||
customInputSchema,
|
||||
EventTypeMetaDataSchema,
|
||||
} from "@calcom/prisma/zod-utils";
|
||||
import { eventTypeBookingFields } from "@calcom/prisma/zod-utils";
|
||||
import type { RouterOutputs } from "@calcom/trpc/react";
|
||||
import { trpc } from "@calcom/trpc/react";
|
||||
@@ -96,6 +101,7 @@ export type FormValues = {
|
||||
hosts: { userId: number; isFixed: boolean }[];
|
||||
bookingFields: z.infer<typeof eventTypeBookingFields>;
|
||||
availability?: AvailabilityOption;
|
||||
bookerLayouts: BookerLayoutSettings;
|
||||
};
|
||||
|
||||
export type CustomInputParsed = typeof customInputSchema._output;
|
||||
@@ -335,6 +341,7 @@ const EventTypePage = (props: EventTypeSetupProps) => {
|
||||
seatsPerTimeSlotEnabled,
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
minimumBookingNoticeInDurationType,
|
||||
bookerLayouts,
|
||||
...input
|
||||
} = values;
|
||||
|
||||
@@ -348,6 +355,9 @@ const EventTypePage = (props: EventTypeSetupProps) => {
|
||||
if (!isValid) throw new Error(t("event_setup_duration_limits_error"));
|
||||
}
|
||||
|
||||
const layoutError = validateBookerLayouts(metadata?.bookerLayouts || null);
|
||||
if (layoutError) throw new Error(t(layoutError));
|
||||
|
||||
if (metadata?.multipleDuration !== undefined) {
|
||||
if (metadata?.multipleDuration.length < 1) {
|
||||
throw new Error(t("event_setup_multiple_duration_error"));
|
||||
@@ -431,6 +441,9 @@ const EventTypePage = (props: EventTypeSetupProps) => {
|
||||
if (!isValid) throw new Error(t("event_setup_duration_limits_error"));
|
||||
}
|
||||
|
||||
const layoutError = validateBookerLayouts(metadata?.bookerLayouts || null);
|
||||
if (layoutError) throw new Error(t(layoutError));
|
||||
|
||||
if (metadata?.multipleDuration !== undefined) {
|
||||
if (metadata?.multipleDuration.length < 1) {
|
||||
throw new Error(t("event_setup_multiple_duration_error"));
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
import { useState } from "react";
|
||||
import { Controller, useForm } from "react-hook-form";
|
||||
|
||||
import { BookerLayoutSelector } from "@calcom/features/settings/BookerLayoutSelector";
|
||||
import ThemeLabel from "@calcom/features/settings/ThemeLabel";
|
||||
import { getLayout } from "@calcom/features/settings/layouts/SettingsLayout";
|
||||
import { APP_NAME } from "@calcom/lib/constants";
|
||||
import { checkWCAGContrastColor } from "@calcom/lib/getBrandColours";
|
||||
import { useHasPaidPlan } from "@calcom/lib/hooks/useHasPaidPlan";
|
||||
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||
import { validateBookerLayouts } from "@calcom/lib/validateBookerLayouts";
|
||||
import { trpc } from "@calcom/trpc/react";
|
||||
import {
|
||||
Alert,
|
||||
@@ -62,6 +64,7 @@ const AppearanceView = () => {
|
||||
brandColor: user?.brandColor || "#292929",
|
||||
darkBrandColor: user?.darkBrandColor || "#fafafa",
|
||||
hideBranding: user?.hideBranding,
|
||||
defaultBookerLayouts: user?.defaultBookerLayouts,
|
||||
},
|
||||
});
|
||||
|
||||
@@ -76,8 +79,12 @@ const AppearanceView = () => {
|
||||
showToast(t("settings_updated_successfully"), "success");
|
||||
reset(data);
|
||||
},
|
||||
onError: () => {
|
||||
showToast(t("error_updating_settings"), "error");
|
||||
onError: (error) => {
|
||||
if (error.message) {
|
||||
showToast(error.message, "error");
|
||||
} else {
|
||||
showToast(t("error_updating_settings"), "error");
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
@@ -92,6 +99,9 @@ const AppearanceView = () => {
|
||||
<Form
|
||||
form={formMethods}
|
||||
handleSubmit={(values) => {
|
||||
const layoutError = validateBookerLayouts(values.defaultBookerLayouts || null);
|
||||
if (layoutError) throw new Error(t(layoutError));
|
||||
|
||||
mutation.mutate({
|
||||
...values,
|
||||
// Radio values don't support null as values, therefore we convert an empty string
|
||||
@@ -130,6 +140,13 @@ const AppearanceView = () => {
|
||||
/>
|
||||
</div>
|
||||
|
||||
<hr className="border-subtle my-8 border [&:has(+hr)]:hidden" />
|
||||
<BookerLayoutSelector
|
||||
name="metadata.defaultBookerLayouts"
|
||||
title={t("bookerlayout_user_settings_title")}
|
||||
description={t("bookerlayout_user_settings_description")}
|
||||
/>
|
||||
|
||||
<hr className="border-subtle my-8 border" />
|
||||
<div className="mb-6 flex items-center text-sm">
|
||||
<div>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="250" height="144" fill="none"><rect width="245.667" height="144" x="2.333" fill="url(#a)" rx="6"/><path fill="url(#b)" d="M0 0h249.6v144H0z" opacity=".2"/><rect width="180.557" height="105.342" x="34.888" y="18.829" fill="#fff" rx="6.272"/><circle cx="46.771" cy="30.712" r="3.136" fill="#E5E7EB"/><rect width="33.449" height="2.136" x="43.635" y="38.028" fill="#D1D5DB" rx="1.045"/><rect width="25.087" height="2.091" x="43.635" y="44.345" fill="#E5E7EB" rx="1.045"/><rect width="17.087" height="2.091" x="43.635" y="50.617" fill="#E5E7EB" rx="1.045"/><rect width="25.087" height="2.091" x="43.635" y="56.889" fill="#E5E7EB" rx="1.045"/><rect width="6.272" height="2.091" x="43.635" y="69.432" fill="#D1D5DB" rx="1.045"/><rect width="6.272" height="2.091" x="51.997" y="69.432" fill="#D1D5DB" rx="1.045"/><rect width="6.272" height="2.091" x="60.359" y="69.432" fill="#D1D5DB" rx="1.045"/><rect width="6.272" height="2.091" x="68.722" y="69.432" fill="#D1D5DB" rx="1.045"/><rect width="6.272" height="2.091" x="77.084" y="69.432" fill="#D1D5DB" rx="1.045"/><rect width="6.272" height="2.091" x="85.446" y="69.432" fill="#D1D5DB" rx="1.045"/><rect width="6.272" height="2.091" x="93.808" y="69.432" fill="#D1D5DB" rx="1.045"/><rect width="6.272" height="6.272" x="60.359" y="75.704" fill="#E5E7EB" rx="1.045"/><rect width="6.272" height="6.272" x="68.721" y="75.704" fill="#E5E7EB" rx="1.045"/><rect width="6.272" height="6.272" x="77.084" y="75.704" fill="#E5E7EB" rx="1.045"/><rect width="6.272" height="6.272" x="85.446" y="75.704" fill="#E5E7EB" rx="1.045"/><rect width="6.272" height="6.272" x="93.808" y="75.704" fill="#F3F4F6" rx="1.045"/><rect width="6.272" height="6.272" x="43.635" y="86.157" fill="#F3F4F6" rx="1.045"/><rect width="6.272" height="6.272" x="51.997" y="86.157" fill="#E5E7EB" rx="1.045"/><rect width="6.272" height="6.272" x="60.359" y="86.157" fill="#E5E7EB" rx="1.045"/><rect width="6.272" height="6.272" x="68.721" y="86.157" fill="#E5E7EB" rx="1.045"/><rect width="6.272" height="6.272" x="77.084" y="86.157" fill="#E5E7EB" rx="1.045"/><rect width="6.272" height="6.272" x="85.446" y="86.157" fill="#E5E7EB" rx="1.045"/><rect width="6.272" height="6.272" x="93.808" y="86.157" fill="#F3F4F6" rx="1.045"/><rect width="6.272" height="6.272" x="43.635" y="96.609" fill="#F3F4F6" rx="1.045"/><rect width="6.272" height="6.272" x="51.997" y="96.609" fill="#E5E7EB" rx="1.045"/><rect width="6.272" height="6.272" x="60.359" y="96.609" fill="#E5E7EB" rx="1.045"/><rect width="6.272" height="6.272" x="68.721" y="96.609" fill="#E5E7EB" rx="1.045"/><rect width="6.272" height="6.272" x="77.084" y="96.609" fill="#9CA3AF" rx="1.045"/><rect width="6.272" height="6.272" x="85.446" y="96.609" fill="#E5E7EB" rx="1.045"/><rect width="6.272" height="6.272" x="93.808" y="96.609" fill="#F3F4F6" rx="1.045"/><rect width="6.272" height="6.272" x="43.635" y="107.062" fill="#F3F4F6" rx="1.045"/><rect width="6.272" height="6.272" x="51.997" y="107.062" fill="#E5E7EB" rx="1.045"/><rect width="6.272" height="6.272" x="60.359" y="107.062" fill="#E5E7EB" rx="1.045"/><rect width="6.272" height="6.272" x="68.721" y="107.062" fill="#E5E7EB" rx="1.045"/><path fill="#E5E7EB" d="M109.487 23.395v96.211h2.091V23.394h-2.091Z" mask="url(#path-4-inside-1_4870_357380)"/><rect width="25.087" height="4.181" x="114.714" y="27.576" fill="#D1D5DB" rx="1.045"/><rect width="25.087" height="6.272" x="114.714" y="35.938" fill="#E5E7EB" rx="1.045"/><rect width="25.087" height="6.272" x="114.714" y="46.391" fill="#E5E7EB" rx="1.045"/><rect width="25.087" height="6.272" x="114.714" y="56.843" fill="#E5E7EB" rx="1.045"/><rect width="25.087" height="6.272" x="114.714" y="67.296" fill="#E5E7EB" rx="1.045"/><rect width="25.087" height="6.272" x="114.714" y="77.749" fill="#E5E7EB" rx="1.045"/><rect width="25.087" height="6.272" x="114.714" y="88.202" fill="#E5E7EB" rx="1.045"/><rect width="25.087" height="4.181" x="148.163" y="27.576" fill="#D1D5DB" rx="1.045"/><rect width="25.087" height="6.272" x="148.163" y="35.938" fill="#E5E7EB" rx="1.045"/><rect width="25.087" height="6.272" x="148.163" y="46.391" fill="#E5E7EB" rx="1.045"/><rect width="25.087" height="6.272" x="148.163" y="56.843" fill="#E5E7EB" rx="1.045"/><rect width="25.087" height="6.272" x="148.163" y="67.296" fill="#E5E7EB" rx="1.045"/><rect width="25.087" height="6.272" x="148.163" y="77.749" fill="#E5E7EB" rx="1.045"/><rect width="25.087" height="6.272" x="148.163" y="88.202" fill="#E5E7EB" rx="1.045"/><rect width="25.087" height="4.181" x="181.611" y="27.576" fill="#D1D5DB" rx="1.045"/><rect width="25.087" height="6.272" x="181.612" y="35.938" fill="#E5E7EB" rx="1.045"/><rect width="25.087" height="6.272" x="181.611" y="46.391" fill="#E5E7EB" rx="1.045"/><rect width="25.087" height="6.272" x="181.611" y="56.843" fill="#E5E7EB" rx="1.045"/><rect width="25.087" height="6.272" x="181.611" y="67.296" fill="#E5E7EB" rx="1.045"/><rLine truncated
|
||||
|
After Width: | Height: | Size: 18 KiB |
@@ -0,0 +1,60 @@
|
||||
<svg width="250" height="144" viewBox="0 0 250 144" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<rect x="2" width="245.667" height="144" rx="6" fill="url(#paint0_radial_4870_357167)"/>
|
||||
<rect opacity="0.2" width="249.6" height="144" fill="url(#pattern0)"/>
|
||||
<rect x="34.9768" y="32.5508" width="179.713" height="78.8984" rx="6.57487" fill="white"/>
|
||||
<circle cx="47.0308" cy="44.6048" r="3.28743" fill="#E5E7EB"/>
|
||||
<rect x="43.7434" y="52.2754" width="26.2995" height="2.28743" rx="1.09581" fill="#D1D5DB"/>
|
||||
<rect x="43.7434" y="58.9463" width="18.2995" height="2.19162" rx="1.09581" fill="#E5E7EB"/>
|
||||
<rect x="43.7434" y="65.521" width="10.2995" height="2.19162" rx="1.09581" fill="#E5E7EB"/>
|
||||
<rect x="43.7434" y="72.0957" width="18.2995" height="2.19162" rx="1.09581" fill="#E5E7EB"/>
|
||||
<path d="M77.7135 36.9341V107.066H79.9051V36.9341H77.7135Z" fill="#E5E7EB" mask="url(#path-4-inside-1_4870_357167)"/>
|
||||
<rect x="87.5757" y="41.3174" width="26.2995" height="2.19162" rx="1.09581" fill="#E5E7EB"/>
|
||||
<rect x="87.5757" y="47.8921" width="8.76649" height="2.19162" rx="1.09581" fill="#D1D5DB"/>
|
||||
<rect x="98.5339" y="47.8921" width="8.76649" height="2.19162" rx="1.09581" fill="#D1D5DB"/>
|
||||
<rect x="109.492" y="47.8921" width="8.76649" height="2.19162" rx="1.09581" fill="#D1D5DB"/>
|
||||
<rect x="120.45" y="47.8921" width="8.76649" height="2.19162" rx="1.09581" fill="#D1D5DB"/>
|
||||
<rect x="131.408" y="47.8921" width="8.76649" height="2.19162" rx="1.09581" fill="#D1D5DB"/>
|
||||
<rect x="142.366" y="47.8921" width="8.76649" height="2.19162" rx="1.09581" fill="#D1D5DB"/>
|
||||
<rect x="153.324" y="47.8921" width="8.76649" height="2.19162" rx="1.09581" fill="#D1D5DB"/>
|
||||
<rect x="109.492" y="54.4668" width="8.76649" height="8.76649" rx="1.09581" fill="#E5E7EB"/>
|
||||
<rect x="120.45" y="54.4668" width="8.76649" height="8.76649" rx="1.09581" fill="#E5E7EB"/>
|
||||
<rect x="131.408" y="54.4668" width="8.76649" height="8.76649" rx="1.09581" fill="#E5E7EB"/>
|
||||
<rect x="142.366" y="54.4668" width="8.76649" height="8.76649" rx="1.09581" fill="#E5E7EB"/>
|
||||
<rect x="153.324" y="54.4668" width="8.76649" height="8.76649" rx="1.09581" fill="#F3F4F6"/>
|
||||
<rect x="87.5757" y="67.6167" width="8.76649" height="8.76649" rx="1.09581" fill="#F3F4F6"/>
|
||||
<rect x="98.5339" y="67.6167" width="8.76649" height="8.76649" rx="1.09581" fill="#E5E7EB"/>
|
||||
<rect x="109.492" y="67.6167" width="8.76649" height="8.76649" rx="1.09581" fill="#E5E7EB"/>
|
||||
<rect x="120.45" y="67.6167" width="8.76649" height="8.76649" rx="1.09581" fill="#E5E7EB"/>
|
||||
<rect x="131.408" y="67.6167" width="8.76649" height="8.76649" rx="1.09581" fill="#E5E7EB"/>
|
||||
<rect x="142.366" y="67.6167" width="8.76649" height="8.76649" rx="1.09581" fill="#E5E7EB"/>
|
||||
<rect x="153.324" y="67.6167" width="8.76649" height="8.76649" rx="1.09581" fill="#F3F4F6"/>
|
||||
<rect x="87.5757" y="80.7666" width="8.76649" height="8.76649" rx="1.09581" fill="#F3F4F6"/>
|
||||
<rect x="98.5339" y="80.7666" width="8.76649" height="8.76649" rx="1.09581" fill="#E5E7EB"/>
|
||||
<rect x="109.492" y="80.7666" width="8.76649" height="8.76649" rx="1.09581" fill="#E5E7EB"/>
|
||||
<rect x="120.45" y="80.7666" width="8.76649" height="8.76649" rx="1.09581" fill="#E5E7EB"/>
|
||||
<rect x="131.408" y="80.7666" width="8.76649" height="8.76649" rx="1.09581" fill="#9CA3AF"/>
|
||||
<rect x="142.366" y="80.7666" width="8.76649" height="8.76649" rx="1.09581" fill="#E5E7EB"/>
|
||||
<rect x="153.324" y="80.7666" width="8.76649" height="8.76649" rx="1.09581" fill="#F3F4F6"/>
|
||||
<rect x="87.5757" y="93.916" width="8.76649" height="8.76649" rx="1.09581" fill="#F3F4F6"/>
|
||||
<rect x="98.5339" y="93.916" width="8.76649" height="8.76649" rx="1.09581" fill="#E5E7EB"/>
|
||||
<rect x="109.492" y="93.916" width="8.76649" height="8.76649" rx="1.09581" fill="#E5E7EB"/>
|
||||
<rect x="120.45" y="93.916" width="8.76649" height="8.76649" rx="1.09581" fill="#E5E7EB"/>
|
||||
<path d="M169.762 36.9341V107.066H171.953V36.9341H169.762Z" fill="#E5E7EB" mask="url(#path-11-inside-2_4870_357167)"/>
|
||||
<rect x="179.624" y="41.3174" width="26.2995" height="2.19162" rx="1.09581" fill="#E5E7EB"/>
|
||||
<rect x="179.624" y="47.8921" width="26.2995" height="5.47906" rx="1.09581" fill="#E5E7EB"/>
|
||||
<rect x="179.624" y="57.7544" width="26.2995" height="5.47906" rx="1.09581" fill="#E5E7EB"/>
|
||||
<rect x="179.624" y="67.6167" width="26.2995" height="5.47906" rx="1.09581" fill="#E5E7EB"/>
|
||||
<rect x="179.624" y="77.479" width="26.2995" height="5.47906" rx="1.09581" fill="#E5E7EB"/>
|
||||
<rect x="179.624" y="87.3413" width="26.2995" height="5.47906" rx="1.09581" fill="#E5E7EB"/>
|
||||
<rect x="179.624" y="97.2036" width="26.2995" height="5.47906" rx="1.09581" fill="#E5E7EB"/>
|
||||
<defs>
|
||||
<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
|
||||
<use xlink:href="#image0_4870_357167" transform="scale(0.00480769 0.00833333)"/>
|
||||
</pattern>
|
||||
<radialGradient id="paint0_radial_4870_357167" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(457.368 -66) rotate(151.954) scale(454.486 744.445)">
|
||||
<stop stop-color="#A2ABBE"/>
|
||||
<stop offset="1" stop-color="#D4D4D5"/>
|
||||
</radialGradient>
|
||||
<image id="image0_4870_357167" width="208" height="120" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANAAAAB4CAMAAAC0NYzFAAAAWlBMVEX////4+Pj4+Pj4+Pjw8PDw8PDo6Ojg4ODY2NjY2NjQ0NDIyMjAwMC4uLiwsLC4uLjIyMjIyMjU1NTY2Njc3Nzg4ODg4ODk5OTo6Ojo6Ojs7Ozs7Ozu7u709PT32s2WAAAAHnRSTlNISExKTFBQUFhQWGBgYGhoXFhYVFRUUlBPTk5QTEx67T/AAAAjPElEQVR4AUX6R6IjTW8Gaj7giXgRiUyymvr0yx3V/pfZ7jpM4Ifw4PdYhB95kiuLlTNl3v5s7wsXR1OL5IN+ckY4RfsefToFnPn9RXOVE2e6gOs9qsGjAPx4cbB+7HOGZXjx9KuzB/jBCdfjDVpD5mP4I9TvcLpCRvPKnwPOE9lAZ/qiOj0Ab5wrWGRTnEnqViknwYTAdiL41PXp8Mmet1ztAYHF5SQBXFWrhyhWuNPQ17Xz7tUc0OZxnEMd8OySy41KWN3Bt7C8d+GE9OVnZarLHiPiOjPqjpRInGLGtS9w0m/iRVt+f53kKo+KuszceTEbOeo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ebuuTOxkn8/j68izwcfKwCMMrVXkidd16wvOkD28kLoHQK9ui5Wg2LeJ/G8gKzy0trz749HZCl7Line truncated
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 17 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="250" height="144" fill="none"><rect width="245.667" height="144" x="1.667" fill="url(#a)" rx="6"/><path fill="url(#b)" d="M0 0h249.6v144H0z" opacity=".2"/><rect width="179.533" height="107.246" x="34.734" y="17.877" fill="#fff" rx="6.384"/><circle cx="46.828" cy="29.972" r="3.192" fill="#E5E7EB"/><rect width="34.048" height="2.192" x="43.636" y="37.42" fill="#D1D5DB" rx="1.064"/><rect width="25.536" height="2.128" x="43.636" y="43.868" fill="#E5E7EB" rx="1.064"/><rect width="25.536" height="2.128" x="43.636" y="50.252" fill="#E5E7EB" rx="1.064"/><rect width="25.536" height="2.128" x="43.636" y="56.636" fill="#E5E7EB" rx="1.064"/><rect width="6.384" height="2.128" x="43.636" y="69.404" fill="#D1D5DB" rx="1.064"/><rect width="6.384" height="2.128" x="52.149" y="69.404" fill="#D1D5DB" rx="1.064"/><rect width="6.384" height="2.128" x="60.66" y="69.404" fill="#D1D5DB" rx="1.064"/><rect width="6.384" height="2.128" x="69.172" y="69.404" fill="#D1D5DB" rx="1.064"/><rect width="6.384" height="2.128" x="77.684" y="69.404" fill="#D1D5DB" rx="1.064"/><rect width="6.384" height="2.128" x="86.196" y="69.404" fill="#D1D5DB" rx="1.064"/><rect width="6.384" height="2.128" x="94.708" y="69.404" fill="#D1D5DB" rx="1.064"/><rect width="6.384" height="6.384" x="60.66" y="75.788" fill="#E5E7EB" rx="1.064"/><rect width="6.384" height="6.384" x="69.172" y="75.788" fill="#E5E7EB" rx="1.064"/><rect width="6.384" height="6.384" x="77.684" y="75.788" fill="#E5E7EB" rx="1.064"/><rect width="6.384" height="6.384" x="86.196" y="75.788" fill="#E5E7EB" rx="1.064"/><rect width="6.384" height="6.384" x="94.708" y="75.788" fill="#F3F4F6" rx="1.064"/><rect width="6.384" height="6.384" x="43.636" y="86.428" fill="#F3F4F6" rx="1.064"/><rect width="6.384" height="6.384" x="52.149" y="86.428" fill="#E5E7EB" rx="1.064"/><rect width="6.384" height="6.384" x="60.66" y="86.428" fill="#E5E7EB" rx="1.064"/><rect width="6.384" height="6.384" x="69.172" y="86.428" fill="#E5E7EB" rx="1.064"/><rect width="6.384" height="6.384" x="77.684" y="86.428" fill="#E5E7EB" rx="1.064"/><rect width="6.384" height="6.384" x="86.196" y="86.428" fill="#E5E7EB" rx="1.064"/><rect width="6.384" height="6.384" x="94.708" y="86.428" fill="#F3F4F6" rx="1.064"/><rect width="6.384" height="6.384" x="43.636" y="97.068" fill="#F3F4F6" rx="1.064"/><rect width="6.384" height="6.384" x="52.149" y="97.068" fill="#E5E7EB" rx="1.064"/><rect width="6.384" height="6.384" x="60.66" y="97.068" fill="#E5E7EB" rx="1.064"/><rect width="6.384" height="6.384" x="69.172" y="97.068" fill="#E5E7EB" rx="1.064"/><rect width="6.384" height="6.384" x="77.684" y="97.068" fill="#9CA3AF" rx="1.064"/><rect width="6.384" height="6.384" x="86.196" y="97.068" fill="#E5E7EB" rx="1.064"/><rect width="6.384" height="6.384" x="94.708" y="97.068" fill="#F3F4F6" rx="1.064"/><rect width="6.384" height="6.384" x="43.636" y="107.708" fill="#F3F4F6" rx="1.064"/><rect width="6.384" height="6.384" x="52.149" y="107.708" fill="#E5E7EB" rx="1.064"/><rect width="6.384" height="6.384" x="60.66" y="107.708" fill="#E5E7EB" rx="1.064"/><rect width="6.384" height="6.384" x="69.172" y="107.708" fill="#E5E7EB" rx="1.064"/><path fill="#E5E7EB" d="M110.668 22.524v97.952h2.128V22.524h-2.128Z" mask="url(#path-4-inside-1_4870_357234)"/><g clip-path="url(#c)"><rect width="12.768" height="2.128" x="120.244" y="26.78" fill="#D1D5DB" rx="1.064"/><rect width="12.768" height="2.128" x="137.268" y="26.78" fill="#D1D5DB" rx="1.064"/><rect width="12.768" height="2.128" x="154.292" y="26.78" fill="#D1D5DB" rx="1.064"/><rect width="12.768" height="2.128" x="171.316" y="26.78" fill="#D1D5DB" rx="1.064"/><rect width="12.768" height="2.128" x="188.34" y="26.78" fill="#D1D5DB" rx="1.064"/><path stroke="#E5E7EB" stroke-width=".532" d="M118.116 35.292c0-1.175.953-2.127 2.128-2.127h14.896v6.383h-17.024v-4.256ZM135.14 33.165h17.024v6.384H135.14zM152.164 33.165h17.024v6.384h-17.024zM169.188 33.165h17.024v6.384h-17.024zM186.212 33.165h14.896c1.175 0 2.128.952 2.128 2.127v4.256h-17.024v-6.383ZM118.116 39.548h17.024v6.384h-17.024z"/><path stroke="#E5E7EB" stroke-width=".532" d="M135.14 39.548h17.024v6.384H135.14zM152.164 39.548h17.024v6.384h-17.024zM169.188 39.548h17.024v6.384h-17.024zM186.212 39.548h17.024v6.384h-17.024zM118.116 45.932h17.024v6.384h-17.024zM135.14 45.932h17.024v6.384H135.14zM152.164 45.932h17.024v6.384h-17.024zM169.188 45.932h17.024v6.384h-17.024zM186.212 45.932h17.024v6.384h-17.024zM118.116 52.316h17.024V58.7h-17.024zM135.14 52.316h17.024V58.7H135.14zM152.164 52.316h17.024V58.7h-17.024zM169.188 52.316h17.024V58.7h-17.024zM186.212 52.316h17.024V58.7h-17.024zM118.116 58.7h17.024v6.384h-17.024zM135.14 58.7h17.024v6.384H135.14zM152.164 58.7h17.024v6.384h-17.024zM169.188 58.7h17.024v6.384h-17.024zM186.212 58.7h17.024v6.384h-17.024zM118.116 65.084h17.024v6.384h-17.024zM135.14 65.084h17.024v6.384H135.14zM152.164 65.084h17.024v6.384h-17.024zM169.188 65.084h1Line truncated
|
||||
|
After Width: | Height: | Size: 19 KiB |
@@ -294,6 +294,18 @@
|
||||
"success": "Success",
|
||||
"failed": "Failed",
|
||||
"password_has_been_reset_login": "Your password has been reset. You can now login with your newly created password.",
|
||||
"bookerlayout_title": "Layout",
|
||||
"bookerlayout_default_title": "Default view",
|
||||
"bookerlayout_description": "You can select multiple and your bookers can switch views.",
|
||||
"bookerlayout_user_settings_title": "Booking layout",
|
||||
"bookerlayout_user_settings_description": "You can select multiple and bookers can switch views. This can be overridden on a per event basis.",
|
||||
"bookerlayout_month_view": "Month",
|
||||
"bookerlayout_week_view": "Weekly",
|
||||
"bookerlayout_column_view": "Column",
|
||||
"bookerlayout_error_min_one_enabled": "At least one layout has to be enabled.",
|
||||
"bookerlayout_error_default_not_enabled": "The layout you selected as the default view is not part of the enabled layouts.",
|
||||
"bookerlayout_error_unknown_layout": "The layout you selected is not a valid layout.",
|
||||
"bookerlayout_override_global_settings": "You can manage this for all your event types in <2>settings / appearance</2> or <6>override for this event only</6>.",
|
||||
"unexpected_error_try_again": "An unexpected error occurred. Try again.",
|
||||
"sunday_time_error": "Invalid time on Sunday",
|
||||
"monday_time_error": "Invalid time on Monday",
|
||||
|
||||
Reference in new issue
Block a user