Skip to content

Stop repeating featured plugins in browse category shelves - #4749

Closed
brsbl wants to merge 5 commits into
mainfrom
plugin-browse-no-repeats
Closed

brsbl wants to merge 5 commits into
mainfrom
plugin-browse-no-repeats

Conversation

@brsbl

@brsbl brsbl commented Oct 2, 2026 •

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

Browse overviews in the app and on getbb.app showed plugins from collection shelves (New & notable, BB Official) a second time in their category shelves.

What changed

  • Category shelves on the browse overview skip plugins already shown in a collection shelf.
  • This applies to the app and to getbb.app.
  • Category filters and category pages still list every plugin.
  • The app's "View all" link counts skipped plugins, so it appears when the category page has more.
  • getbb.app category headings still count every plugin, matching the filter and category page.
  • This is a bb-only change; the marketplace repo needs nothing.

How you verified

  • Remote CI: pending on head c6adccd3e6.
  • Unit tests cover skipped collection plugins, their shelf-link count, and web heading counts.
  • Slop Cop (security, architecture, code quality, performance) on f729690305: one valid P1, now fixed.
  • The P1 was getbb.app shelf headings showing a smaller count than the filter; headings now use the full count.
  • Hiding all BB Official members (not only visible cards) was flagged and kept as approved product behavior.
  • Chrome for Testing (Browser Automation), app desktop: Plugin Development shows 4 cards plus "View all"; its page lists all 6.
  • App desktop: Command Line shows all 5 with no "View all"; on mobile it shows 2 plus "View all".
  • App: the Environments filter lists all 4 plugins even though its shelf is gone.
  • getbb.app: Themes heading reads 36, matching the filter; "View all" lists 36 including Ambient.
  • Hard reloads of both overviews logged no console errors.

Browse overview

Before: c5b97d7 (merge base) · After: f729690 (app rows), c6adccd (web rows) · Captured at 2× with the live bb-community manifest, Oct 5

Screen / state Viewport Before After
App · Browse plugins overview Desktop · 1440×900 Before app desktop After app desktop
App · Browse plugins overview Mobile · 390×844 Before app mobile After app mobile
getbb.app/marketplace · Themes shelf Desktop · 1440×900 Before web desktop After web desktop
getbb.app/marketplace · Themes shelf Mobile · 390×844 Before web mobile After web mobile

BB-Thread: Fresh plugin browse shelves

🤖 Generated with Claude Code

AGENT GENERATED

Browse overviews in the app and on getbb.app leave collection members
out of category shelves. Category pages and filters still list every
plugin, and the shelf link counts featured plugins so it stays visible
when the category page has more.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-02T17:25:34.895278Z e952852 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e952852ae7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 77 to 79
const categoryEntries = categorizedEntries.filter(
(entry) => entry.category === category.id,
);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve the full category count after deduplication

When a category contains a collection member, categoryEntries now contains only the residual entries, but Shelf still renders shelf.entries.length as the category total while “View all” opens the complete category. For example, the fixture’s Code & Reviews shelf now displays 1, although the category page contains both review-companion and review-notes. Track the pre-deduplication total separately, as the app implementation does, so the public marketplace does not show an incorrect count.

Useful? React with 👍 / 👎.

brsbl added a commit that referenced this pull request Oct 2, 2026
## Human comments

## What was wrong

Plugin shelf links in the app said "See all" while getbb.app says "View
all" for the same action.

## What changed

- App plugin shelf links now read "View all", matching getbb.app.
- Screen readers announce "View all <shelf name>".

Related PRs: #4671, #4749, and get-bb/marketplace#446
change the same browse shelves. This PR is independent of all three.

## How you verified

- Remote CI: passed except `packages-host`, where unrelated `pi`
provider parity tests timed out; rerun pending.
- Chrome for Testing (Browser Automation): every app shelf link reads
"View all" on desktop and mobile.

### Browse plugins overview

Before: ecc44c4 (main) · After: 1765101 · Captured at 2×

| Screen / state | Viewport | Before | After |
| --- | --- | --- | --- |
| App · Browse plugins overview | Desktop · 1440×900 | ![Before
desktop](https://github.com/user-attachments/assets/2e3b7685-cfdc-4813-8bba-cde16d2c6777)
| ![After
desktop](https://github.com/user-attachments/assets/93f8a988-d359-41e9-983b-196fa1456768)
|
| App · Browse plugins overview | Mobile · 390×844 | ![Before
mobile](https://github.com/user-attachments/assets/4d500aa8-d679-422c-a04b-82e4632acbc6)
| ![After
mobile](https://github.com/user-attachments/assets/7791570d-6fd3-4f94-b425-291bbd1f7384)
|

BB-Thread-ID: thr_a4kxc4rfxg

🤖 Generated with [Claude Code](https://claude.com/claude-code)

> AGENT GENERATED

Co-authored-by: Claude Opus 5.5 <[email protected]>
brsbl and others added 4 commits October 2, 2026 10:29
# Conflicts:
#	apps/app/src/components/plugin/management/BrowsePluginsTab.tsx
#	apps/app/src/components/plugin/management/plugin-browse-discovery.ts
Category shelf headings count every plugin in the category, matching the
category filter and the View all page, even when featured plugins are
left out of the shelf.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@brsbl brsbl closed this Oct 6, 2026
@brsbl
brsbl deleted the plugin-browse-no-repeats branch October 6, 2026 03:56
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