Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remove location modal in event setup #11796

Merged
merged 24 commits into from
Oct 24, 2023
Merged

feat: remove location modal in event setup #11796

merged 24 commits into from
Oct 24, 2023

Conversation

Udit-takkar
Copy link
Contributor

@Udit-takkar Udit-takkar commented Oct 10, 2023

What does this PR do?

Fixes #7223

I used useFieldArray (https://react-hook-form.com/docs/usefieldarray) for handling locations in event setup page instead of creating another form like before which was very complex.

Screen.Recording.2023-10-18.at.8.56.41.PM.mov

How to test?

  1. Go to any event type page
  2. Add location in the event setup tab

Type of change

  • Chore (refactoring code, technical debt, workflow improvements)
  • New feature (non-breaking change which adds functionality)

@vercel
Copy link

vercel bot commented Oct 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ai ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 24, 2023 0:26am
api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 24, 2023 0:26am
cal-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 24, 2023 0:26am
dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 24, 2023 0:26am
qa 🔄 Building (Inspect) Visit Preview 💬 Add feedback Oct 24, 2023 0:26am
ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 24, 2023 0:26am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview Oct 24, 2023 0:26am

@zomars zomars added the core area: core, team members only label Oct 10, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Oct 10, 2023

Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link to collect XP and win prizes!

@github-actions
Copy link
Contributor

github-actions bot commented Oct 10, 2023

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

One Page Changed Size

The following page changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/event-types/[type] 415.61 KB 571.68 KB 163.34% (🟡 +7.62%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

@deploysentinel
Copy link

deploysentinel bot commented Oct 10, 2023

Current Playwright Test Results Summary

✅ 197 Passing - ⚠️ 18 Flaky

Run may still be in progress, this comment will be updated as current testing workflow or job completes...

(Last updated on 10/24/2023 12:23:19pm UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: 158035c

Started: 10/24/2023 12:19:15pm UTC

⚠️ Flakes

📄   apps/web/playwright/locale.e2e.ts • 13 Flakes

Top 1 Common Error Messages

null

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 1Initial Attempt
-15.85% (-45) -45 / 284 runs
failed over last 7 days
16.20% (46) 46 / 284 runs
flaked over last 7 days
unauthorized user sees correct translations (ar) should use correct translations and html attributes
Retry 1Initial Attempt
-16.25% (-46) -46 / 283 runs
failed over last 7 days
16.25% (46) 46 / 283 runs
flaked over last 7 days
unauthorized user sees correct translations (zh) should use correct translations and html attributes
Retry 1Initial Attempt
-13.93% (-39) -39 / 280 runs
failed over last 7 days
14.29% (40) 40 / 280 runs
flaked over last 7 days
unauthorized user sees correct translations (zh-CN) should use correct translations and html attributes
Retry 1Initial Attempt
-14.34% (-40) -40 / 279 runs
failed over last 7 days
14.34% (40) 40 / 279 runs
flaked over last 7 days
unauthorized user sees correct translations (zh-TW) should use correct translations and html attributes
Retry 1Initial Attempt
-14.34% (-40) -40 / 279 runs
failed over last 7 days
14.34% (40) 40 / 279 runs
flaked over last 7 days
unauthorized user sees correct translations (pt) should use correct translations and html attributes
Retry 1Initial Attempt
-14.34% (-40) -40 / 279 runs
failed over last 7 days
14.34% (40) 40 / 279 runs
flaked over last 7 days
unauthorized user sees correct translations (pt-br) should use correct translations and html attributes
Retry 1Initial Attempt
-13.26% (-37) -37 / 279 runs
failed over last 7 days
13.62% (38) 38 / 279 runs
flaked over last 7 days
unauthorized user sees correct translations (es-419) should use correct translations and html attributes
Retry 1Initial Attempt
-13.31% (-37) -37 / 278 runs
failed over last 7 days
13.67% (38) 38 / 278 runs
flaked over last 7 days
authorized user sees correct translations (de) should return correct translations and html attributes
Retry 1Initial Attempt
-10.83% (-30) -30 / 277 runs
failed over last 7 days
13.72% (38) 38 / 277 runs
flaked over last 7 days
authorized user sees correct translations (pt-br) should return correct translations and html attributes
Retry 1Initial Attempt
-11.57% (-31) -31 / 268 runs
failed over last 7 days
14.18% (38) 38 / 268 runs
flaked over last 7 days
authorized user sees correct translations (ar) should return correct translations and html attributes
Retry 1Initial Attempt
-13.79% (-36) -36 / 261 runs
failed over last 7 days
14.56% (38) 38 / 261 runs
flaked over last 7 days
authorized user sees changed translations (de->ar) should return correct translations and html attributes
Retry 1Initial Attempt
-12.74% (-33) -33 / 259 runs
failed over last 7 days
14.67% (38) 38 / 259 runs
flaked over last 7 days
authorized user sees changed translations (de->pt-BR) [locale1] should return correct translations and html attributes
Retry 1Initial Attempt
-9.84% (-25) -25 / 254 runs
failed over last 7 days
14.17% (36) 36 / 254 runs
flaked over last 7 days

📄   packages/embeds/embed-core/playwright/tests/action-based.e2e.ts • 2 Flakes

Top 1 Common Error Messages

null

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 2Retry 1Initial Attempt
7.02% (21) 21 / 299 runs
failed over last 7 days
90.30% (270) 270 / 299 runs
flaked 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 1Initial Attempt
0% (0) 0 / 299 runs
failed over last 7 days
52.17% (156) 156 / 299 runs
flaked over last 7 days

📄   apps/web/playwright/teams.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Teams Can create a private team
Retry 1Initial Attempt
0% (0) 0 / 294 runs
failed over last 7 days
5.10% (15) 15 / 294 runs
flaked over last 7 days

📄   apps/web/playwright/booking-seats.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Reschedule for booking with seats If rescheduled/cancelled booking with seats it should display the correct number of seats
Retry 2Retry 1Initial Attempt
4.45% (13) 13 / 292 runs
failed over last 7 days
6.85% (20) 20 / 292 runs
flaked over last 7 days

📄   apps/web/playwright/insights.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Insights should test download button
Retry 1Initial Attempt
0% (0) 0 / 288 runs
failed over last 7 days
3.47% (10) 10 / 288 runs
flaked over last 7 days

View Detailed Build Results


Copy link
Member

@hariombalhara hariombalhara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed tests. Approving on behalf of already done approvals

@PeerRich PeerRich merged commit 9250b91 into main Oct 24, 2023
37 checks passed
@PeerRich PeerRich deleted the feat/add-location branch October 24, 2023 12:29
@Udit-takkar
Copy link
Contributor Author

@hariombalhara Thanks for fixing the tests ❤️

hbjORbj pushed a commit to codemod-com/cal.com-demo that referenced this pull request Nov 28, 2023
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
hbjORbj pushed a commit to codemod-com/cal.com-demo that referenced this pull request Dec 21, 2023
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core area: core, team members only Medium priority Created by Linear-GitHub Sync ui area: UI, frontend, button, form, input
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CAL-1117] /event type location settings - remove it from the modal
5 participants