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: Overlay Calendar v2 and Troubleshooter v2 #14693
base: main
Are you sure you want to change the base?
Conversation
@kart1ka 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! 🙏 Feel free to join our discord and post your PR link. |
📦 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! 🙌 |
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.
@kart1ka Everything looks good we just have a unit test failing by the looks of things.
Despite the Unit test:
From a UX standpoint this works pretty damn well thanks for this! Tested
- Troubleshooter
- When authed with a gcal - view another user and test overlay calendar
- Signup a new user (had to toggle off overflow and on again) but i honestly think thats in main also.
Code looks pretty good to me - I'd like a second eye by someone with a bit more appstore experience than myself for these changes
@joeauyeung @zomars would you give this a second pair of eyes before we approve?
@sean-brydon Thanks for the review. I have fixed the unit test. Regarding the overflow toggle during signup, you're right—it's present in the main branch too. I've tried to figure out the cause but haven't found a solution yet. |
I am working on adding the Microsoft Provider for overlay user sign up. |
I have added |
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.
Love the refactor @kart1ka thank you. Tested this both checking availabilities and on the troubleshooter to list calendar event names.
@sean-brydon I'm happy with this from a calendar integration standpoint. I'll leave it to you if you think this is ready to merge.
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 a fair bit all seems to be working for me. Will wait for a second pair of eyes due to auth changes from @calcom/foundation
Nice work!
/tip 50 @kart1ka |
🎉🎈 @kart1ka has been awarded $50! 🎈🎊 |
/tip 100 |
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.
Overall looks like solid work. Very well done @kart1ka. I just have some concerns before merging.
This PR is doing way too much. We have rejected PRs from core contributors for this same reason before. So it would be unfair to give this one a pass. Unless @keithwillcode and @PeerRich says otherwise.
This PR is:
- Adding Azure as an Identity provider
- Doing big changes to google CalendarService
- Doing big changes to microsoft CalendarService
As mentioned in a previous comment, adding Azure as Identity provider may be desirable from product standpoint. But we don't have any previous issues or discussions around it. It would feel weird just adding it out of the blue without that proper discussion.
My next steps would be:
- Separate the ID provider code into its own PR. Discuss it. Test it. Pass it.
- Come back to this PR. Test it. Pass it.
This is very nice work. But we need to adhere to the contribution style as much as possible. This is algo a good opportunity on us to improve the docs.
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.
Is adding Azure as an identity provider necessary for this PR to work? If it's not then I would rather have individual PRs that does a single thing well. If it's necessary then I would do the Azure PR first and then this one. The reason is that we need PRs to be easily testable and revertible. If something goes wrong when deploying it will be way harder for us to debug what's actually wrong. So PRs should be as single purpose as possible.
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.
Completely agree with this feedback, @zomars 🙏🏼
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.
Hi @zomars
Adding Azure as an Identity Provider is not necessary for this PR to work. I added it because of this comment by sean here: #14575 (comment). The comment mentions that the Identity Providers which are shown in figma design file are to be added. If you would like I can remove the Azure AD Provider from this PR and raise another PR for it which can be merged after thorough testing.
Do let me know how should I proceed.
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.
agree here with @zomars
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.
The comment mentions that the Identity Providers which are shown in figma design file are to be added.
I'm not against adding it. Just let's do it with the proper protocols. In a separate PR. With its own issue discussion and approvals. The design is a "desired state" for the app to be in. But we still need to do the work for engineering planning and testing before achieving it.
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.
Agreed. I will remove Azure provider from this PR.
Do let me know if any other changes need to be made.
What does this PR do?
Fixes #12763
Fixes #12752
Type of change
How should this be tested?
Testing Overlay Calendar v2
Testing Troubleshooter v2
Mandatory Tasks