V2 General Fixes (#4038)

This commit is contained in:
sean-brydon authored and GitHub committed 2022-08-31 11:13:27 +00:00
1 parent f5e394bb57
commit e17c463890
11 files changed
+52 -26

No files matched your search

@@ -79,7 +79,11 @@ export const EventAppsTab = ({
Icon={Icon.FiGrid}
headline={t("empty_installed_apps_headline")}
description={t("empty_installed_apps_description")}
buttonRaw={<Button href="/apps">{t("empty_installed_apps_button")} </Button>}
buttonRaw={
<Button target="_blank" href="/apps">
{t("empty_installed_apps_button")}{" "}
</Button>
}
/>
);
}
@@ -104,8 +104,8 @@ function EventTypeSingleLayout({
{
name: "recurring",
tabName: "recurring",
icon: Icon.FiRotateCcw,
info: `recurring_event_description`,
icon: Icon.FiRepeat,
info: `recurring_event_tab_description`,
},
{
name: "apps",
@@ -191,7 +191,8 @@ function EventTypeSingleLayout({
showToast("Link copied!", "success");
}}
/>
<Button color="secondary" size="icon" StartIcon={Icon.FiCode} combined />
{/* TODO: Implement embed here @hariom */}
{/* <Button color="secondary" size="icon" StartIcon={Icon.FiCode} combined /> */}
<Button
color="secondary"
size="icon"
+2 -2
View File
@@ -91,7 +91,7 @@ export default function Bookings() {
)}
{(query.status === "loading" || query.status === "idle") && <SkeletonLoader />}
{query.status === "success" && !isEmpty && (
<div className="pt-4 xl:mx-6 xl:pt-0">
<div className="pt-2 xl:mx-6 xl:pt-0">
<p className="pb-3 text-xs font-medium leading-4 text-gray-500">Today</p>
<div className="overflow-hidden rounded-md border border-gray-200">
<table className="w-full">
@@ -123,7 +123,7 @@ export default function Bookings() {
</div>
)}
{query.status === "success" && isEmpty && (
<div className="flex items-center justify-center">
<div className="flex items-center justify-center pt-2 xl:mx-6 xl:pt-0">
<EmptyScreen
Icon={Icon.FiCalendar}
headline={t("no_status_bookings_yet", { status: t(status).toLowerCase() })}
+3 -3
View File
@@ -305,7 +305,7 @@ export const EventTypeList = ({ group, groupIndex, readOnly, types }: EventTypeL
</Tooltip>
<Tooltip content={t("preview") as string}>
<Button
color="minimal"
color="minimalSecondary"
size="icon"
href={calLink}
StartIcon={Icon.FiExternalLink}
@@ -315,7 +315,7 @@ export const EventTypeList = ({ group, groupIndex, readOnly, types }: EventTypeL
<Tooltip content={t("copy_link") as string}>
<Button
color="minimal"
color="minimalSecondary"
size="icon"
StartIcon={Icon.FiLink}
disabled={type.$disabled}
@@ -328,7 +328,7 @@ export const EventTypeList = ({ group, groupIndex, readOnly, types }: EventTypeL
</div>
<Dropdown>
<DropdownMenuTrigger
className="focus:ring-brand-900 flex h-[36px] w-[36px] justify-center rounded-md bg-transparent text-gray-700 hover:bg-gray-100 focus:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-1"
className="focus:ring-brand-900 flex h-[36px] w-[36px] justify-center rounded-md border border-transparent bg-transparent text-gray-700 hover:border-gray-300 hover:bg-gray-100 focus:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-1"
data-testid={"event-type-options-" + type.id}>
<Icon.FiMoreHorizontal className="h-5 w-5 group-hover:text-gray-800" />
</DropdownMenuTrigger>
@@ -307,6 +307,7 @@
"recurring_bookings": "As soon as someone books a recurring meeting with you it will show up here.",
"past_bookings": "Your past bookings will show up here.",
"cancelled_bookings": "Your cancelled bookings will show up here.",
"unconfirmed_bookings": "Your unconfirmed bookings will show up here.",
"on": "on",
"and": "and",
"calendar_shows_busy_between": "Your calendar shows you as busy between",
@@ -1086,5 +1087,6 @@
"old_password": "Old password",
"secure_password": "Your new super secure password",
"error_updating_password": "Error updating password",
"two_factor_auth": "Two factor authentication"
"two_factor_auth": "Two factor authentication",
"recurring_event_tab_description": "Set up a repeating schedule"
}