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: Add ratings to insights #14687
Conversation
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 ↗︎
3 Ignored Deployments
|
📦 Next.js Bundle Analysis for @calcom/webThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
Current Playwright Test Results Summary✅ 314 Passing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 04/26/2024 09:53:44am UTC) Run DetailsRunning Workflow PR Update on Github Actions Commit: cdf3c91 Started: 04/26/2024 09:50:40am UTC
|
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
BOOKING_RESCHEDULED when rescheduling to a booking that already exists, should send a booking rescheduled event with the existant booking uid
Retry 2 • Retry 1 • Initial Attempt |
10.47% (18)18 / 172 runsfailed over last 7 days |
21.51% (37)37 / 172 runsflaked 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 - NonOrg -- future Team Onboarding Invite Members
Retry 1 • Initial Attempt |
5.74% (12)12 / 209 runsfailed over last 7 days |
32.06% (67)67 / 209 runsflaked over last 7 days |
📄 apps/web/playwright/login.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
user can login & logout succesfully -- future login flow user & logout using dashboard
Retry 1 • Initial Attempt |
6.67% (13)13 / 195 runsfailed over last 7 days |
36.41% (71)71 / 195 runsflaked over last 7 days |
📄 packages/app-store/routing-forms/playwright/tests/basic.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Routing Forms Seeded Routing Form Test preview should return correct route
Retry 1 • Initial Attempt |
0% (0)0 / 199 runsfailed over last 7 days |
35.18% (70)70 / 199 runsflaked over last 7 days |
📄 packages/embeds/embed-core/playwright/tests/namespacing.e2e.ts • 4 Flakes
Top 1 Common Error Messages
|
4 Test Cases Affected |
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Namespacing Inline Embed Double install Embed Snippet with inline embed without a namespace(i.e. default namespace)
Retry 1 • Initial Attempt |
0% (0)0 / 191 runsfailed over last 7 days |
50.79% (97)97 / 191 runsflaked over last 7 days |
Namespacing Different namespaces can have different init configs
Retry 1 • Initial Attempt |
0% (0)0 / 189 runsfailed over last 7 days |
49.21% (93)93 / 189 runsflaked over last 7 days |
Namespacing Inline Embed Double install Embed Snippet with inline embed using a namespace
Retry 1 • Initial Attempt |
0% (0)0 / 191 runsfailed over last 7 days |
49.74% (95)95 / 191 runsflaked over last 7 days |
Namespacing Inline Embed Add inline embed using a namespace without reload
Retry 1 • Initial Attempt |
0.52% (1)1 / 191 runfailed over last 7 days |
49.74% (95)95 / 191 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 Pending payment booking should not be confirmed by default
Retry 1 • Initial Attempt |
1.58% (3)3 / 190 runsfailed over last 7 days |
26.84% (51)51 / 190 runsflaked over last 7 days |
📄 packages/embeds/embed-core/playwright/tests/action-based.e2e.ts • 8 Flakes
Top 1 Common Error Messages
|
8 Test Cases Affected |
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Popup Tests should open embed iframe on click - Configured with light theme
Retry 1 • Initial Attempt |
17.68% (35)35 / 198 runsfailed over last 7 days |
52.53% (104)104 / 198 runsflaked over last 7 days |
Popup Tests should be able to reschedule
Retry 1 • Initial Attempt |
-176.27% (-104)-104 / 59 runsfailed over last 7 days |
176.27% (104)104 / 59 runsflaked over last 7 days |
Popup Tests should open Routing Forms embed on click
Retry 1 • Initial Attempt |
-174.58% (-103)-103 / 59 runsfailed over last 7 days |
174.58% (103)103 / 59 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 |
-174.58% (-103)-103 / 59 runsfailed over last 7 days |
174.58% (103)103 / 59 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 configured with 'auto' theme using Embed API
Retry 1 • Initial Attempt |
-174.58% (-103)-103 / 59 runsfailed over last 7 days |
174.58% (103)103 / 59 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(Booker Profile Page) with dark theme when configured with dark theme using Embed API
Retry 1 • Initial Attempt |
-174.58% (-103)-103 / 59 runsfailed over last 7 days |
174.58% (103)103 / 59 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(Event Booking Page) with dark theme when configured with dark theme using Embed API
Retry 1 • Initial Attempt |
-174.58% (-103)-103 / 59 runsfailed over last 7 days |
174.58% (103)103 / 59 runsflaked over last 7 days |
Popup Tests prendered embed should be loaded and apply the config given to it
Retry 1 • Initial Attempt |
-174.58% (-103)-103 / 59 runsfailed over last 7 days |
174.58% (103)103 / 59 runsflaked over last 7 days |
📄 packages/embeds/embed-react/playwright/tests/basic.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
React Embed Element Click Popup should verify that the iframe got created with correct URL - namespaced
Retry 1 • Initial Attempt |
18.50% (37)37 / 200 runsfailed over last 7 days |
38.50% (77)77 / 200 runsflaked over last 7 days |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great work. excited for this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally - works well. Nice job!
Few NITS but nothing blocking
| { | ||
userId: number | null; | ||
user: Pick<User, "avatarUrl" | "name">; | ||
emailMd5?: string; | ||
count?: number; | ||
averageRating?: number | null; | ||
username?: string; | ||
}[] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIT lets extract this type - its used elsewhere too
| { | ||
userId: number | null; | ||
user: Pick<User, "avatarUrl" | "name">; | ||
emailMd5?: string; | ||
username?: string; | ||
rating: number | null; | ||
feedback: string | null; | ||
}[] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Same here
|
||
if (!isSuccess || !startDate || !endDate || !teamId) return null; | ||
|
||
return data && data.length > 0 ? ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we early return so we dont need this tenery ?
What does this PR do?
This PR adds rating feedback metrics to insights. Following are the screenshots with various metrics added.
There are three overview cards added in a new panel; No Show, Average Ratings & CSAT Score
New tables have been added
Here's how all of it looks:
Added fields to CSV download:
Fixes #14634
Requirement/Documentation
Type of change
How should this be tested?
Simply create a "Ratings" workflow and provide rating feedback once the events complete. You should see the ratings, feedback, noShow & CSAT in the insights page.
Mandatory Tasks
Checklist