Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schedule booking confirmation #519

Merged
merged 7 commits into from
Jul 12, 2024

Conversation

devmount
Copy link
Collaborator

@devmount devmount commented Jul 4, 2024

Description of the Change

This change adds a switch to toggle off booking confirmation.

image

Benefits

If users don't need the additional layer of safety from flooding their calendar with events, they can make the booking process for potential attendees much faster.

Applicable Issues

Closes #460

@devmount devmount requested a review from MelissaAutumn July 4, 2024 20:23
@devmount devmount self-assigned this Jul 4, 2024
frontend/src/locales/de.json Outdated Show resolved Hide resolved
@@ -317,6 +358,7 @@
"continueToFxa": "Enter your email above to continue to Mozilla Accounts"
},
"nameIsInvitingYou": "{name} is inviting you",
"ownerNeedsToConfirmBooking": "If this option is active, appointments are only booked until the calendar owner confirmed it.",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Please correct my bad English if necessary. In this context it might be even better to say "until you confirmed them", because it's displayed only for the one editing their schedule.

Copy link
Member

@MelissaAutumn MelissaAutumn left a comment

Choose a reason for hiding this comment

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

A few things!

backend/src/appointment/database/models.py Outdated Show resolved Hide resolved
backend/src/appointment/database/schemas.py Outdated Show resolved Hide resolved
frontend/src/locales/en.json Outdated Show resolved Hide resolved
backend/src/appointment/routes/schedule.py Show resolved Hide resolved
Copy link
Member

@MelissaAutumn MelissaAutumn left a comment

Choose a reason for hiding this comment

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

Looks good thanks!

frontend/src/views/BookingView.vue Outdated Show resolved Hide resolved
@devmount devmount merged commit 35b09c6 into main Jul 12, 2024
4 checks passed
@devmount devmount deleted the enhancements/460-schedule-booking-confirmation branch July 12, 2024 17:02
devmount added a commit that referenced this pull request Jul 16, 2024
* Bake in the github short sha as the container's release version. (#531)

* Bake in the github short sha as the container's release version.

* changed github_sha syntax for consistency within the file

---------

Co-authored-by: Jo <[email protected]>

* Bugs/517 ftue qa (#532)

* Don't overwrite app theme, just remove the dark class from html.

* * Require one weekday to be selected
* Adjust styling of notice bar
* Dynamically show warnings on notice bar
* Add missing chip

* Remove hardcoded cert (#533)

* converted ssl cert to a variable

* update ssl cert in validate workflow

* corrected ssl cert variable reference (#534)

* added env variable declaration (#535)

* Replace yarn with npm (#537)

* Replace yarn with npm

* Fix validation workflow

* Oops, also swap yarn here.

* Add package lock

* Waiting List Admin Panel (Readonly) (#536)

* Add initial waiting list admin panel.

Read-only for now, with some filters.

* Add tests

* 🌐 Update German translation

* Adjust script tag and remove console log

---------

Co-authored-by: Andreas Müller <[email protected]>

* added recursive flag to frontend zip command (#539)

* Add another except for any OAuth2Errors (#540)

* Schedule booking confirmation (#519)

* ➕ Add schedule booking confirmation

* ➕ Enhance schedule API to handle bookings without confirmation

* 🔨 Show proper success message depending on confirmation status

* 🔨 Make field nullable and fix fn return

* 🌐 Update frontend/src/locales/en.json

Co-authored-by: Mel <[email protected]>

* 🌐 Update German translation

* 🔨 Assume appointment mustn't be null

---------

Co-authored-by: Mel <[email protected]>

* Add types for utils (#520)

* Configuration to fix HMR (#527)

* ➕ Add configuration to fix HMR

* 🔨 Make polling optional by env var

* 🔨 Fix merge config

* 🔨 Only use necessary options

* Update English heading cases (#548)

* Use server_default for migrations, and fix a logic error from my suggestion (#549)

---------

Co-authored-by: Mel <[email protected]>
Co-authored-by: Jo <[email protected]>
devmount added a commit that referenced this pull request Jul 17, 2024
* ➕ Add types for components elements subdirectories

* 🔨 Fix merge conflicts

* Catch up from main (#551)

* Bake in the github short sha as the container's release version. (#531)

* Bake in the github short sha as the container's release version.

* changed github_sha syntax for consistency within the file

---------

Co-authored-by: Jo <[email protected]>

* Bugs/517 ftue qa (#532)

* Don't overwrite app theme, just remove the dark class from html.

* * Require one weekday to be selected
* Adjust styling of notice bar
* Dynamically show warnings on notice bar
* Add missing chip

* Remove hardcoded cert (#533)

* converted ssl cert to a variable

* update ssl cert in validate workflow

* corrected ssl cert variable reference (#534)

* added env variable declaration (#535)

* Replace yarn with npm (#537)

* Replace yarn with npm

* Fix validation workflow

* Oops, also swap yarn here.

* Add package lock

* Waiting List Admin Panel (Readonly) (#536)

* Add initial waiting list admin panel.

Read-only for now, with some filters.

* Add tests

* 🌐 Update German translation

* Adjust script tag and remove console log

---------

Co-authored-by: Andreas Müller <[email protected]>

* added recursive flag to frontend zip command (#539)

* Add another except for any OAuth2Errors (#540)

* Schedule booking confirmation (#519)

* ➕ Add schedule booking confirmation

* ➕ Enhance schedule API to handle bookings without confirmation

* 🔨 Show proper success message depending on confirmation status

* 🔨 Make field nullable and fix fn return

* 🌐 Update frontend/src/locales/en.json

Co-authored-by: Mel <[email protected]>

* 🌐 Update German translation

* 🔨 Assume appointment mustn't be null

---------

Co-authored-by: Mel <[email protected]>

* Add types for utils (#520)

* Configuration to fix HMR (#527)

* ➕ Add configuration to fix HMR

* 🔨 Make polling optional by env var

* 🔨 Fix merge config

* 🔨 Only use necessary options

* Update English heading cases (#548)

* Use server_default for migrations, and fix a logic error from my suggestion (#549)

---------

Co-authored-by: Mel <[email protected]>
Co-authored-by: Jo <[email protected]>

* ➕ Add types to calendar elements

* 🔨 Fix type errors

* 🔨 Rename type

---------

Co-authored-by: Mel <[email protected]>
Co-authored-by: Jo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"No Confirmation Needed" or "Confirmation Needed"
2 participants