Skip to content

Add public plugin marketplace and guide - #2702

Closed
brsbl wants to merge 9 commits into
bb/plugin-guide-my-plugins-entryfrom
bb/plugin-pages-getbb-app
Closed

brsbl wants to merge 9 commits into
bb/plugin-guide-my-plugins-entryfrom
bb/plugin-pages-getbb-app

Conversation

@brsbl

@brsbl brsbl commented Aug 29, 2026 •

Copy link
Copy Markdown
Collaborator

Product intent and requirements

  • Make the Plugin Marketplace and Plugin Guide publicly discoverable on getbb.app instead of requiring an installed bb app.
  • Add Marketplace and Plugin Guide navigation as one coherent Plugins destination, with clear cross-links between discovery and authoring.
  • Give the public marketplace the same category-led Browse model, search, filtering, sorting, plugin details, and trust metadata as the product.
  • Publish richer marketplace v2 data additively while leaving the released v1 contract unchanged.
  • Keep the public pages responsive, accessible, theme-aware, and faithful to supplied plugin artwork.

What was wrong

The public plugin discovery and authoring pages had been removed, leaving /marketplace and /docs without a rendered product surface even though the app-side discovery model now depends on the same category and registry concepts. The web app also had no additive v2 registry boundary for richer listing metadata while preserving the released strict v1 contract.

What changed

  • Adds the public marketplace, category shelves, search, category filtering, sorting, unavailable state, and plugin detail pages.
  • Adds detail-only screenshots, install metadata sourced from stats.json, published/updated dates, source links, and more plugins from the same author.
  • Adds the complete /docs Plugin Guide with the shared product-surface map, copyable build prompt and agent references, and installation options.
  • Adds the public v2 schema and /marketplace/v2/* R2 route while leaving /marketplace/v1/* unchanged.
  • Adds one Plugins navigation entry plus Marketplace and Plugin Guide cross-links.
  • Keeps author artwork neutral and unmasked so supplied glyphs and brand colors are never repainted.

Before and after

Each pair uses the same route, stable two-plugin marketplace fixture, settled state, and 1440×900 viewport. Before is the exact parent head (97c166e5561551532c11da76a8d16f15b1f70e18); after is the exact PR head (1090cc67f44d99e4b99e9a73eecdf540d33a48d6).

Home before — no Plugins navigation Home after — Plugins navigation
Homepage on exact parent head without the Plugins navigation entry Homepage on exact PR head with the Plugins navigation entry
/marketplace before — route missing /marketplace after — browse shelves
Marketplace route missing on exact parent head Marketplace browse on exact PR head
/marketplace/prompt-library before — route missing Plugin detail after — install and trust metadata
Marketplace detail route missing on exact parent head Marketplace plugin detail on exact PR head
/docs before — route missing /docs after — Plugin Guide
Plugin Guide route missing on exact parent head Plugin Guide on exact PR head

How you verified

  • Google Chrome for Testing 151.0.7922.71: recaptured /, /marketplace, /marketplace/prompt-library, and /docs from the exact current parent and exact current PR head at 1440×900 using the same local R2 fixture. The current head rendered without page errors.
  • Google Chrome for Testing 151.0.7922.71 and Safari 26.5.2 (21624.2.5.11.8): hard reload, search flattening, client-side detail navigation, Plugin Guide rendering, and 430px layout were previously exercised on product commit b9105c6c2. The marketing product subtree is byte-identical at the current head (git diff b9105c6c2..1090cc67f -- apps/web packages/plugin-api-map pnpm-lock.yaml is empty).
  • Remote CI run 33358223389 is green on exact head 1090cc67f44d99e4b99e9a73eecdf540d33a48d6: checks, all test shards, version guards, and Linux/macOS package smokes passed. No CI-equivalent tests, typechecks, or lint were run locally.

BB-Thread-ID: thr_9tmqez22hd

AGENT GENERATED

@brsbl
brsbl force-pushed the bb/plugin-pages-getbb-app branch from b9105c6 to bd7d5f2 Compare August 31, 2026 01:56
@brsbl
brsbl force-pushed the bb/plugin-pages-getbb-app branch from bd7d5f2 to f359188 Compare August 31, 2026 02:02
@brsbl
brsbl changed the base branch from bb/plugin-discovery-qa to bb/plugin-guide-my-plugins-entry August 31, 2026 04:17
SawyerHood added a commit that referenced this pull request Sep 2, 2026
Ported from #2747 by @brsbl

Ported from #2749 by @brsbl

Ported from #2702 by @brsbl
SawyerHood added a commit that referenced this pull request Sep 2, 2026
Ported from #2747 by @brsbl

Ported from #2749 by @brsbl

Ported from #2702 by @brsbl
SawyerHood added a commit that referenced this pull request Sep 2, 2026
Ported from #2747 by @brsbl

Ported from #2749 by @brsbl

Ported from #2702 by @brsbl
SawyerHood added a commit that referenced this pull request Sep 2, 2026
SawyerHood added a commit that referenced this pull request Sep 3, 2026
SawyerHood added a commit that referenced this pull request Sep 3, 2026
## Human comments

## What was wrong

getbb.app did not have routes that showed the public plugin catalog. The
worker only served raw marketplace objects from R2.

## What changed

- I added the marketplace index, plugin detail, and author routes.
- The pages read the v2 manifest and install counts from the worker R2
binding.
- The worker caches parsed marketplace data for five minutes by R2 ETag.
- Marketplace HTML uses a five-minute public cache. Unavailable pages
use `no-store`.
- A local Zod schema validates the data boundary and ignores unknown
keys.
- The schema accepts empty catalogs. It limits tags and screenshots
after validation.
- The index supports search, one category select, document shelves, and
two flat list sorts.
- I changed the browse, detail, and author layouts to match the two
owner-approved mockups.
- The browse page has a centered hero, a sticky control row, compact
cards, and responsive grids.
- The detail page has breadcrumbs, the home page command control for the
install command, screenshots, a View source link, and related plugins.
- The detail page shows the short description once and hides the empty
About section.
- I removed the Trust block, the Details card, the install note, and the
hero count pill. The detail page is one column at every width.
- The author page has an avatar header and the same browse controls.
- The worker returns HTTP 503 and a `noindex` tag when the manifest
fails.
- The site sends the three marketplace events through the current
PostHog client.
- I added the Plugins navigation link. The URL keeps one category
parameter. A URL with several keeps the first.
- The top navigation has Plugins, Blog, Changelog, Sign in, an icon-only
GitHub button, and Download for macOS.
- The site follows the system color scheme. I removed the theme switcher
and its stored preference.
- Vitest now includes TSX test files.
- This change does not alter the host daemon protocol.
- The build needs the route generator format options. Without them, it
rewrites the full route tree.
- I ported the marketplace pages from branch `bb/plugin-pages-getbb-app`
in #2702 by @brsbl.

## How you verified

- `pnpm exec turbo run typecheck --filter=@bb/web` passed.
- `pnpm exec turbo run test --filter=@bb/web` passed 116 tests in 22
files.
- The test run included the TSX component and route tests.
- `pnpm exec turbo run build --filter=@bb/web` passed.
- I tested all routes with the current live v2 manifest and stats data.
- I verified the filters, both sorts, the copy action, canonical URLs,
HTTP 404 routes, and the HTTP 503 route.
- I checked all three routes at 1440 by 900 pixels and 430 by 900
pixels.
- I checked each route in the light theme and the dark theme.
- None of the 430-pixel pages had horizontal page overflow.

### Screenshots

Home page header at 1440 by 900 pixels:

![Home page header in the light
theme](https://raw.githubusercontent.com/get-bb/bb/bcf77f57688be4eef049e6e206c49ff0eec41383/.github/pr-screenshots/pr-g-final-home-header-light-1440x900.png)

Marketplace index at 1440 by 900 pixels:

![Marketplace index in the light
theme](https://raw.githubusercontent.com/get-bb/bb/9e0e19e0e04a6ebf97c29a9290130a10dd3d222c/.github/pr-screenshots/pr-g-final-marketplace-light-1440x900.png)

Marketplace index sorted by installs at 1440 by 900 pixels:

![Marketplace index sorted by
installs](https://raw.githubusercontent.com/get-bb/bb/9e0e19e0e04a6ebf97c29a9290130a10dd3d222c/.github/pr-screenshots/pr-g-final-marketplace-sorted-light-1440x900.png)

Plugin detail at 1440 by 900 pixels:

![Fonts plugin detail in the light
theme](https://raw.githubusercontent.com/get-bb/bb/9e0e19e0e04a6ebf97c29a9290130a10dd3d222c/.github/pr-screenshots/pr-g-final-fonts-light-1440x900.png)

Author page at 1440 by 900 pixels:

![Author page in the light
theme](https://raw.githubusercontent.com/get-bb/bb/5c6b330ae4562d7309179c5a33bc9a4e45c03182/.github/pr-screenshots/pr-g-author-light-1440x900.png)

![Author page in the dark
theme](https://raw.githubusercontent.com/get-bb/bb/5c6b330ae4562d7309179c5a33bc9a4e45c03182/.github/pr-screenshots/pr-g-author-dark-1440x900.png)

Author page at 430 by 900 pixels:

![Author page in the light theme at 430
pixels](https://raw.githubusercontent.com/get-bb/bb/5c6b330ae4562d7309179c5a33bc9a4e45c03182/.github/pr-screenshots/pr-g-author-light-430x900.png)

![Author page in the dark theme at 430
pixels](https://raw.githubusercontent.com/get-bb/bb/5c6b330ae4562d7309179c5a33bc9a4e45c03182/.github/pr-screenshots/pr-g-author-dark-430x900.png)

Fixes #2702

> AGENT GENERATED

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
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