Leo Giovanetti
5170fc2424
Managed event-types ( #6876 )
...
* WIP
* Locked fields manager
* Leftovers
* Bad merge fix
* Type import fix
* Moving away from classes
* Progress refactoring locked logic
* Covering apps, webhooks and workflows
* Supporting webhooks and workflows (TBT)
* Restoring yarn.lock
* Progress
* Refactoring code, adding default values
* Fixing CRUD for children
* Connect app link and case-sensitive lib renaming
* Translation missing
* Locked indicators, empty screens, locations
* Member card and hidden status + missing i18n
* Missing existent children shown
* Showing preview for already created children
* Email notification almost in place
* Making progress over notif email
* Fixing nodemailer by mixed FE/BE mixup
* Delete dialog
* Adding tests
* New test
* Reverting unneeded change
* Removed console.log
* Tweaking email
* Reverting not applicable webhook changes
* Reverting dev email api
* Fixing last changes due to tests
* Changing user-evType relationship
* Availability and slug replacement tweaks
* Fixing event type delete
* Sometimes slug is not there...
* Removing old webhooks references
Changed slug hint
* Fixing types
* Fixing hiding event types actions
* Changing delete dialog text
* Removing unneeded code
* Applying feedback
* Update yarn.lock
* Making sure locked fields values are static
* Applying feedback
* Feedback + relying on children list, not users
* Removing console.log
* PR Feedback
* Telemetry for slug replacement action
* More unit tests
* Relying on schedule and editor tweaks
* Fixing conteiner classname
* PR Feedback
* PR Feedback
* Updating unit tests
* Moving stuff to ee, added feature flag
* type fix
* Including e2e
* Reverting unneeded changes in EmptyScreen
* Fixing some UI issues after merging tokens
* Fixing missing disabled locked fields
* Theme fixes + e2e potential fix
* Fixing e2e
* Fixing login relying on network
* Tweaking e2e
* Removing unneeded code
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: zomars <zomars@me.com>
2023-04-12 23:10:23 -03:00
Nafees Nazik
7349fb9f6d
test: add other fields to routing form e2e ( #8112 )
...
* chore: add test id
* chore: add test
* remove console log
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
* fix: linting
---------
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
2023-04-12 13:58:03 -07:00
Abdallah Alsamman
91f381bce9
Replace react icons with lucidedev ( #8146 )
...
* migrate from react-icons to lucide-react
* replace react-icon with lucide-dev: Webhook Icon
* add lucide transformer
* Fix LinkIcon import
* Update yarn.lock to include monorepo deps
* Migrated icons in ChargeCardDialog
* Port Storybook to new icons as well
* Adjust Info & Globe icons size to match react-icons size
---------
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2023-04-12 17:26:31 +02:00
Peer Richelsen
fb9c1b18e0
remove leading-none ( #8232 )
2023-04-12 12:15:08 +00:00
Peer Richelsen
f45fb03838
wip: replaced dark border with border-subtle ( #8211 )
2023-04-12 10:42:41 +02:00
Joe Au-Yeung
817e20f11e
Stripe add the ability to place hold on cards ( #8022 )
...
* Add payment option to schema
* Add payment option to Stripe zod
* Set payment option on event type
* Create manual payment intent in Stripe
* Set payment option from Stripe app
* Add payment option to DB
* Pass React.ReactNode to checkbox
* Create uncaptured payment intent
* WIP
* Capture card in setup intent
* Show charge card option
* Charge card from booking page
* Bug fixes
* Clean up
* Clean up app card
* Add no-show fee messaging on booking page
* Send payment email on payment & add price
* Fix messaging
* Create no show fee charged email
* Send charge fee collected email
* Disable submit on card failure
* Clean up
* Serverside prevent charging card again if already charged
* Only confirm booking if paid for
* Type fixes
* More type fixes
* More type fixes
* Type fix
* Type fixes
* UI changes
* Payment component rework
* Update apps/web/public/static/locales/en/common.json
Co-authored-by: Alex van Andel <me@alexvanandel.com>
* Update apps/web/public/static/locales/en/common.json
Co-authored-by: Alex van Andel <me@alexvanandel.com>
* Update apps/web/components/dialog/ChargeCardDialog.tsx
Co-authored-by: Alex van Andel <me@alexvanandel.com>
* Update packages/trpc/server/routers/viewer/payments.tsx
Co-authored-by: Alex van Andel <me@alexvanandel.com>
* Revert GTM config
* Adjust payment option dropdown
* Show alert when seats are set
* Small bug fixes
* Create collect card method
* clean up
* Prevent seats & charge no-show fee to be enabled together
* Do not charge no-show fee on unconfirmed bookings
* Add check to collect card method
* Webhook send request emails
* Fix some dark mode colours
* Change awaiting payment language
* Type fixes
* Set height of Select and TextField both to 38px to fix alignment
* Fix message seats & payment error message
* Type fix
---------
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2023-04-11 23:44:14 +02:00
sean-brydon
e3a1f20cc8
Darkmode Fixes ( #8191 )
2023-04-11 12:15:10 +00:00
Nafees Nazik
446c29dd9c
fix: booker phone input style ( #8165 )
...
* fix: text area styles
* fix: phone input styles
* fix: use the text area component
* fix: remove focus style
2023-04-10 18:12:15 +02:00
Leandro Miguel Narciso
2cf1f07d8f
Fix loading indicator alignment touching the select input value ( #8083 )
...
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2023-04-09 11:16:33 +00:00
Joe
e1096620e6
fix: replace ltr and rtl with new ms and me ( #8138 )
...
Co-authored-by: Peer Richelsen <peer@cal.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2023-04-09 11:13:57 +02:00
sean-brydon
d416386d7b
Fix loading state - force subtle token to exist ( #8153 )
...
* Fix loading state - force subtle token to exist
* Add opacity
2023-04-08 18:50:17 +02:00
Nafees Nazik
82ea4e9fb7
fix: switch bg when default checked ( #8129 )
...
* fix: switch bg
* Update packages/ui/components/form/switch/Switch.tsx
Remove accidental space
---------
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2023-04-06 20:37:05 +00:00
Udit Takkar
a363b1e903
fix: ui and ux improvements in booking questions ( #7734 )
2023-04-06 08:17:53 +00:00
sean-brydon
4b0d22655d
Feat/tokens + darkmode + theme support ( #7876 )
2023-04-05 18:14:46 +00:00
Peer Richelsen
4f92f60d85
added illustrations to app store ( #8104 )
2023-04-05 19:05:44 +02:00
Nafees Nazik
6986b5af40
Fix: availability not deleteable ( #8086 )
...
* fix: make availability deletable
* test: add e2e
* chore: add test id
* test: add a new test
* fix: remove utility
2023-04-05 12:42:22 -03:00
Nafees Nazik
5b6f007d8f
fix: flickering of tips card rendering while changing routes ( #8065 )
...
* feat: optimize tips component
* fix: use dynamic rendering
* fix: remove unnecessary memo
* fix: prefetch warning
* fix: use reverse list
2023-04-03 19:25:45 +02:00
GitStart-Cal.com
13a53c020b
[CAL-1094] Embed modal / Inline - UI/Layout/Spacing issues ( #7350 )
...
Co-authored-by: gitstart-calcom <gitstart@users.noreply.github.com>
2023-04-03 10:50:44 +05:30
Nafees Nazik
81b2e37efd
fix: add calendar button layout shift ( #7930 )
2023-04-02 10:34:48 +00:00
Nafees Nazik
304e8aaa68
fix: modal padding on mobile ( #8002 )
...
* fix: width full
* fix: max width
2023-04-02 12:10:30 +02: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
Carina Wollendorfer
3aaa1cde0d
Fixes formatted description in email + sanitize html everywhere ( #7928 )
...
* use sanitize-html instead
* add list formatting
* add lost changes from merging main
* fixes caused by merge
* remove dompurify
* Revert "remove dompurify"
This reverts commit 583bb623c7
.
* sanitize already done in editor
* Update yarn.lock
---------
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2023-03-28 09:40:13 +00:00
Joe Au-Yeung
a2457ab619
Fix/availability not loading ( #7789 )
...
* Set default schedule if there is not one
* Removing last schedule sets user.defaultScheduleId to null
* Create new schedule from event type
* First schedule created is the default
* Go back if new schedule was created
* Moved update logic out of getter
* Remove flashing of empty screen
* Add border prop to EmptyScreen
* User requires a schedule
* Change back schema
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2023-03-27 19:53:35 +00:00
Joe
78da57055e
fix: updating password ui bug #7775 ( #7815 )
...
* fix: updating password ui bug #7775
* fix: type error
2023-03-27 20:58:46 +02:00
Udit Takkar
d5c3d9d967
fix: create team form ( #7896 )
...
* fix: create team form
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* fix: change hover border
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: Peer Richelsen <peeroke@gmail.com>
2023-03-27 16:35:46 +00:00
sean-brydon
04c634ec4b
Fix timezone select - create two variants ( #7875 )
...
* Fix timezone select - create two variants
* Remove menu is open
* Timezone fixes
---------
Co-authored-by: Efraín Rochín <roae.85@gmail.com>
2023-03-26 21:19:13 +02:00
Omar López
9ab196c30e
Revert "Fixes formatted description in email " ( #7917 )
2023-03-23 21:20:35 +00:00
Alex van Andel
46f0b55a45
Techdebt/bundle size experiments ( #7894 )
...
* Checking package size effects when we remove zod from middleware
* Remove 'crypto' from client code
* Revert "Checking package size effects when we remove zod from middleware"
This reverts commit ecc2038411
.
* Adding lodash to dynamicImports + consistent imports
* Remove the locales from the global Dayjs object
2023-03-23 11:49:28 -07: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
4e2473531f
fix: set canonical to https://cal.com on .dev as well ( #7883 )
2023-03-22 15:43:59 +01:00
sean-brydon
7967a65ade
Edit location dialog select ( #7833 )
...
* Upgrade react-select
* figma 1-1
* Style X
* Fixes timezone select
* Add location select styles
* remove menu is open test
2023-03-20 19:46:22 +01:00
sean-brydon
a145de56ee
Adds multiselect checkbox fixes ( #7835 )
2023-03-20 17:43:32 +01:00
Nafees Nazik
d2352da54b
fix: remove cal.com from title when branding is disabled ( #7827 )
...
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2023-03-20 11:41:03 +00:00
sean-brydon
131611e114
Upgrade react-select ( #7824 )
...
* Upgrade react-select
* figma 1-1
* Style X
* Fixes timezone select
2023-03-20 11:18:23 +00:00
Nadav Schwartz
0d4b0847d4
Update dialog min-width ( #7806 )
2023-03-20 10:34:08 +01:00
Nafees Nazik
09af14b3f4
fix: badge component line-height according to the DS ( #7766 )
...
* fix: badge line-height
* fix: revert padding top and bottom
* fix: remove large prop
* fix: remove large prop
* feat: make md default
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2023-03-16 11:51:40 +00:00
Hariom Balhara
7179b09d7b
Allow rescheduleReason to be marked required ( #7729 )
2023-03-16 10:40:20 +05:30
Richard Poelderl
2cc937ba87
chore: Deactivate automatic link prefetching for `/blog` links ( #7751 )
...
* disable prefetch on the `Tips` cards
2023-03-15 21:08:29 +01:00
Peer Richelsen
1ba6b08edf
cal video: show meeting info in a hideable box ( #7295 )
2023-03-14 19:43:45 +00:00
Nafees Nazik
c0f4c8e035
fix: bookings request reschedule UI badge ( #7436 )
...
* feat: update badge component
* fix: use the camel cased startIcon prop
* fix: reschedule request badge
* fix: use the camel cased startIcon prop
* fix: remove bold prop
* Removed extra whitespace in HTML
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com>
2023-03-14 08:34:41 -04:00
Peer Richelsen
02d70c63a5
empty screen for unpublished teams ( #7206 )
...
* empty screen for unpublished teams
* i18n for unpublished team, removed contact button, added avatar to EmptyScreen
* Merge branch 'main' into 7202-cal-1114-teamnull-better-404-screen
# Conflicts:
# apps/web/public/static/locales/en/common.json
* Adds backend logic
* Type fixes
---------
Co-authored-by: zomars <zomars@me.com>
2023-03-12 23:31:55 +00:00
sean-brydon
a22e4eed32
Fixes weird background color ( #7678 )
2023-03-12 15:54:03 +00:00
Peer Richelsen
ba0e443c52
fixed scroll description size, fixed dark mode toggle switch, fixed date height and positioning, fixed date picker container with negative margin ( #7656 )
2023-03-10 13:02:48 +00:00
Hariom Balhara
95c1c81b3b
Fix ColorPicker not showing up and Auto theme not working ( #7626 )
2023-03-09 11:57:59 -07:00
Peer Richelsen
2305b926cd
fixed timezone select ( #7638 )
2023-03-09 15:23:56 +00:00
Arindam Biswas
c374f4fa20
Fix: about section editor ( #7287 )
...
Co-authored-by: Keith Williams <keithwillcode@gmail.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2023-03-09 13:06:37 +00:00
GitStart-Cal.com
feb8218e4e
Routing form UI update ( #7452 )
...
* Routing form UI update
* Routing form UI update
---------
Co-authored-by: gitstart-calcom <gitstart@users.noreply.github.com>
2023-03-09 12:14:17 +00:00
Udit Takkar
df4fedd61d
fix: remove items-center and add fle x shrink ( #7624 )
...
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
2023-03-09 11:53:26 +00:00
Udit Takkar
d80581ad58
fix: prevent refetching country ( #7622 )
...
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
2023-03-09 10:38:57 +00:00
Nafees Nazik
fe17203cea
fix: select ( #7612 )
2023-03-09 10:13:39 +00:00