* Add Docker Compose as requirement to run the quick start
* Add basic frontend validation/needs for event duration
* Only add min prop to the duration field
* Don't allow negative value for the event buffer time
* Increase min duration of a event type
Co-authored-by: Alex van Andel <me@alexvanandel.com>
* WIP, WIP, WIP, WIP
* Adds missing types
* Type fixes for useSlots
* Type fixes
* Fixes periodType 500 error when updating
* Adds missing dayjs plugin and type fixes
* An attempt was made to fix tests
* Save work in progress
* Added UTC overflow to days
* Update lib/availability.ts
Co-authored-by: Alex Johansson <alexander@n1s.se>
* No more magic numbers
* Fixed slots.test & added getWorkingHours.test
* Tests pass, simpler logic, profit?
* Timezone shifting!
* Forgot to unskip tests
* Updated the user page
* Added American seed user, some fixes
* tmp fix so to continue testing availability
* Removed timeZone parameter, fix defaultValue auto-scroll
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: Alex Johansson <alexander@n1s.se>
* Add event type reordering
* Add migration for position field
* hack on a hack
* can edit
* fix ordering
* Remove console.log
Co-authored-by: Alex Johansson <alexander@n1s.se>
Co-authored-by: KATT <alexander@n1s.se>
* Refactored Schedule component
* Merge branch 'main' into feature/availability-page-revamp
* wip
* Turned value into number, many other TS tweaks
* NodeJS 16x works 100% on my local, but out of scope for this already massive PR
* Fixed TS errors in viewer.tsx and schedule/index.ts
* Reverted next.config.js
* Fixed minor remnant from moving types to @lib/types
* schema comment
* some changes to form handling
* add comments
* Turned ConfigType into number; which seems to be the value preferred by tRPC
* Fixed localized time display during onboarding
* Update components/ui/form/Schedule.tsx
Co-authored-by: Alex Johansson <alexander@n1s.se>
* Added showToast to indicate save success
* Converted number to Date, and also always establish time based on current date
* prevent height flickering of availability
by removing mb-2 of input field
* availabilty: re-added mb-2 but added min-height
* Quite a few bugs discovered, but this seems functional
Co-authored-by: KATT <alexander@n1s.se>
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
* Removes unused component
* Refactors useLocale
We don't need to pass the locale prop everywhere
* Event type fixes
* Extracts CreateNewEventDialog
* Implements tRCP for event types
* Ends the war between tRPC and next-i18next
* Locale fixes
* Linting
* Linting
* trpc i18n (not working) (#942)
* simplify i18n handler and remove redundant(?) fn check
* split up viewer to a "logged in only" and "public"
* wip -- skip first render
Co-authored-by: Omar López <zomars@me.com>
* Linting
* I18n fixes
* We don't need serverSideTranslations in every page anymore
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Alex Johansson <alexander@n1s.se>
### Internals
- Replace `lodash.*` packages with plain `lodash` & replace `lodash.*` imports with `lodash/` - should have no impact on bundle size and opens up for us to use all of lodash
- Update `viewer.me` to cherry-pick what we actually need on that query to avoid leaking extra context info
- Update `getIntegrations` to never include `.key`-property to avoid leaking
### Visual
- Update calendars so `primary` is displayed last
- Update connected calendars so they are in ascending order in which you connected them
* Removes unused component
* Refactors useLocale
We don't need to pass the locale prop everywhere
* Fixes syntax error
* Adds warning for missing localeProps
* Simplify i18n utils
* Update components/I18nLanguageHandler.tsx
Co-authored-by: Mihai C <34626017+mihaic195@users.noreply.github.com>
* Type fixes
Co-authored-by: Mihai C <34626017+mihaic195@users.noreply.github.com>
* fix#582: send user back to onboarding after adding integration if incomplete
* use more accurate, descriptive typings
Co-authored-by: Alex van Andel <me@alexvanandel.com>
* ⬆️ Bump tailwindcss from 2.2.14 to 2.2.15
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 2.2.14 to 2.2.15.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v2.2.14...v2.2.15)
---
updated-dependencies:
- dependency-name: tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* updating cal will provide a zoom meeting url
* updating cal will provide a zoom meeting url
* modifying how daily emails send
* modifying how daily emails send
* daily table
* migration updates
* daily table
* rebasing updates
* updating Daily references to a new table
* updating internal notes
* merge updates, adding Daily references to book/events.ts
* updated video email templates to remove Daily specific references
* updating the events.ts and refactoring in the event manager
* removing the package-lock
* changing calendso video powered by Daily.co to cal video powered by Daily.co
* updating some of the internal Daily notes
* added a modal for when the call/ link is invalid
* removing handle errors raw from the Daily video client
* prettier formatting fixes
* Added the Daily location to calendar events and updated Cal video references to Daily.co video
* updating references to create in event manager to check for Daily video
* fixing spacing on the cancel booking modal and adding Daily references in the event manager
* formatting fixes
* updating the readme file
* adding a daily interface in the event manager
* adding daily to the location labels
* added a note to cal event parser
* resolving yarn merge conflicts
* updating dailyReturn to DailyReturnType
* removing prettier auto and refactoring integrations: daily in the event manager
* removing changes to estlintrc.json
* updating read me formatting
* indent space for Daily ReadMe section
* resolving the merge conflicts in the yarn file
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lola-Ojabowale <lola.ojabowale@gmail.com>