Skip to content

Commit 321b07a

Browse files
authored
chore: troubleshooter atom docs (#27717)
1 parent 3abde55 commit 321b07a

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: "Troubleshooter"
3+
---
4+
5+
The Troubleshooter atom helps users debug their availability and scheduling issues. It displays a sidebar where users can select an event type, view their schedule, and toggle connected calendars alongside a large calendar view that visually shows the resulting availability. Essentially, it lets users diagnose why certain time slots may or may not appear as available.
6+
7+
Below code snippet can be used to render the Troubleshooter atom
8+
9+
```js
10+
import { TroubleShooter } from "@calcom/atoms";
11+
12+
export default function TroubleShooterAtom() {
13+
return (
14+
<>
15+
<TroubleShooter />
16+
</>
17+
);
18+
}
19+
```
20+
21+
For a demonstration of the Troubleshooter atom, please refer to the video below.
22+
23+
<p></p>
24+
25+
<iframe
26+
style={{ width: "100%", maxWidth: "560px" }}
27+
height="315"
28+
src="https://www.loom.com/embed/2646075c4ec543399f2acf6b035af9ce"
29+
frameborder="0"
30+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
31+
allowfullscreen="true"
32+
></iframe>
33+
34+
<p></p>
35+
36+
37+
We offer some customizations to the Troubleshooter atom via props. Below is a list of props that can be passed to the Troubleshooter atom.
38+
39+
<p></p>
40+
41+
| Name | Required | Description |
42+
| :-------------------- | :------- | :----------------------------------------------------------------------- |
43+
| onManageCalendarsClick | No | Callback triggered when the "Manage Calendars" button is clicked (shown when calendars are connected) |
44+
| onInstallCalendarClick | No | Callback triggered when the "Install Calendar" button is clicked (shown when no calendars are connected) |

0 commit comments

Comments
 (0)