feat: Add full names in the description of dynamic events.#10251
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
@jyellapu is attempting to deploy a commit to the cal Team on Vercel. A member of the Team first needs to authorize it. |
|
Thank you for following the naming conventions! 🙏 |
…u/feat/add-full-names-in-the-description
📦 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! 🙌 |
|
would this also reflect in the calendar and emails correctly? |
|
can you make a test booking and show the email template and calendar entry? |
There was a problem hiding this comment.
Thank you for raising this PR 🙏
There are still places which contain the old description. The changes look to be only counting towards the booking availability page.
For instance, even the dynamic event list, and the success page have the old description. Potentially, even emails and events created in connected calendars would have the old description.
|
We have a guide for Setting up Mailtrap for local email debugging. You can use that if that helps. Ideally, we want the connected calendars & emails to show event name as the new description. That's where it matters the most. |
|
@alishaz-polymath In the screenshots you shared above, it is event title which we are displaying. |
|
@alishaz-polymath I'm going through the code, the issue seems to be since dynamic events doesn't have eventId but they just have slug, thus whenever eventId is missing in the code it is getting default event with that event's slug, as default events are predefined in the code, thus the title we see above is coming from predefined default event. Could you confirm once again, what is expected in the email templates and in the calendar events? |
|
@alishaz-polymath i have another idea, what if we make a mandatory input called "title of this call" that has a max. char limit and we use that input as the title for the meeting? IMO we can even have this empty here: and only focus on title in calendar and confirmation email (based on the user input) |
I agree. That looks a lot better. |
Yes it was good one, that way user was given flexibility to describe the booking. |
This reverts commit ddd89c4.
alishaz-polymath
left a comment
There was a problem hiding this comment.
Minor changes requested. 🙏
Also, please ensure the Type Checks don't fail.
|
@PeerRich Are we happy with no description? The PR essentially allows booker to create a |
yes i think no description is fine for the booking page as long as we have a required title and the title of the calendar entry looks good |
…u/feat/add-full-names-in-the-description
|
Hey @jyellapu just FYI, I'll review this today 🙏 |
|
@alishaz-polymath I merged #9931 which also removes the description; it condenses all dynamic events into one with multiple durations. |
I see. Let me test after update locally to see how it changes things for this PR (if it does). Thanks for the update @emrysal 🙏 |
alishaz-polymath
left a comment
There was a problem hiding this comment.
Looks good to me, works well 🚀
Thank you for the PR @jyellapu 🙏
|
misclicked. merging! |
* Add full names in the descripiton of dynamic events. * Initialising dynamic event desc after the check. * Revert "Initialising dynamic event desc after the check." This reverts commit ddd89c4. * Revert "Add full names in the descripiton of dynamic events." This reverts commit ce232d6. * Added booking title for dynamic events. * Update apps/web/public/static/locales/en/common.json * Fix typo. * Fix lint error. * Fix redundant booking information. * Fix type script lint. * Addressed review suggestions. --------- Co-authored-by: Peer Richelsen <peer@cal.com> Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com> Co-authored-by: Peer Richelsen <peeroke@gmail.com>








What does this PR do?
Updates description of only dynamic events with full names of the attendees.
Sample screenshots:
With two users:
With more than two users:

*Normal event:

Fixes # (issue)
Fixes #10194
/claim #10194
Requirement/Documentation
Type of change
How should this be tested?
Create dynamic events with 2 or more attendees, the description on booker should have full names of the attendees, if number of attendees is more than 2 then it should show first two attendees full names with more at the end.
Mandatory Tasks
Checklist