Hariom Balhara
476119d627
Add changesets/cli to release embed ( #8126 )
...
* Add dep versions
* Release new version for embeds
* Add prepublish
* Use prepare script which works with both npm and yarn
* Add changesets correctly
* Add embed publishing command
---------
Co-authored-by: zomars <zomars@me.com>
2023-05-13 08:22:31 +00:00
Hariom Balhara
d3f77bf292
Fix: Embed Theme switching when appearance is using System Theme ( #8655 )
...
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2023-05-05 16:54:06 +05:30
Hariom Balhara
3595ba9824
Fix tests ( #8640 )
2023-05-03 12:30:26 -03:00
Hariom Balhara
ada88a2f7e
Fix: Show smsReminderNumber on booking success page ( #8596 )
2023-05-02 16:58:39 +00:00
Hariom Balhara
c38dd2d072
Hotfix: Fix theme not changing once page has started loading ( #8400 )
...
* Fix theme not changing once page is loaded
* Add toggle case in playground
2023-04-20 11:57:28 +00:00
Hariom Balhara
6fd64b2209
Fix: cssVars API not working correctly on Booker Timeslot selection page ( #8296 )
...
* Use a method out of react scope to set CSS vars as that doesnt need react
* Refactor
2023-04-18 12:53:46 +00:00
Hariom Balhara
0e22e92cab
Feat: Support setting custom css variables through embed API. ( #8169 )
...
* Add booker border specific custom variables
* Support configuring cssVars through embed API
* Update apps/web/pages/booking/[uid].tsx
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
---------
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
2023-04-13 18:26:31 +00:00
sean-brydon
4b0d22655d
Feat/tokens + darkmode + theme support ( #7876 )
2023-04-05 18:14:46 +00:00
Omar López
4720dc410f
Fixes embeds tsconfig ( #7995 )
...
* Update tsconfig.json
* Fixes?
* Fixes
2023-03-30 16:20:39 +00:00
Omar López
cee905bc5a
Improves reported type errors on CI ( #7813 )
...
* Create env file workflow
* Add env-cache
* Fix env setter
* Fix
* Another fix
* Fix
* Fix
* Fixes
* FFS
* Fix
* Fix
* Fix
* Fix
* Fix
* Cache fixes
* Fixes
* Adds skipping steps
* db-cache fixes
* Test
* Cache fixes
* e2e
* Possible caching conflicts
* Running out of ideas
* Caching is hard
* One more time
* cache-build not skipping
* Fingers crossed
* a
* Test
* Pls
* Please
* LFG
* Build fix
* fix
* Whitespace!!
* Zomars/cal 884 paid events not sending the link (#7318 )
* WIP
* Sends correct emails for paid bookings
* Update PaymentService.ts
* Update webhook.ts
* Update webhook.ts
* Update settings back button redirect link (#7403 )
* fix(schedule): close on click #7143
* fix(EventSetupTab): validLocations length will always match validLocations length #7138
* fix(SettingsLayout): go back to right route #7379
* feat: get country code from ip geolocation (#6880 )
* feat: get coutnry code from ip geolocation
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* fix: create new api route for fetching code
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* chore: replace city with country
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* refactor: create hook for country
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
---------
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* Team Workflows (#7038 )
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
* Add destination calendar name to DestinationCalendarSelector (#6701 )
* Add destination calendar name
* Type fix
* Search through calendars only for destination calendar credential
* Refactor get connected calendars
* Clean up
---------
Co-authored-by: zomars <zomars@me.com>
* Update viewer.tsx (#7428 )
* Fix - add team members to emails (#7207 )
* On booking add team members & translation
* Add team members to round robin create
* Only update calendars on reschedule if there is a calendar reference
* Send email on reschedules
* Send team email on cancelled event
* Add team members to calendar event description
* Clean up
* Convert other emails to organizer & teams
* Type check fixes
* More type fixes
* Change organizer scheduled input to an object
* early return updateCalendarEvent
* Introduce team member type
* Fix type errors
* Put team members before attendees
* Remove lodash cloneDeep
* Update packages/core/EventManager.ts
Co-authored-by: Omar López <zomars@me.com>
* Remove booking select object
* Revert "Remove booking select object"
This reverts commit 9f121ff4eb
.
* Refactor email manager (#7270 )
Co-authored-by: zomars <zomars@me.com>
* Type change
* Remove conditional check for updateAllCalendarEvents
---------
Co-authored-by: zomars <zomars@me.com>
* Typefix
* Updates webhook response
* Update pr.yml
* Update action.yml
* Update action.yml
* Update action.yml
* Update action.yml
* Update action.yml
* Is this redundant?
* Removed setup
* Update action.yml
* Update action.yml
* Consolitades setup step
* Revert "Consolitades setup step"
This reverts commit 5e8d1983cc
.
* Fix?
* One more time
* Revert "One more time"
This reverts commit fd8b559a13
.
* Benchmarking buildjet
* Update action.yml
* Re-introduce setup
* Adds embeds to missing pro cache
* Lint fixes
* Adds prettier ignore
* Upgrades to yarn 3
* Updates lockfile
* Reverts CI to ubuntu
* Testing new yarn install
* We cannot use immutable due to our private submodules
* Adds CI skip
* Fixes
* Adds plugin
* Forces local embed package
* Moves eslint to root
* Update yarn.lock
* Playwright fixes
* Embed test fixes
* Splits embed react tests
* Splits embed react tests
* Removes install step to benchmark
* Update playwright.config.ts
* One playwright config for all
* More test fixes
* Update basic.e2e.ts
* Added typescript as a global monorepo dev
* Update to v18
* Update yarn.lock
* Update env-create-file.yml
* Update .github/workflows/pr.yml
* Adds type check special for CI
* Update turbo.json
* Update turbo.json
---------
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
Co-authored-by: Esaú Morais <55207584+esau-morais@users.noreply.github.com>
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com>
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com>
2023-03-28 13:12:40 -07:00
Hariom Balhara
5fceee27fe
Embed: Strictly type the codebase and fixes a few bugs found ( #7536 )
...
* Add strict types
* Make it array
* Make api consistent and support calOrigin in floatingPopup and modal
* Support calOrigin everywhere and fix branding config issue
* Fix styles not being uniformly applied across components
* Fix unused code
2023-03-28 11:17:40 -07:00
Julius Marminge
1620ae660f
fix(embeds): add support for RSC by adding `use client` directives ( #7919 )
2023-03-28 11:30:02 +05:30
Omar López
9ab196c30e
Revert "Fixes formatted description in email " ( #7917 )
2023-03-23 21:20:35 +00:00
Carina Wollendorfer
f6d7568d0a
Fixes formatted description in email ( #7696 )
...
* fix description in email
* add styling for lists
* sanitize editor input before saving
* sanitize eventTypeDescription
* santize html when used dangerouslySetInnerHTML
* fix server side sanitation
* add missing formatting and sanitation
* move @ts-expect-error to correct line
* fix type error and add yarn.lock
* fix build error
* sanitize description for booking page and availability page
* rename to markdownAndSanitize
* always add list formatting
* handle empty description in markdownAndSanitize for cleaner code
* create function for clientside markdown rendering and sanitizing
* fix type error
* code clean up
* Now that eventType.descriptionAsSafeHTML is added at all the missing places, we can do away with ts-ignore and get type safety
* Remove unused variable
* Remove one more ts-expect-error
---------
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2023-03-23 12:00:42 +00:00
Richard Poelderl
679965782e
chore: update docs links ( #7782 )
...
* replace docs.cal.com references with cal.com/docs
2023-03-17 16:42:27 -07:00
Hariom Balhara
470ef737b5
Make embed tests work with single playwright config ( #7781 )
...
* Fix Embed test
* Remove only
2023-03-16 11:16:09 -07:00
Omar López
54cefcb16e
Upgrades yarn v1 to v3. Improves CI times by 2x ( #7738 )
...
* Create env file workflow
* Add env-cache
* Fix env setter
* Fix
* Another fix
* Fix
* Fix
* Fixes
* FFS
* Fix
* Fix
* Fix
* Fix
* Fix
* Cache fixes
* Fixes
* Adds skipping steps
* db-cache fixes
* Test
* Cache fixes
* e2e
* Possible caching conflicts
* Running out of ideas
* Caching is hard
* One more time
* cache-build not skipping
* Fingers crossed
* a
* Test
* Pls
* Please
* LFG
* Build fix
* fix
* Whitespace!!
* Zomars/cal 884 paid events not sending the link (#7318 )
* WIP
* Sends correct emails for paid bookings
* Update PaymentService.ts
* Update webhook.ts
* Update webhook.ts
* Update settings back button redirect link (#7403 )
* fix(schedule): close on click #7143
* fix(EventSetupTab): validLocations length will always match validLocations length #7138
* fix(SettingsLayout): go back to right route #7379
* feat: get country code from ip geolocation (#6880 )
* feat: get coutnry code from ip geolocation
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* fix: create new api route for fetching code
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* chore: replace city with country
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* refactor: create hook for country
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
---------
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* Team Workflows (#7038 )
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
* Add destination calendar name to DestinationCalendarSelector (#6701 )
* Add destination calendar name
* Type fix
* Search through calendars only for destination calendar credential
* Refactor get connected calendars
* Clean up
---------
Co-authored-by: zomars <zomars@me.com>
* Update viewer.tsx (#7428 )
* Fix - add team members to emails (#7207 )
* On booking add team members & translation
* Add team members to round robin create
* Only update calendars on reschedule if there is a calendar reference
* Send email on reschedules
* Send team email on cancelled event
* Add team members to calendar event description
* Clean up
* Convert other emails to organizer & teams
* Type check fixes
* More type fixes
* Change organizer scheduled input to an object
* early return updateCalendarEvent
* Introduce team member type
* Fix type errors
* Put team members before attendees
* Remove lodash cloneDeep
* Update packages/core/EventManager.ts
Co-authored-by: Omar López <zomars@me.com>
* Remove booking select object
* Revert "Remove booking select object"
This reverts commit 9f121ff4eb
.
* Refactor email manager (#7270 )
Co-authored-by: zomars <zomars@me.com>
* Type change
* Remove conditional check for updateAllCalendarEvents
---------
Co-authored-by: zomars <zomars@me.com>
* Typefix
* Updates webhook response
* Update pr.yml
* Update action.yml
* Update action.yml
* Update action.yml
* Update action.yml
* Update action.yml
* Is this redundant?
* Removed setup
* Update action.yml
* Update action.yml
* Consolitades setup step
* Revert "Consolitades setup step"
This reverts commit 5e8d1983cc
.
* Fix?
* One more time
* Revert "One more time"
This reverts commit fd8b559a13
.
* Benchmarking buildjet
* Update action.yml
* Re-introduce setup
* Adds embeds to missing pro cache
* Lint fixes
* Adds prettier ignore
* Upgrades to yarn 3
* Updates lockfile
* Reverts CI to ubuntu
* Testing new yarn install
* We cannot use immutable due to our private submodules
* Adds CI skip
* Fixes
* Adds plugin
* Forces local embed package
* Moves eslint to root
* Update yarn.lock
* Playwright fixes
* Embed test fixes
* Splits embed react tests
* Splits embed react tests
* Removes install step to benchmark
* Update playwright.config.ts
* One playwright config for all
* More test fixes
* Update basic.e2e.ts
* Added typescript as a global monorepo dev
* Update to v18
* Update yarn.lock
* Update env-create-file.yml
* Update .github/workflows/pr.yml
---------
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
Co-authored-by: Esaú Morais <55207584+esau-morais@users.noreply.github.com>
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com>
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com>
2023-03-15 15:01:04 -07:00
Lars Artmann
ae0ed4176b
fixes #7548 - Scroll bar because auto height adjustment doesn't take <0.5 values into account ( #7549 )
...
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
2023-03-15 14:25:11 +05:30
Keith Williams
1625f462c2
Fixed linting issues in Playwright config ( #7662 )
2023-03-12 09:39:08 +01:00
Omar López
6a9704349d
Revert "Fix conflicts for embed tests ( #7311 )" ( #7670 )
...
This reverts commit 8b47c064ff
.
2023-03-10 16:59:58 -07:00
Omar López
8b47c064ff
Fix conflicts for embed tests ( #7311 )
...
* Fix conflicts for embed tests
* Update pr.yml
---------
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2023-03-08 13:20:04 +00:00
Hariom Balhara
07399974ce
Small Embed Fixes ( #7513 )
...
* Fix bg beyond rounded border in embed
* Consider margin as well for mainElement height
* Fix loader positioning
* Give better name to embed artifacts
---------
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2023-03-04 16:11:04 +00:00
Hariom Balhara
b8b24c04dc
We dont support button html ( #7500 )
2023-03-03 09:30:44 -07:00
Warren
841346c5f2
Install DeploySentinel Playwright reporter ( #7405 )
...
* install reporter
* Update e2e-app-store.yml
---------
Co-authored-by: zomars <zomars@me.com>
2023-03-02 11:25:30 -07:00
Hariom Balhara
1cdb51f424
Fix tests flakiness in embed ( #7468 )
2023-03-02 13:58:46 +00:00
Hariom Balhara
87dbfba5df
Hotfix/ Fix failing build due to terser missing ( #7294 )
...
* No need to use terser
* v1.1.3
* v1.0.5
* v1.0.10
2023-02-23 13:55:02 +01:00
Hariom Balhara
4a5404bf21
Simplify turbo pipelone ( #7252 )
2023-02-21 16:48:01 +00:00
Hariom Balhara
75c7e03efe
Upgrade vite ( #7197 )
2023-02-20 17:50:40 +00:00
Oscar Dominguez
235ec0e906
improve typing by removing as html element ( #7212 )
...
* refactor(embeds): use generic HTMLIFrameElement instead of 'as HTMLIFrameElement'
* refactor(embeds): improve types for floatingButton logic
* Fix floating button popup not working
---------
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
2023-02-20 17:37:03 +00:00
Matt Pocock
94f239bc42
Improved typings of window.Cal ( #7178 )
2023-02-17 13:23:30 +00:00
Matt Pocock
2f2f6006e6
Improved types in ModalBox.ts ( #7177 )
2023-02-17 13:23:19 +00:00
Hariom Balhara
a5e5d103a0
Embed: Remove ugly windows scrollbar even on unscrollable content ( #7171 )
2023-02-17 10:35:39 +00:00
Omar López
7c749299bb
Enforces explicit type imports ( #7158 )
...
* Enforces explicit type imports
* Upgrades typescript-eslint
* Upgrades eslint related dependencies
* Update config
* Sync packages mismatches
* Syncs prettier version
* Linting
* Relocks node version
* Fixes
* Locks @vitejs/plugin-react to 1.3.2
* Linting
2023-02-16 15:39:57 -07:00
Hariom Balhara
30c0e6d1d7
Beginning of Strict CSP Compliance ( #6841 )
...
* Add CSP Support and enable it initially for Login page
* Update README
* Make sure that CSP is not enabled if CSP_POLICY isnt set
* Add a new value for x-csp header that tells if instance has opted-in to CSP or not
* Add more src to CSP
* Fix typo in header name
* Remove duplicate headers fn
* Add https://eu.ui-avatars.com/api/
* Add CSP_POLICY to env.example
2023-02-06 22:50:08 +00:00
Hariom Balhara
c96d258f5e
Give highest possible value to z-index ( #6853 )
2023-02-02 15:04:38 +00:00
Ben Lam
7a6e7c2f1d
Removed unused variables ( #6704 ) ( #6750 )
2023-01-31 22:29:24 +00:00
Omar López
16adf86c8c
Upgrades typescript to 4.9.4 ( #6747 )
...
* Upgrades typescript to 4.9.4
* Type fixes
2023-01-26 18:50:56 -07:00
zomars
bed798d440
Formatting
2023-01-04 13:49:20 -07:00
Hariom Balhara
e57f734e79
Test/Embed/Reschedule ( #6056 )
...
* Add reschedule embed test
* Add comments
2022-12-18 19:24:44 +00:00
Hariom Balhara
3a641e0bc1
Feature/Embed/Add Embed `ui` instruction config to hide event type description ( #5951 )
...
* Add embed ui instruction to hide event type description
* Add EventTypeDetails option in Embed Snippet Generator
2022-12-13 07:23:26 +00:00
Hariom Balhara
3080b47aec
Theming shouldnt depend on plan now as everyone is pro now ( #5976 )
2022-12-12 08:25:59 +00:00
Hariom Balhara
8c001e0d34
Fix reschedule embed ( #5861 )
...
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-12-07 13:08:34 -07:00
Jeroen Reumkens
e16d29e916
Added optional chaining to embed iframe using window object, where objects were potentially undefined. ( #5727 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-28 09:54:14 -07:00
Julius Marminge
db7c3fb52f
feat: trpc v10 migration ( #5332 )
...
* migrate router
* createTRPCReact
* frontend 1
* random format change
* frontend 2
* withQuery
* form router
* TS-ERROR: proxy on utils-client
* inferance
* ssg
* reuse
* trpc rc4
* Apply suggestions from code review
* skip test
* move skip one level up
* whops
* rc 6 with new setData func
Co-authored-by: zomars <zomars@me.com>
2022-11-10 23:40:01 +00:00
Hariom Balhara
85d7341668
Downgrade plugin to match vite version ( #5410 )
...
* Downgrade plugin to match vite version
* Update yarn.lock
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-08 08:51:24 +00:00
Alex van Andel
b1bef50ba8
Downgrade vite ( #5389 )
2022-11-05 11:40:00 +05:30
zomars
2aa84cd5ce
Sync package.json
2022-11-04 12:15:12 -07:00
Hariom Balhara
7756b9c3a1
The links that can be directly given to embed should pre-render(Either SSG/SSR) ( #4975 )
...
* Embed SSG and consistently pass embedType query param across pages
* Embed fixes
* Code cleanup
* Add main class which tells embed which helps in identifying which area is outside the main content
* remove any special optimization handling for routing forms
* Add comments
* Small fixes
* Fix broken team booking page in embed
* Fix Fallback message dark theme
* TS Fixes
* Fixes
* Fix tests
* Remove not required code
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-10-19 21:25:03 +00:00
Hariom Balhara
59ef4fe459
Hotfix: Avoid theme flicker in routing form embed. ( #5067 )
...
* Hotfix: metadata parsing
* Dont remove loader as theme switching can still occur in plain sight :(
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
2022-10-18 11:47:06 +00:00
Hariom Balhara
8583d9b2e6
Embed Improvements: Add auto-scroll support back, reduce CLS, remove loader for Routing Form embed ( #4819 )
...
* Add back auto-scroll fix with proper check of visibilith
* Do improvement in CLS and dont show "Loading" text
* Improve experience with routing forms embed
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2022-10-14 10:10:54 +00:00