fix: use DateRangePicker component in my-account/out-of-office#13207
Merged
fix: use DateRangePicker component in my-account/out-of-office#13207
Conversation
Contributor
|
Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link. |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Ignored Deployments
|
CarinaWolli
commented
Jan 12, 2024
| control={control} | ||
| defaultValue={dateRange} | ||
| render={() => ( | ||
| <DateRangePicker |
Member
Author
There was a problem hiding this comment.
Use DateRangePicker from @calcom/ui here
Current Playwright Test Results Summary✅ 370 Passing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 01/14/2024 01:56:36pm UTC) Run DetailsRunning Workflow PR Update on Github Actions Commit: 8ef4917 Started: 01/14/2024 01:49:54pm UTC
|
|
|
13 Test Cases Affected |
Test Case Results
| Test Case | Last 7 days Failures | Last 7 days Flakes |
|---|---|---|
|
unauthorized user sees correct translations (de) should use correct translations and html attributes
Retry 1 • Initial Attempt |
-9.90% (-19)-19 / 192 runsfailed over last 7 days |
9.90% (19)19 / 192 runsflaked over last 7 days |
|
unauthorized user sees correct translations (ar) should use correct translations and html attributes
Retry 1 • Initial Attempt |
-9.90% (-19)-19 / 192 runsfailed over last 7 days |
9.90% (19)19 / 192 runsflaked over last 7 days |
|
unauthorized user sees correct translations (zh) should use correct translations and html attributes
Retry 1 • Initial Attempt |
-9.90% (-19)-19 / 192 runsfailed over last 7 days |
9.90% (19)19 / 192 runsflaked over last 7 days |
|
unauthorized user sees correct translations (zh-CN) should use correct translations and html attributes
Retry 1 • Initial Attempt |
-9.90% (-19)-19 / 192 runsfailed over last 7 days |
9.90% (19)19 / 192 runsflaked over last 7 days |
|
unauthorized user sees correct translations (zh-TW) should use correct translations and html attributes
Retry 1 • Initial Attempt |
-9.90% (-19)-19 / 192 runsfailed over last 7 days |
9.90% (19)19 / 192 runsflaked over last 7 days |
|
unauthorized user sees correct translations (pt) should use correct translations and html attributes
Retry 1 • Initial Attempt |
-9.90% (-19)-19 / 192 runsfailed over last 7 days |
9.90% (19)19 / 192 runsflaked over last 7 days |
|
unauthorized user sees correct translations (pt-br) should use correct translations and html attributes
Retry 1 • Initial Attempt |
-9.90% (-19)-19 / 192 runsfailed over last 7 days |
9.90% (19)19 / 192 runsflaked over last 7 days |
|
unauthorized user sees correct translations (es-419) should use correct translations and html attributes
Retry 1 • Initial Attempt |
-9.90% (-19)-19 / 192 runsfailed over last 7 days |
9.90% (19)19 / 192 runsflaked over last 7 days |
|
authorized user sees correct translations (de) should return correct translations and html attributes
Retry 1 • Initial Attempt |
-9.90% (-19)-19 / 192 runsfailed over last 7 days |
9.90% (19)19 / 192 runsflaked over last 7 days |
|
authorized user sees correct translations (pt-br) should return correct translations and html attributes
Retry 1 • Initial Attempt |
-9.90% (-19)-19 / 192 runsfailed over last 7 days |
9.90% (19)19 / 192 runsflaked over last 7 days |
|
authorized user sees correct translations (ar) should return correct translations and html attributes
Retry 1 • Initial Attempt |
-9.90% (-19)-19 / 192 runsfailed over last 7 days |
9.90% (19)19 / 192 runsflaked over last 7 days |
|
authorized user sees changed translations (de->ar) should return correct translations and html attributes
Retry 1 • Initial Attempt |
-2.11% (-4)-4 / 190 runsfailed over last 7 days |
9.47% (18)18 / 190 runsflaked over last 7 days |
|
authorized user sees changed translations (de->pt-BR) [locale1] should return correct translations and html attributes
Retry 1 • Initial Attempt |
-7.95% (-14)-14 / 176 runsfailed over last 7 days |
10.23% (18)18 / 176 runsflaked over last 7 days |
📄 apps/web/playwright/login.2fa.e2e.ts • 1 Flake
Test Case Results
| Test Case | Last 7 days Failures | Last 7 days Flakes |
|---|---|---|
|
2FA Tests should allow a user to enable 2FA and login using 2FA
Retry 1 • Initial Attempt |
0% (0)0 / 192 runsfailed over last 7 days |
34.90% (67)67 / 192 runsflaked over last 7 days |
📄 apps/web/playwright/integrations-stripe.e2e.ts • 1 Flake
Test Case Results
| Test Case | Last 7 days Failures | Last 7 days Flakes |
|---|---|---|
|
Stripe integration When event is paid and confirmed Cancelled paid booking should be refunded
Retry 1 • Initial Attempt |
35.71% (110)110 / 308 runsfailed over last 7 days |
2.60% (8)8 / 308 runsflaked over last 7 days |
📄 apps/web/playwright/event-types.e2e.ts • 2 Flakes
Top 1 Common Error Messages
|
|
2 Test Cases Affected |
Test Case Results
| Test Case | Last 7 days Failures | Last 7 days Flakes |
|---|---|---|
|
Event Types tests user -- future Different Locations Tests Can add Cal video location and book with it
Retry 1 • Initial Attempt |
1.49% (5)5 / 336 runsfailed over last 7 days |
2.08% (7)7 / 336 runsflaked over last 7 days |
|
Event Types tests user -- future Different Locations Tests Can remove location from multiple locations that are saved
Retry 2 • Retry 1 • Initial Attempt |
0.30% (1)1 / 331 runfailed over last 7 days |
3.63% (12)12 / 331 runsflaked over last 7 days |
📄 apps/web/playwright/booking/radioGroupQuestion.e2e.ts • 1 Flake
Test Case Results
| Test Case | Last 7 days Failures | Last 7 days Flakes |
|---|---|---|
|
Booking With Radio Question and Each Other Question Booking With Radio Question and Address Question Booking With Radio Question and checkbox Question Radio and checkbox not required
Retry 1 • Initial Attempt |
0.31% (1)1 / 319 runfailed over last 7 days |
1.57% (5)5 / 319 runsflaked over last 7 days |
📄 apps/web/playwright/payment-apps.e2e.ts • 1 Flake
Test Case Results
| Test Case | Last 7 days Failures | Last 7 days Flakes |
|---|---|---|
|
Payment app Should only be allowed to enable one payment app
Retry 1 • Initial Attempt |
0% (0)0 / 315 runsfailed over last 7 days |
0.63% (2)2 / 315 runsflaked over last 7 days |
📄 packages/embeds/embed-core/playwright/tests/preview.e2e.ts • 1 Flake
Test Case Results
| Test Case | Last 7 days Failures | Last 7 days Flakes |
|---|---|---|
|
Preview Preview - embed-core should load
Retry 1 • Initial Attempt |
0% (0)0 / 340 runsfailed over last 7 days |
19.12% (65)65 / 340 runsflaked over last 7 days |
📄 apps/web/playwright/booking/addressQuestione2e/addressQuestion.e2e.ts • 1 Flake
Test Case Results
| Test Case | Last 7 days Failures | Last 7 days Flakes |
|---|---|---|
|
Booking With Address Question and Each Other Question Booking With Address Question and Long text Question Addres required and Long Text required
Retry 1 • Initial Attempt |
0.31% (1)1 / 325 runfailed over last 7 days |
4% (13)13 / 325 runsflaked over last 7 days |
📄 packages/embeds/embed-core/playwright/tests/action-based.e2e.ts • 2 Flakes
Top 1 Common Error Messages
|
|
2 Test Cases Affected |
Test Case Results
| Test Case | Last 7 days Failures | Last 7 days Flakes |
|---|---|---|
|
Popup Tests should be able to reschedule
Retry 1 • Initial Attempt |
12.65% (43)43 / 340 runsfailed over last 7 days |
84.71% (288)288 / 340 runsflaked over last 7 days |
|
Popup Tests Floating Button Popup Pro User - Configured in App with default setting of system theme should open embed iframe according to system theme when no theme is configured through Embed API
Retry 1 • Initial Attempt |
4.13% (14)14 / 339 runsfailed over last 7 days |
77.58% (263)263 / 339 runsflaked over last 7 days |
PeerRich
approved these changes
Jan 12, 2024
ThyMinimalDev
pushed a commit
that referenced
this pull request
Jan 15, 2024
ThyMinimalDev
added a commit
that referenced
this pull request
Jan 22, 2024
* refactor: booker component * refactor: booker component * refactor: useBookings, useOverlayCalendar * fix: imports and types * fix: don't allow uid update in bookings update api (#13071) * don't allow uid update in bookings update api * omit uid from schemaBookingEditBodyParams instead of updating schemaBookingBaseBodyParams --------- Co-authored-by: Alex van Andel <me@alexvanandel.com> Co-authored-by: Peer Richelsen <peeroke@gmail.com> * New Crowdin translations by Github Action * fix: use DateRangePicker component in my-account/out-of-office (#13207) * fix: remove duplicate useBrandColors * fix: add missing localstorage package * fix: booking form initial values * fix: redirect to payment form * refactor: handle fetching schedule only in Booker * fixup! refactor: handle fetching schedule only in Booker * fix: remove empty file * useBookerLayout.ts useEffect dependencies isMobile and isEmbed were missing and validateLayout was redundant * useInitialFormValues useEffect dependencies * fix: remove unused hook * refactor: split logic from data fetch overlayCalendar * fix: small changes * fix: inifinite loop * fix: toggle calendar --------- Co-authored-by: Rajiv Sahal <sahalrajiv-extc@atharvacoe.ac.in> Co-authored-by: Riddhesh Mahajan <40472653+riddhesh-mahajan@users.noreply.github.com> Co-authored-by: Alex van Andel <me@alexvanandel.com> Co-authored-by: Peer Richelsen <peeroke@gmail.com> Co-authored-by: Crowdin Bot <support+bot@crowdin.com> Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com> Co-authored-by: Lauris Skraucis <lauris.skraucis@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Use
DateRangePickercomponent in/settings/my-account/out-of-officeinstead of custom DatePicker.Also, adds some design improvements.
After:

Before:
After:
Before:
