* added CSS variable --brand-color
* added CustomBranding component
* prisma update for brand color
* added brandcolor to user context in viewer.me
* conflict resolution
* added brandColor input and mutation
* custom brand color to availability
* brandColor added to BookingPage
* fixed availability, booking for team and added customBranding to success
* brandColor added to cancel/uid
* requested changes
* lint fix
* further changes
* lint fix
* 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>
* Fixed#1015 - Teams user registration is broken
* Type fixes for avilability form in onboarding
* Re adds missing strings
* Updates user availability in one query
Tested and working correctly
* Fixes seeder and tests
Co-authored-by: Omar López <zomars@me.com>
* 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>
* updated event title message
* 4 arguments replaced by an object
* translations
* requested changes
* further requested changes
* test fix and other minor changes
* lint fix
* fix: type errors and translate ee pages
* fix: translation key for composed string
* type fixes
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* feat: add infinite scroll on bookings tabs
* bookings page infinite scroll PR comments (#1060)
* check if `InteractionObserver` is supported
* revert query cell and use bespoke behaviour
* Update pages/bookings/[status].tsx
Co-authored-by: Mihai C <34626017+mihaic195@users.noreply.github.com>
* load more button
* make inview as a callback
Co-authored-by: Mihai C <34626017+mihaic195@users.noreply.github.com>
* mt-6
* fix: translation strings and remove unnecessary stuff
Co-authored-by: Alex Johansson <alexander@n1s.se>