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
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
Agusti Fernandez Pardo
a3462657db
feat: v2 embed ( #4477 )
...
* Add support for custom tabNameKey and use embedTabName as the key for embed to avoid conflict with event-types tabName property
* Fix tests
* Code cleanup
* feat: v2 embed
* fix: button black default, reuse horitzontalTabs v2
* fix: remove comment, remove linkProps from NavTabs v2
* fix: height: 98% to avoid overflow
* fix: add embed to event type detail page
* fix: add also tabNames embed-code embed-react
* fix: add tabNames w empty divs
* Update Embed component as per V2
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Agusti Fernandez Pardo <git@agusti.me>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2022-09-15 05:34:11 +00:00
Omar López
d27b7ab2c4
One playwright config to rule them all ( #4072 )
2022-09-01 20:00:48 -06:00
Hariom Balhara
f5e394bb57
Add back enabledDateButton and disabledDateButton UI custom styling for embed ( #4059 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-31 09:47:23 +00:00
depfu[bot]
d75a8910f6
Update all Yarn dependencies (2022-08-17) ( #3887 )
...
* Update all Yarn dependencies (2022-08-17)
* Fix package mismatches
* Submodule sync
* Type fixes
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: zomars <zomars@me.com>
2022-08-29 17:55:27 -06:00
depfu[bot]
b8acf1e180
Update all Yarn dependencies (2022-07-29) ( #3599 )
...
* Update all Yarn dependencies (2022-07-29)
* Adds syncpack config
* Fixes mismatches
* Update yarn.lock
* RRule fixes
* Locking dayjs to fix build
* Type fixes
* Fixes mismatches
* Submodule sync
* Update yarn.lock
* Update event.ts
* Conflict fixes
* Fixes prisma warnings
* Liting
* Upgrade next, zod
* Prevents articfact overwriting
* Yarn fixes
* Jest fixes
* Submodule sync
* Formatting
* Submodule sync
* Adds provider for react-tooltip
* Removed dotenv-cli
* Readds dotenv-cli
* Skips getSchedule tests
Until prisma is mocked properly
* Fixes
* Revert prisma seed script
* E2E fixes
* test
* Removed deprecated req.page in middleware
* Make tests stable
* Unskip getSchedule tests
* fixed 404 logo on cal video (#3885 )
* Removed PW aliases as aren't needed anymore
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-08-17 11:38:21 -06:00
Hariom Balhara
c3fbf8224b
Feature: Routing Forms Typeform App and other improvements ( #3625 )
...
* Add Embed ModalBox for routing forms
* Add duplicate form support
* Fix duplication logic
* Change to feathericons everywhere and other fixes
* Dont allow routes for fallback route
* Fix all TS issues
* Fix tests
* Support routing using query params
* Support multiselect in router endpoint
* Fix the issue where app goes in embed mode after viewing embed once
* Add router url tests
* Add Responses download and form toggling tests
* Add required validation test
* Change Icons everywhere
* App typeform app
* Improvements in cli
* Add typeform how-to-use page
* Add typeform how-to-use page and screenshots
* Fix TS error
* Add missing image
* Update CliApp.tsx
* Revert unexpected zapier change
* Revert yarn.lock, not sure why it was modified
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-13 11:04:57 +00:00
alannnc
3652ffa40a
Added notes for running tests for embed-core ( #3720 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-08 08:06:44 +00:00
Hariom Balhara
85764b6aa6
Embed Test: Verifies that app remains hidden till link is ready ( #3669 )
...
* Add test to verify that webapp remains hidden till link is considered ready
* Make tests more stable
2022-08-05 08:26:15 +00:00
Omar López
464343f5ab
Refactors EE code ( #3490 )
...
* WIP
* WIP
* Type and migration fixes
* Adds missing default import
* Fixes import
* Fixes tRPC imports in App Store
* Migrate stripe helpers
* WIP
* Type fixes
* Type fix?
* WIP
* WIP
* Update index.ts
* Fixes
* Update workflow.tsx
* Moved queries to lib
* Moves QueryCell
* Migrates MultiSelectCheckboxes
* WIP
* CryptoSection type fixes
* WIP
* Import fixes
* Build fixes
* Update app-providers.tsx
* Build fixes
* Upgrades hookform zod resolvers
* Build fixes
* Cleanup
* Build fixes
* Relocates QueryCell to ui
* Moved List and SkeletonLoader
* Revert QueryCell migration
* Can't use QueryCell here
* oops
* CryptoSection cleanup
* Update app-providers.tsx
* Moved ee to features
* ee to features/ee
* Removes @calcom/ee
* Adds possible feature locations
* Build fixes
* Migrates stripe to app-store lib
* Colocates stripe imports
* Update subscription.ts
* Submodule sync
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-07-28 13:58:26 -06:00
Hariom Balhara
1be5510c5e
Embedded Routing Forms - Part1 ( #3530 )
...
* Support dark theme in routing form
* Fix Embed detection
* Add routing form embed example
* Better rendering support in dark mode for react-select
* Fix more theme issues
* Added test for Routing Form Embed
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-07-28 10:50:25 +00:00
Hariom Balhara
47468798fd
Avoid global variables leak by making the entire code IIFE ( #3543 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-07-27 15:58:51 +00:00
Hariom Balhara
9b5d311136
Hotfix: Embed ModalBox - Hidden Content ( #3491 )
2022-07-22 12:59:13 +05:30
Hariom Balhara
4d2f134dc7
Hide useless windows scrollbar when they are not event required ( #3458 )
2022-07-20 09:57:24 +02:00
Hariom Balhara
8d40e7cfd2
HotFix - Embed Flicker for newly converted static availability page ( #3277 )
...
* Add missing embed fingerprint
* Fix embed flicker for Availability page
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-07-12 14:18:53 +00:00
Hariom Balhara
f9cc71d120
... doesnt seem to run dependencies first. So, ensure that using pipeline ( #3254 )
2022-07-07 00:00:48 -06:00
zomars
7be60b47f1
Runs format script
2022-06-24 07:37:56 -06:00
Omar López
21fb0fc3a3
Turborepo improvements ( #3139 )
...
* WIP
* WIP
* Embed fixes
* Update turbo.json
* Update e2e-embed.yml
* E2E fixes
* Update turbo.json
* App store CLI cleanup
* Update turbo.json
* Update turbo.json
* Update turbo.json
* Update turbo.json
* Update turbo.json
* Update turbo.json
2022-06-22 14:41:19 -06:00
Hariom Balhara
993bd18a73
HotFix - Background not being transparent for [user]/[type] in embed ( #3121 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-06-21 09:38:59 +00:00
sean-brydon
b3f8f9f51f
Update tailwind to 3.1.3 ( #3106 )
2022-06-19 15:13:12 +00:00
Hariom Balhara
1f1e364a30
Add consistent publish command and update versions to published version ( #3008 )
...
* Add consistent publish command and update versions to published version
* v1.0.8
* Bump version to released version
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-06-10 09:49:38 +00:00
Hariom Balhara
e2ef7216a8
Add licenses to embeds ( #2984 )
...
* Add license to embed
* add repo links as well
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-06-07 08:25:55 +00:00
Hariom Balhara
079016052d
Add embed preview tests ( #2969 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-06-06 12:06:27 +02:00
zomars
4652878e6c
tsc fixes
2022-06-05 16:35:39 -06:00
zomars
4efc2914af
Embed build fixes
2022-06-05 13:55:58 -06:00
Hariom Balhara
514cff7b3c
Fix: Embed Tests - Handle superfast switching to next month bug ( #2929 )
...
* Wait for more time for next month dates to fully render
* Add comments
* Wait for rendering of current month as well
* Fix retries
* Fix speed issue with non embed tests asw ell
2022-05-31 09:32:41 +00:00
Hariom Balhara
3035412cdc
Add embed tests in CI ( #2887 )
...
* Add embed tests in CI
* Update e2e-embed.yml
* Run quick tests only
* Ignore certain folders
* Add embed-react tests as well
* Fix commands
* Dont run unit tests
* Update playwright.config.ts
* Update playwright.config.ts
* Update playwright.config.ts
* Create correct artifcats
* Create correct artifcats
* Fi ignore path
* Update package.json
* Add back embed-react typecheck
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-05-30 22:41:05 +05:30
Hariom Balhara
445cdd7cbf
Fix @calcom/embed-react installation with TS project ( #2870 )
2022-05-27 09:37:02 -06:00
Hariom Balhara
6148e89425
Embed React improvements ( #2782 )
...
* Add off support. Add getApi export.
* Add publish command
* Add embed-snippet in prod deps
* Update README
* Update package.json
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-05-18 16:25:30 +00:00
Hariom Balhara
1fb637d29d
Fix missing tabs - Embed ( #2804 )
...
* Fix missing tabs
* Fix Eslint error
* Fix Eslint errors
2022-05-18 09:04:50 -06:00