feat: Connect component for Cal Atoms#11605
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
4 Ignored Deployments
|
|
Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link to collect XP and win prizes! |
📦 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✅ 136 Passing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 10/06/2023 07:45:36am UTC) Run DetailsRunning Workflow PR Update on Github Actions Commit: f0febb0 Started: 10/06/2023 07:43:23am UTC
|
| Test Case | Last 7 days Failures | Last 7 days Flakes |
|---|---|---|
|
Teams Profile page is loaded for users in Organization
Retry 2 • Retry 1 • Initial Attempt |
3.24% (6)6 / 185 runsfailed over last 7 days |
28.65% (53)53 / 185 runsflaked over last 7 days |
📄 packages/embeds/embed-core/playwright/tests/action-based.e2e.ts • 1 Flake
Test Case Results
| Test Case | Last 7 days Failures | Last 7 days Flakes |
|---|---|---|
|
Popup Tests should be able to reschedule
Retry 1 • Initial Attempt |
4.12% (10)10 / 243 runsfailed over last 7 days |
93% (226)226 / 243 runsflaked over last 7 days |
supalarry
left a comment
There was a problem hiding this comment.
Well done Rajiv! Left some refactor comments.
| export function ConnectButton({ | ||
| buttonText, | ||
| handleClick, | ||
| onClick, |
There was a problem hiding this comment.
@supalarry this is the correct way to do it right?
There was a problem hiding this comment.
Yeah i think this makes sense. Can you manually test it by using the component, passing onClick to it and seeing if it is fired when the button is clicked?
There was a problem hiding this comment.
Should work IMHO but will test and let you know, great review btw!
There was a problem hiding this comment.
@supalarry I added a loader for the button can you review it again and make sure it's alright?
|
just to confirm, this has no functionality yet right? Its supposed to connect to Google Calendar, zoom, etc. |
Correct, it doesn't handle any functionality. The functionality can be passed in through the |
ideally the Connect button has logic, especially the logic to connect to something. that's the whole point of this component.
(not final props API) but somewhat like this |
Will keep this in mind |
|
This PR is being marked as stale due to inactivity. |
|
This PR is being closed due to inactivity. Please reopen if work is intended to be continued. |
What does this PR do?
Adds a
Connectbutton component for Cal Atoms