* Concluded merge
* Applied stash to newly merged
* Always disconnect + remove redundant success message
* Added named dialog to replace new=1
* Merged with main p2
* Set eventTypeId to @unique
* WIP
* Undo vscode changes
* Availability dropdown works
* Remove console.log + set schedule to null as it is unneeded
* Added schedule to availability endpoint
* Reduce one refresh; hotfix state inconsistency with forced refresh for now
* Add missing translations
* Fixed some type errors I missed
* Ditch outdated remnant from before packages/prisma
* Remove Availability section for teams
* Bringing back the Availability section temporarily to teams to allow configuration
* Migrated getting-started to new availability system + updated translations + updated seed
* Fixed type error coming from main
* Titlecase 'default' by providing translation
* Fixed broken 'radio' buttons.
* schedule deleted translation added
* Added empty state for when no schedules are configured
* Added correct created message + hotfix reload hard on delete to refresh state
* Removed index renames
* Type fixes
* Update NewScheduleButton.tsx
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* --init
* refactored more dialogs --WIP
* more modals replaced by dialogs --WIP
* fix for new dialog location import
* --WIP
* lint fix
* final dialog refactor
* added more width to max-w for dialog in sm screen
* clean-up
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* checking if username is premium on google sign up
* Removed test validating query input value, but it's no longer required
* undo code that was moved to a function for reuse
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
* MVP zendesk provider
* hide zendesk on mobile
* hide zendesk chat bubble on mobile too
* made mobile selector more robust
* made user menu full width
* removed zendesk react and instead use Nextjs Script
* updated NEXT_PUBLIC_ZENDESK_KEY env in example
* Add contributing to app store docs
* Edit file structure diagram and fix build
* Add doc to meta
* Wrap example variabels in code block
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
* feat: pre-fill name and email if user loggedIn in booking page
* feat: add name to next-auth autoMergeIdentiteies response
* fix: Update booking page so if you're in your own booking, it doesn't prefill
Co-authored-by: Agusti Fernandez Pardo <git@agusti.me>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* convert the email to lowercase
this code will prevent the email check from failing if the user email contain capitalisation.
* Updated Readme to contain warning.
* Revert "Updated Readme to contain warning."
This reverts commit c406587c73.
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
* modified buffer checks
* added custom interval consideration in getSlots fn
* further getslot call fixes
* added check for end of day availability slots
* removed debug remnants
* moved slot filtering into a function
* improved readability of code
* improved readability
* extracted getFilteredTimes outside useSlot
* added a buffer test
* added another buffer test
* edge case fix for eod availability and test fix
* removed unnecessary comments
* verbose comment
* fixed eod logic and updated expected test value
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>