Skip to content

Conversation

@sean-brydon
Copy link
Member

What does this PR do?

#3891

Puts these changes from V1 into V2 components

@vercel
Copy link

vercel bot commented Aug 25, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
cal ❌ Failed (Inspect) Sep 6, 2022 at 7:45PM (UTC)
1 Ignored Deployment
Name Status Preview Updated
swagger ⬜️ Ignored (Inspect) Sep 6, 2022 at 7:45PM (UTC)

Comment on lines 617 to 633
{!defaultCalendarConnected && (
<Alert
severity="warning"
className="mb-4"
title={<>{t("missing_connected_calendar") as string}</>}
message={
<Trans i18nKey="connect_your_calendar_and_link">
You can connect your calendar from
<a href="/apps/categories/calendar" className="underline">
here
</a>
.
</Trans>
}
/>
)}
{data.eventTypeGroups.map((group, index) => (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this didnt seem to work in the old PR and was reverted, are we sure we wanna keep this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alannnc - Is it worth removing this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just take whats on main and you should be ready to go. I think on main its called as

},
};
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With new component this is not required now.

<Select
name="primarySelectedCalendar"
placeholder={!hidePlaceholder ? `${t("select_destination_calendar")}:` : undefined}
placeholder={
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should stay as this change was made on v1 component

@alannnc alannnc enabled auto-merge (squash) September 6, 2022 18:52
@alannnc alannnc added the ♻️ autoupdate tells kodiak to keep this branch up-to-date label Sep 6, 2022
@alannnc alannnc merged commit 91bc6ae into main Sep 6, 2022
@alannnc alannnc deleted the V2auto-connect-calendar-3582 branch September 6, 2022 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

♻️ autoupdate tells kodiak to keep this branch up-to-date

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants