Skip to content

Commit 0b9e05b

Browse files
committed
[DCV-3662] Fix linter issues
1 parent dab5cc1 commit 0b9e05b

6 files changed

Lines changed: 1 addition & 51 deletions

File tree

src/package.json

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,6 @@
9090
"title": "%command.openInEditor.title%",
9191
"icon": "$(link-external)"
9292
},
93-
{
94-
"command": "datacoves-copilot.cloudButtonClicked",
95-
"title": "%command.cloud.title%",
96-
"icon": "$(cloud)"
97-
},
9893
{
9994
"command": "datacoves-copilot.settingsButtonClicked",
10095
"title": "%command.settings.title%",
@@ -223,11 +218,6 @@
223218
"group": "navigation@2",
224219
"when": "view == datacoves-copilot.SidebarProvider"
225220
},
226-
{
227-
"command": "datacoves-copilot.cloudButtonClicked",
228-
"group": "navigation@3",
229-
"when": "view == datacoves-copilot.SidebarProvider"
230-
},
231221
{
232222
"command": "datacoves-copilot.marketplaceButtonClicked",
233223
"group": "navigation@4",
@@ -255,11 +245,6 @@
255245
"group": "navigation@2",
256246
"when": "activeWebviewPanelId == datacoves-copilot.TabPanelProvider"
257247
},
258-
{
259-
"command": "datacoves-copilot.cloudButtonClicked",
260-
"group": "navigation@3",
261-
"when": "activeWebviewPanelId == datacoves-copilot.TabPanelProvider"
262-
},
263248
{
264249
"command": "datacoves-copilot.marketplaceButtonClicked",
265250
"group": "navigation@4",

webview-ui/src/App.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ const tabsByMessageAction: Partial<Record<NonNullable<ExtensionMessage["action"]
4949
settingsButtonClicked: "settings",
5050
historyButtonClicked: "history",
5151
marketplaceButtonClicked: "marketplace",
52-
cloudButtonClicked: "cloud",
5352
}
5453

5554
const App = () => {

webview-ui/src/components/chat/ChatTextArea.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1291,7 +1291,6 @@ export const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
12911291
</StandardTooltip>
12921292
)}
12931293
{!isEditMode ? <IndexingStatusBadge /> : null}
1294-
{!isEditMode && cloudUserInfo && <CloudAccountSwitcher />}
12951294
{/* keep props referenced after moving browser button */}
12961295
<div
12971296
className="hidden"

webview-ui/src/components/chat/ChatView.tsx

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,33 +1437,14 @@ const ChatViewComponent: React.ForwardRefRenderFunction<ChatViewRef, ChatViewPro
14371437
) : (
14381438
<div className="flex flex-col h-full justify-center p-6 min-h-0 overflow-y-auto gap-4 relative">
14391439
<div className="flex flex-col items-start gap-2 justify-center h-full min-[400px]:px-6">
1440-
<VersionIndicator
1441-
onClick={() => setShowAnnouncementModal(true)}
1442-
className="absolute top-2 right-3 z-10"
1443-
/>
1440+
<VersionIndicator onClick={() => {}} className="absolute top-2 right-3 z-10" />
14441441
<div className="flex flex-col gap-4 w-full">
14451442
<RooHero />
14461443
{/* Show RooTips when authenticated or when user is new */}
14471444
{taskHistory.length < 6 && <RooTips />}
14481445
{/* Everyone should see their task history if any */}
14491446
{taskHistory.length > 0 && <HistoryPreview />}
14501447
</div>
1451-
{/* Logged out users should see a one-time upsell, but not for brand new users */}
1452-
{!cloudIsAuthenticated && taskHistory.length >= 6 && (
1453-
<DismissibleUpsell
1454-
upsellId="taskList2"
1455-
icon={<Cloud className="size-5 shrink-0" />}
1456-
onClick={() => openUpsell()}
1457-
dismissOnClick={false}
1458-
className="bg-none mt-6 border-border rounded-xl p-0 py-3 !text-base">
1459-
<Trans
1460-
i18nKey="cloud:upsell.taskList"
1461-
components={{
1462-
learnMoreLink: <VSCodeLink href="#" />,
1463-
}}
1464-
/>
1465-
</DismissibleUpsell>
1466-
)}
14671448
</div>
14681449
</div>
14691450
)}
@@ -1623,7 +1604,6 @@ const ChatViewComponent: React.ForwardRefRenderFunction<ChatViewRef, ChatViewPro
16231604
)}
16241605

16251606
<div id="roo-portal" />
1626-
<CloudUpsellDialog open={isUpsellOpen} onOpenChange={closeUpsell} onConnect={handleConnect} />
16271607
</div>
16281608
)
16291609
}

webview-ui/src/components/chat/ShareButton.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,6 @@ export const ShareButton = ({ item, disabled = false }: ShareButtonProps) => {
225225
onClick={handleShareButtonClick}
226226
data-testid="share-button"></LucideIconButton>
227227
)}
228-
229-
{/* Connect to Cloud Modal */}
230-
<CloudUpsellDialog open={connectModalOpen} onOpenChange={closeUpsell} onConnect={handleConnectToCloud} />
231228
</>
232229
)
233230
}

webview-ui/src/components/chat/TaskHeader.tsx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,6 @@ const TaskHeader = ({
122122

123123
return (
124124
<div className="group pt-2 pb-0 px-3">
125-
{showLongRunningTaskMessage && !isTaskComplete && (
126-
<DismissibleUpsell
127-
upsellId="longRunningTask"
128-
onClick={() => openUpsell()}
129-
dismissOnClick={false}
130-
variant="banner">
131-
{t("cloud:upsell.longRunningTask")}
132-
</DismissibleUpsell>
133-
)}
134125
<div
135126
className={cn(
136127
"px-3 pt-2.5 pb-2 flex flex-col gap-1.5 relative z-1 cursor-pointer",
@@ -410,7 +401,6 @@ const TaskHeader = ({
410401
{/* Todo list - always shown at bottom when todos exist */}
411402
{hasTodos && <TodoListDisplay todos={todos ?? (task as any)?.tool?.todos ?? []} />}
412403
</div>
413-
<CloudUpsellDialog open={isOpen} onOpenChange={closeUpsell} onConnect={handleConnect} />
414404
</div>
415405
)
416406
}

0 commit comments

Comments
 (0)