* first attempt of <UpgradeScreen>
* changes to icons
* reverted changes back to initial state, needs fix: teams not showing
* WIP
* Fix weird reactnode error
* Fix loading text
* added upgradeTip to routing forms
* icon colors
* create and use hook to check if user has team plan
* use useTeamPlan for upgradeTeamsBadge
* replace huge svg with compressed jpeg
* responsive fixes
* Update packages/ui/components/badge/UpgradeTeamsBadge.tsx
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
* Give team plan features to E2E tests
* Allow option to make a user part of team int ests
* Remove flash of paywall for team user
* Add team user for typeform tests as well
Co-authored-by: Peer Richelsen <peer@cal.com>
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
* Fix UsernameTextfield to take right height
* Remove className side-effect
* Incorrect resolution version fixed
* Converted mobile DropdownMenuTrigger styles into Button
* Remove cursor-pointer, remove old Avatar* files
* Fixed styling for checkedSelect + some cleanup
Co-authored-by: gitstart-calcom <gitstart@users.noreply.github.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
* Start by moving what we have to _templates
* WIP
* WIP
* Add create/edit/delete template commands
* Type fixes cli
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: zomars <zomars@me.com>
* Fix spacing and height
* Testing if its timing out or something else
* So, timep=out is the problem. Increase the timeout to 1s for now
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
* Don't update the field when changing the select
* Fixing missing label
* Applied the correct y-8 vertical margin
* Changed the description vertical offset from title a bit more
* Add Trash icon on Availability list dropdown
* use IS_SELF_HOSTED for CalComVersion instead of an additional check for hosted and self-hosted versions
* use IS_SELF_HOSTED for HOSTED_CAL_FEATURES constant to prevent an additional check
Co-authored-by: René Müller <rene.mueller@clicksports.de>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* Save design updates for fixed round robin support
* wip - added Host relation
* DRY hostsFixed select
* Changes to allow isFixed in the Availability page
* Allow booking with fixed hosts
* Replace users with hosts if hosts is set
* Also prefer hosts over users here
* Prevent duplicates when hosts is saved
* Accidental slot duplication
* Attempt at making isFixed optional
* Sydney and Shiraz can live in harmony again
* No fixed hosts causes every to be true..
* Make hosts undefinable
* Small handleNewBooking fixes
* Similar fix to the hosts to check for empty-ness
* Default to isFixed false instead of true
* Fix event type list avatars
* Filter availableTimeSlots, collective ts's wont magically re-enable.
* (Further) Fixes to getAggregateWorkingHours
* Weird userId artifact that preceeds this branch, investigate later
* On user delete, remove host, on event type delete, also remove host
* Dynamic event types were incorrectly marked as isFixed=false
* Fixed notFound error when there are no users (but hosts)
* Fixes userIsOwner
* Oops, fixed isFixed users being included correctly
* Fixed Button styling on secondary darkmode
* Create exclusivity in selectable options
* fix: Location dropdown is overflowing #6376 (#6415)
* add `menuPlacement` react-select's props to `getReactSelectProps` to avoid dropdown overflow on small screen.
By default, set to "auto".
* CALCOM-6362 - [CAL-728] App Sidebar. Child items aren't sized/spaced properly (#6424)
* [CAL-728] App Sidebar. Child items aren't sized/spaced properly
* fix: undo logo size
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
Co-authored-by: gitstart-calcom <gitstart@users.noreply.github.com>
Co-authored-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* Fixing colors (#6429)
* Update website
* Update console
* Update yarn.lock
* Uses disable instead of filtering to be more clear
* Update EventTeamTab.tsx
* Merge conflict cleanup
* During test cases the dayjs() utcOffset is local time, this fixes that
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Thomas Brodusch <3238312+thomasbrodusch@users.noreply.github.com>
Co-authored-by: GitStart-Cal.com <121884634+gitstart-calcom@users.noreply.github.com>
Co-authored-by: gitstart-calcom <gitstart@users.noreply.github.com>
Co-authored-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
* adds upgrade badge to dropdown
* add space between batch and check
* add upgrade tool tip
* fix import
* code clean up
* fix type error
* fix type error
* fix type errors
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* make text editor reusable
* use dropdown component for block type
* remove ring when clicking on block type
* allow excluding items in toolbar
* refactor code
* make AddVariableDropdown reusable
* fixed missed translations
* fixes variable translation issue
* change missed translation variables
* make AddVariablesDropdown reusable
* reorder block types in dropdown
* remove not needed prop
* code clean up
* center add variable dropwdown icon
* remove rounded borders in dropwdown on hover and active
* center icons
* fix tool bar items dropdown
* add constant for dynamic text variables
* remove not needed variables (added from merge)
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: alannnc <alannnc@gmail.com>
* make text editor reusable
* use dropdown component for block type
* remove ring when clicking on block type
* allow excluding items in toolbar
* refactor code
* make AddVariableDropdown reusable
* fixed missed translations
* fixes variable translation issue
* change missed translation variables
* make AddVariablesDropdown reusable
* reorder block types in dropdown
* remove not needed prop
* code clean up
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* Refactor of the RadioAreaGroup component
* Move RadioAreaGroup outside of v2/core
* Use useTypedQuery
* Removed unused (broken) imports
* Fix type for Select
* fix: flash of untranslated content
* feat: extract loading into a variable
* fix: use optional chaining because typescript complaining
* feat: render Meta component even if not loading for seo purpose
* fix: received an array with more than 1 element as
children warning
* fix: changes
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
* Removed old root UI components.
* Fixed import path
* Moved first v2 components to new components dir.
* Changed icon to not import from root, since it somehow creates a recursive import
* Removed irrelevant todo
* Added docs for new components
* Fixed type errors
* Update packages/ui/components/index.ts
Removing as per comment
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
* applied whitelabel to additional parts of the app
* format .md files
* updated metadata of all apps
* applied whitelabel to PoweredByCal.tsx
* fixed `team_upgrade_banner_action` with better german
* fixed import of APP_NAME in email templates
* revert "applied whitelabel" in CalEventParser.test.ts
* Revert "updated metadata of all apps"
This reverts commit 9c1621788d.
* revert app-store whitelabel changes
* Revert "applied whitelabel to PoweredByCal.tsx"
This reverts commit f2b2d79aa5.
* Update website
* Sync
* Update constants.ts
* Prevent unit test error
Co-authored-by: René Müller <rene.mueller@clicksports.de>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: zomars <zomars@me.com>
* WIP
* Fix all TS errors
* Move to using isRouter everywhere
* wip
* Add Router Picker and fix TS issues
* Fix tests and add option to connect during duplication
* Misc changes
* Fixes
* Fixes
* Fix TS errors
* Disable certain options in Router
* Fix connected Form fields not updating
* Some fixes
* reert shell.tsx
* Disable already used router instead of removing it
* Import prisma from correct place
* Simplify loop using Object.entries
* SimpliAdd playwright test and fix issues found
* Removed old root UI components.
* Fixed import path
* Changed icon to not import from root, since it somehow creates a recursive import
* Removed irrelevant todo
* Fixed merge issues.
* Fixed shell export
* fix: use hasMounted to render calcom versionm
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* added Credits component but struggling with import
* only made it work with v2 folder. sorry jerone
* added link to releases
* added link to cal.com
* removing script calcomversion for now until we need it
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Peer Richelsen <peer@cal.com>
* Make cal.com version available on all pages, even on login page.
* Extract out calcom version as a utility
* added version to login screen
* added ee and ce to version
* fixed lint
* Fix import
* removed version info component
Co-authored-by: Peer Richelsen <peer@cal.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
* fixed sidebar position
* fixed sidebar position
* fixed sidebar position
* removed gradient overlay from user dropdown
* added toHide prop to license check to hide a component if a license is available
* show children if toHide is true
* EventTypeFilter UI working
* Tidy + fix avatar + fix overflow
* Component store
* WIP - switchin to query filtering instead of state
* Push working
* Checkbox approach - weird conditional toggle for all bookings
* WIP
* the master query hook :O
* useTypedQuery
* Working typed query
* Typed query hook
* Add optional keys
* safeParse query params
* Add use callback
* Fix re-renders
* Remove local version of local query and use util branch
* Working team filters!
* working people filter!
* Tidy up
* NIT
Co-authored-by: zomars <zomars@me.com>
* Fixes to dialog for date override & dialog overflow fix
* Fixed datepicker border on mobile
* removed max-height from dialog, needs testing
Co-authored-by: Peer Richelsen <peer@cal.com>
* first implementation of verifying phone number
* add UI + logic for verifying phone number flow
* check if all phone numbers are verified before submit
* add numberVerification pending
* only send SMS to verified numbers
* fix design for mobile view
* check if phone number is verified before testing action
* add back message service id check
* add TWILIO_VERIFY_SID to .env.example
* code clean up
* add TWILIO_VERIFY_SID to README.md instructions
* save new verified numbers
* fix wrongly thrown error for new verified numbers
* use false as default value for isVerificationPending paramater
* add translations
* add migration file
* code clean up
* don't throw error if phone number is not needed
* Feedback
* Shows error when Twillio isn't properly setup
* Type fixes
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* Initial incomplete (but mostly functional) push of date override functions
* Fixed date shifting on load
* Bring back minDate (automatically disable all dates before current date)
* Fix type error
* Supply working hours to render available dates
* Converted to SSR
* moving defaultValues to the backend
* Improv. as filter can be achieved within the reduce
Co-authored-by: Omar López <zomars@me.com>
* Double inversion -> single, as it is an early return
* uniq() exit - not needed anymore
* Typefixes
* It's overriding dates :D
* Fixed duplication DateOverrides in list
* Implemented changing the month
* Make dateOverrides an optional param
* Fixed test (which requires dateOverrides due to auto-typing)
* Prevent a full update on set as default from list view
* Added some extra keys to keep ts happy
* Only allow a single date override per date
* Disallow editing excludedDates to the same date
* Bring back duplicate key ?.?
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* storybook v2 init
* Merge config into storybook vite build
* Remove path
* Storybook config tweaks
* Added styles and settings for storybook v2, and started working on button documentation and examples.
* Badges + flex wrap on mobile
* Breadcrumbs+button+avatar
* Checkbox
* Input + moving files around
* WIP table
* WIP table grid
* Replaced imports for new components.
* Added first steps for varianttable.
* Small alignment fix.
* Custom Args Table - With scrollbar
* Adding table to components that need it + darkmode
* Add intro
* Fix types
* Remove V1 storybook and replace with V2
* Fix badge type error
* Fixed storybook dependencies
* Added cover image to storybook
* Remove vita from ts config, we dont use vite.
* Fixed button import.
* Explained postcss pseudo plugin.
* Fixed badge import.
* Add Avatar Stories
* ButtonGroup Stories
* Fixed imports
* Add checkbox stories
* Inital state plannning
* Inital state combined with passed in props
* Start of UI work
* Able to change dates?
* Add dynamic hour props
* Get grid system setup correctly
* Show events on grid
* Weird sizing issue but events placed correctly gridstart
* CAL styled calendar event component
* availability WIP ish
* Blocking days! + Block days < today
* Kinda working time line
* Rename grid stop + formatting
* Handle sorting events if required.
* Add util for getting startDate bassed on weekday
* Remove event stories for now
* Implement gridstops per hour to be dyamic
* New CSS Grid + offsetbased positoning
* Fix weird Z-Index issues on hover
* Implement blocklist again with new format
* Side by side events working - styling needs work
* New design of overlap
* Overlapping? Working :O
* Cleanup
* WIP hover state
* Werid border issue
* fix translate issue
* Kinda working with overflow
* Fix overflow
* Progressive date blocking
* Cleanup
* Fix double render of blocked list
* WIP mobile implementaiton
* Trying to fix CSS
* Extract CSS to styles.css to allow media queries
* Improve documentation - allow args to be changed in storybook
* Fix hover showing even if disabled
* WIP cols auto approach
* Merge blocking dates
* Fix zindex
* Fix hover position
* Fix Z-Index issues on hover and blocking events
* Re add onclick handler
* Fix overlapping blocking dates
* Fix scaling for datevalues columns
* Date values closer to DS
* Blocked List Tidy up
* Storybook + file tidy up
* Little tidy up
* Fix offsets
* Remove event hover
* Fix random bg-red-500
* Fix import
* FIx blocking cells appearing above start Date
* Fix truncation
* Fix border overlap
* Overlap a little nicer
* Condtional 80% sizing
* Nitpicks
* Fix today height and top breaking
* Add text left to time stamp
* Support string dates
* Add shalow to reduce re-renders
* Rename to Calendar instead of scheduler
* Fix 3 overlapping events
* Fix merge type error
* Fix destructuring
* NITS
* Move to features package
Co-authored-by: Jeroen Reumkens <hello@jeroenreumkens.nl>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* Add new modal for duplicate and trpc action for it
* Adding event type duplication validations
* Fix type errors and id not being removed from rest obj
* Fix test for duplicating event
* Fix test for duplicating event
* Add connect to event type workflows
* fix button for adding new events
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>