Skip to content

Commit 2491b46

Browse files
committed
Remove downloadCount temporarily
1 parent 3fd1f16 commit 2491b46

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "claude-dev",
33
"displayName": "Cline",
44
"description": "Autonomous coding agent right in your IDE, capable of creating/editing files, running commands, using the browser, and more with your permission every step of the way.",
5-
"version": "3.4.1",
5+
"version": "3.4.2",
66
"icon": "assets/icons/icon.png",
77
"galleryBanner": {
88
"color": "#617A91",

webview-ui/src/components/mcp/marketplace/McpMarketplaceCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ const McpMarketplaceCard = ({ item, installedServers }: McpMarketplaceCardProps)
181181
<span className="codicon codicon-star-full" />
182182
<span style={{ wordBreak: "break-all" }}>{item.githubStars?.toLocaleString() ?? 0}</span>
183183
</div>
184-
<div
184+
{/* <div
185185
style={{
186186
display: "flex",
187187
alignItems: "center",
@@ -191,7 +191,7 @@ const McpMarketplaceCard = ({ item, installedServers }: McpMarketplaceCardProps)
191191
}}>
192192
<span className="codicon codicon-cloud-download" />
193193
<span style={{ wordBreak: "break-all" }}>{item.downloadCount?.toLocaleString() ?? 0}</span>
194-
</div>
194+
</div> */}
195195
{item.requiresApiKey && (
196196
<span className="codicon codicon-key" title="Requires API key" style={{ flexShrink: 0 }} />
197197
)}

webview-ui/src/components/mcp/marketplace/McpMarketplaceView.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const McpMarketplaceView = () => {
2121
const [isRefreshing, setIsRefreshing] = useState(false)
2222
const [searchQuery, setSearchQuery] = useState("")
2323
const [selectedCategory, setSelectedCategory] = useState<string | null>(null)
24-
const [sortBy, setSortBy] = useState<"downloadCount" | "stars" | "name" | "newest">("downloadCount")
24+
const [sortBy, setSortBy] = useState<"newest" | "stars" | "name">("newest")
2525

2626
const categories = useMemo(() => {
2727
const uniqueCategories = new Set(items.map((item) => item.category))
@@ -41,8 +41,8 @@ const McpMarketplaceView = () => {
4141
})
4242
.sort((a, b) => {
4343
switch (sortBy) {
44-
case "downloadCount":
45-
return b.downloadCount - a.downloadCount
44+
// case "downloadCount":
45+
// return b.downloadCount - a.downloadCount
4646
case "stars":
4747
return b.githubStars - a.githubStars
4848
case "name":
@@ -232,9 +232,9 @@ const McpMarketplaceView = () => {
232232
}}
233233
value={sortBy}
234234
onChange={(e) => setSortBy((e.target as HTMLInputElement).value as typeof sortBy)}>
235-
<VSCodeRadio value="downloadCount">Most Installs</VSCodeRadio>
236-
<VSCodeRadio value="stars">Most Stars</VSCodeRadio>
235+
{/* <VSCodeRadio value="downloadCount">Most Installs</VSCodeRadio> */}
237236
<VSCodeRadio value="newest">Newest</VSCodeRadio>
237+
<VSCodeRadio value="stars">GitHub Stars</VSCodeRadio>
238238
<VSCodeRadio value="name">Name</VSCodeRadio>
239239
</VSCodeRadioGroup>
240240
</div>

0 commit comments

Comments
 (0)