Skip to content

Trending rows show installs in the last 30 days - #611

Merged
ericzakariasson merged 1 commit into
mainfrom
trending-rows-30-day-installs
Dec 1, 2026
Merged

ericzakariasson merged 1 commit into
mainfrom
trending-rows-30-day-installs

Conversation

@ericzakariasson

Copy link
Copy Markdown
Member

Summary

Trending ranks by installs in the last 30 days, but each row showed all-time installs. The figures did not descend, so a plugin with 255 installs sat above one with 3.1k.

Each tab now shows the figure it ranks by, under a small heading that says what the figure is:

Tab Heading Figure
Trending Installs in the last 30 days 370, 269, 255
Top All-time installs 40.7k, 34.6k
New Added today, 3d ago

Top and New show what they showed before. Only the heading is new there.

Two cases keep all-time installs on Trending

  • Search results. Someone looking for a plugin wants to know how widely it is used. A plugin with 1.4k installs and none this month would read "0" next to its name.
  • No row has a 30-day count, because the query behind the counts failed. Trending then ranks by its estimate from all-time installs, and every row would read "0".

The heading says "All-time installs" in both cases.

Things to know

  • On wide screens the list has two columns, and each has its own heading. On a phone there is one.
  • Deep in Trending, after the 893 plugins with recent installs, rows read "0". They are ranked among themselves by the estimate, as before.

Testing

  • bunx biome ci . and bun run typecheck in apps/cursor pass.
  • Viewed locally with a copy of the public plugin list in place of the database, at desktop width and at 390px: the three tabs, and search results on each tab.
  • Preview build, which reads the live data: the first 50 Trending rows show 30-day counts that never increase down the list, starting 370, 269, 255, 242.
  • With every 30-day count removed locally, Trending shows all-time installs under the "All-time installs" heading.

Trending ranks by installs in the last 30 days, but each row showed
all-time installs, so the figures did not descend: a plugin with 255
installs sat above one with 3.1k.

Each tab now shows the figure it ranks by, under a small heading that
says what it is: "Installs in the last 30 days" on Trending, "All-time
installs" on Top and "Added" on New.

Two cases keep all-time installs on Trending:
- Search results, where a widely used plugin with no installs this
  month would read "0".
- When no row has a 30-day count because the query behind them failed.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ericzakariasson
ericzakariasson merged commit 7f4abc9 into main Dec 1, 2026
1 check passed
@ericzakariasson
ericzakariasson deleted the trending-rows-30-day-installs branch December 1, 2026 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant