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

fix: Implement new avatars in insights #13996

Merged
merged 4 commits into from
Mar 7, 2024
Merged

Conversation

emrysal
Copy link
Contributor

@emrysal emrysal commented Mar 6, 2024

What does this PR do?

Little bit of code cleanup, typescript & support of avatarUrl db column

@emrysal emrysal requested review from keithwillcode and a team March 6, 2024 19:46
Copy link
Contributor

github-actions bot commented Mar 6, 2024

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

@keithwillcode keithwillcode added core area: core, team members only foundation labels Mar 6, 2024
Copy link

vercel bot commented Mar 6, 2024

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

4 Ignored Deployments
Name Status Preview Comments Updated (UTC)
ai ⬜️ Ignored (Inspect) Visit Preview Mar 7, 2024 3:51pm
cal ⬜️ Ignored (Inspect) Visit Preview Mar 7, 2024 3:51pm
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Mar 7, 2024 3:51pm
qa ⬜️ Ignored (Inspect) Visit Preview Mar 7, 2024 3:51pm

Copy link
Contributor

github-actions bot commented Mar 6, 2024

📦 Next.js Bundle Analysis for @calcom/web

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

This PR introduced no changes to the JavaScript bundle! 🙌

zomars
zomars previously approved these changes Mar 6, 2024
Copy link

deploysentinel bot commented Mar 6, 2024

No failed tests 🎉

@zomars
Copy link
Member

zomars commented Mar 6, 2024

@emrysal we have some typing issues


const result = bookingsFromTeam.map((booking) => {
return {
userId: booking.userId,
user: userHashMap.get(booking.userId),
// We know with 100% certainty that userHashMap.get(...) will retrieve a user
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Remove | undefined from type inference for user:

@PeerRich PeerRich merged commit e604547 into main Mar 7, 2024
38 checks passed
@PeerRich PeerRich deleted the bugfix/use-new-avatars-insights branch March 7, 2024 17:00
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 foundation insights area: insights, analytics Medium priority Created by Linear-GitHub Sync
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants