Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Ignored Deployments
|
|
Thank you for following the naming conventions! 🙏 |
| name: item.profile.name ?? "", | ||
| href: item.teamId ? `/event-types?teamId=${item.teamId}` : "/event-types", | ||
| avatar: item.profile.image ?? `${orgBranding?.fullDomain ?? WEBAPP_URL}/${item.profile.slug}/avatar.png`, | ||
| href: item.teamId ? `/event-types?teamId=${item.teamId}` : "/event-types?noTeam", |
There was a problem hiding this comment.
We need to differentiate a team pathname+query from personal account so the horizontal tabs can correctly identify the active tab
| href: item.teamId ? `/event-types?teamId=${item.teamId}` : "/event-types?noTeam", | ||
| avatar: orgBranding | ||
| ? `${orgBranding.fullDomain}${item.teamId ? "/team" : ""}/${item.profile.slug}/avatar.png` | ||
| : item.profile.image ?? `${WEBAPP_URL + (item.teamId && "/team")}/${item.profile.slug}/avatar.png`, |
There was a problem hiding this comment.
This was preventing org subteams to render correctly
| <div> | ||
| <HorizontalTabs tabs={tabs} /> | ||
| {events.length && ( | ||
| {events.length > 0 ? ( |
There was a problem hiding this comment.
This was showing a "0" in the UI
| readOnly={events[0].metadata.readOnly} | ||
| /> | ||
| ) : ( | ||
| <CreateFirstEventTypeView /> |
There was a problem hiding this comment.
We want to show an empty screen
| }, []); | ||
|
|
||
| if (!types.length) { | ||
| return group.teamId ? <EmptyEventTypeList group={group} /> : <CreateFirstEventTypeView />; |
There was a problem hiding this comment.
To show correct empty screen
| href={teamId ? `/settings/teams/${teamId}/profile` : "/settings/my-account/profile"} | ||
| imageSrc={`${orgBranding?.fullDomain ?? WEBAPP_URL}/${profile.slug}/avatar.png` || undefined} | ||
| imageSrc={ | ||
| `${orgBranding?.fullDomain ?? WEBAPP_URL}${teamId ? "/team" : ""}/${profile.slug}/avatar.png` || |
There was a problem hiding this comment.
Somehow we were missing the "/team" part of the avatar URL to correctly show a team or user avatar for orgs
| buttonRaw={ | ||
| <Button href="?dialog=new" variant="button"> | ||
| {t("create")} | ||
| </Button> |
There was a problem hiding this comment.
Added the "create" button to simplify the action for mobile users mainly
| ) : group.teamId ? ( | ||
| <EmptyEventTypeList group={group} /> | ||
| ) : ( | ||
| <CreateFirstEventTypeView /> |
| addOnLeading={ | ||
| orgSlug | ||
| ? getOrgFullDomain(orgSlug, { protocol: true }) | ||
| ? `${getOrgFullDomain(orgSlug, { protocol: true })}/` |
There was a problem hiding this comment.
Missing trailing "/" on invite
| return { | ||
| // don't display event teams without event types, | ||
| eventTypeGroups: eventTypeGroups.filter((groupBy) => groupBy.parentId || !!groupBy.eventTypes?.length), | ||
| eventTypeGroups, |
There was a problem hiding this comment.
We now show any event type group even if it is empty, as we show empty screens for them now
| Icon && "mt-6" | ||
| )}> | ||
| {headline} | ||
| </h2> |
There was a problem hiding this comment.
When no icon is present and no description is passed, there was an extra margin on the title that didn't look good
📦 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✅ 117 Passing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 09/06/2023 09:03:33pm UTC) Run DetailsRunning Workflow PR Update on Github Actions Commit: 3e3a281 Started: 09/06/2023 09:01:42pm UTC
|
| Test Case | Last 7 days Failures | Last 7 days Flakes |
|---|---|---|
|
Popup Tests should be able to reschedule
Retry 1 • Initial Attempt |
1.88% (6)6 / 320 runsfailed over last 7 days |
96.88% (310)310 / 320 runsflaked over last 7 days |
* Pass organization name & logo * Overflow hidden * Show org icon on public page * Add org logo to large user avatars * Clean up * Add org name and logo to context * Get org logo from /avatar.png endpoint * Do not query for logo * Remove name and logo from session middleware * Type fix * Set user onboarding org logo * feat: organization avatar component (#10788) Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com> * Type fixes * Type fix * Transition to org slug for organization avatar * Address feedback * Clean up * Clean up * Type fix * fix: set avatar cache control (#11163) * test: Integration tests for handleNewBooking (#11044) Co-authored-by: Shivam Kalra <shivamkalra98@gmail.com> Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com> * fix: booking_paid webhook and added new payment metadata (#11093) * app store improvements, logos, dark mode, added screenshots, fixed author names (#11164) * fix: mobile event types and avatars (#11184) * New Crowdin translations by Github Action * fix: updateProfile metadata overwrite (#11188) Co-authored-by: alannnc <alannnc@gmail.com> * New Crowdin translations by Github Action --------- Co-authored-by: Sean Brydon <sean@cal.com> Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com> Co-authored-by: Omar López <zomars@me.com> Co-authored-by: Hariom Balhara <hariombalhara@gmail.com> Co-authored-by: Shivam Kalra <shivamkalra98@gmail.com> Co-authored-by: alannnc <alannnc@gmail.com> Co-authored-by: Peer Richelsen <peeroke@gmail.com> Co-authored-by: Leo Giovanetti <hello@leog.me> Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
* Pass organization name & logo * Overflow hidden * Show org icon on public page * Add org logo to large user avatars * Clean up * Add org name and logo to context * Get org logo from /avatar.png endpoint * Do not query for logo * Remove name and logo from session middleware * Type fix * Set user onboarding org logo * feat: organization avatar component (calcom#10788) Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com> * Type fixes * Type fix * Transition to org slug for organization avatar * Address feedback * Clean up * Clean up * Type fix * fix: set avatar cache control (calcom#11163) * test: Integration tests for handleNewBooking (calcom#11044) Co-authored-by: Shivam Kalra <shivamkalra98@gmail.com> Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com> * fix: booking_paid webhook and added new payment metadata (calcom#11093) * app store improvements, logos, dark mode, added screenshots, fixed author names (calcom#11164) * fix: mobile event types and avatars (calcom#11184) * New Crowdin translations by Github Action * fix: updateProfile metadata overwrite (calcom#11188) Co-authored-by: alannnc <alannnc@gmail.com> * New Crowdin translations by Github Action --------- Co-authored-by: Sean Brydon <sean@cal.com> Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com> Co-authored-by: Omar López <zomars@me.com> Co-authored-by: Hariom Balhara <hariombalhara@gmail.com> Co-authored-by: Shivam Kalra <shivamkalra98@gmail.com> Co-authored-by: alannnc <alannnc@gmail.com> Co-authored-by: Peer Richelsen <peeroke@gmail.com> Co-authored-by: Leo Giovanetti <hello@leog.me> Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
What does this PR do?
Mobile event types needed some love, empty personal event types now show an empty state, and also some subteam avatars were not loading for orgs.
Same applies for desktop:
Type of change
How should this be tested?
Open event types page and shrink the window to get mobile treatment and see how it behaves like the pictures.