Skip to content

Comments

Adding UI for Requires Confirmation#3017

Merged
PeerRich merged 19 commits intomainfrom
feat/requires-confirmaiton-ui
Jun 10, 2022
Merged

Adding UI for Requires Confirmation#3017
PeerRich merged 19 commits intomainfrom
feat/requires-confirmaiton-ui

Conversation

@sean-brydon
Copy link
Member

@sean-brydon sean-brydon commented Jun 8, 2022

What does this PR do?

image

image

@Jaibles added it requires confirmation UI here - Do you think we should display this here too?

Fixes #2997

Environment: Staging(main branch) / Production

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist

  • I haven't added tests that prove my fix is effective or that my feature works

@vercel
Copy link

vercel bot commented Jun 8, 2022

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

Name Status Preview Updated
cal ✅ Ready (Inspect) Visit Preview Jun 10, 2022 at 8:46PM (UTC)
3 Ignored Deployments
Name Status Preview Updated
docs ⬜️ Ignored (Inspect) Jun 10, 2022 at 8:46PM (UTC)
swagger ⬜️ Ignored (Inspect) Jun 10, 2022 at 8:46PM (UTC)
ui ⬜️ Ignored (Inspect) Jun 10, 2022 at 8:46PM (UTC)

Copy link
Member

@PeerRich PeerRich left a comment

Choose a reason for hiding this comment

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

great stuff!

@PeerRich PeerRich requested a review from zomars June 8, 2022 13:45
@sean-brydon sean-brydon added the ♻️ autoupdate tells kodiak to keep this branch up-to-date label Jun 8, 2022
periodStartDate: true,
periodEndDate: true,
recurringEvent: true,
requiresConfirmation: true,
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's take this opportunity to:

  1. Extract this commonly used select
  2. Put it in packages/prisma/selects/event-types.ts
  3. Use it instead instead of adding requiresConfirmation individually.

@PeerRich PeerRich merged commit 567a7c8 into main Jun 10, 2022
@PeerRich PeerRich deleted the feat/requires-confirmaiton-ui branch June 10, 2022 23:32
@zomars zomars mentioned this pull request Jun 15, 2022
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

None yet

Development

Successfully merging this pull request may close these issues.

Show: "Requires Confirmation" for opt-in-bookings

3 participants