MCPcopy
hub / github.com/codeaashu/claude-code / IdeOnboardingDialog

Function IdeOnboardingDialog

src/components/IdeOnboardingDialog.tsx:14–148  ·  view source on GitHub ↗
(t0)

Source from the content-addressed store, hash-verified

12 installationStatus: IDEExtensionInstallationStatus | null;
13}
14export function IdeOnboardingDialog(t0) {
15 const $ = _c(23);
16 const {
17 onDone,
18 installationStatus
19 } = t0;
20 markDialogAsShown();
21 let t1;
22 if ($[0] !== onDone) {
23 t1 = {
24 "confirm:yes": onDone,
25 "confirm:no": onDone
26 };
27 $[0] = onDone;
28 $[1] = t1;
29 } else {
30 t1 = $[1];
31 }
32 let t2;
33 if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
34 t2 = {
35 context: "Confirmation"
36 };
37 $[2] = t2;
38 } else {
39 t2 = $[2];
40 }
41 useKeybindings(t1, t2);
42 let t3;
43 if ($[3] !== installationStatus?.ideType) {
44 t3 = installationStatus?.ideType ?? getTerminalIdeType();
45 $[3] = installationStatus?.ideType;
46 $[4] = t3;
47 } else {
48 t3 = $[4];
49 }
50 const ideType = t3;
51 const isJetBrains = isJetBrainsIde(ideType);
52 let t4;
53 if ($[5] !== ideType) {
54 t4 = toIDEDisplayName(ideType);
55 $[5] = ideType;
56 $[6] = t4;
57 } else {
58 t4 = $[6];
59 }
60 const ideName = t4;
61 const installedVersion = installationStatus?.installedVersion;
62 const pluginOrExtension = isJetBrains ? "plugin" : "extension";
63 const mentionShortcut = env.platform === "darwin" ? "Cmd+Option+K" : "Ctrl+Alt+K";
64 let t5;
65 if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
66 t5 = <Text color="claude">✻ </Text>;
67 $[7] = t5;
68 } else {
69 t5 = $[7];
70 }
71 let t6;

Callers

nothing calls this directly

Calls 5

markDialogAsShownFunction · 0.85
useKeybindingsFunction · 0.85
getTerminalIdeTypeFunction · 0.85
isJetBrainsIdeFunction · 0.85
toIDEDisplayNameFunction · 0.85

Tested by

no test coverage detected