Skip to content

Add in-app plugin author pages - #2952

Merged
SawyerHood merged 7 commits into
mainfrom
author-pages
Sep 3, 2026
Merged

SawyerHood merged 7 commits into
mainfrom
author-pages

Conversation

@SawyerHood

@SawyerHood SawyerHood commented Sep 2, 2026 •

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

Browse cards and plugin details showed author data without an in-app author route. The detail panel also omitted related plugins from the same author.

What changed

This layer adds in-app author links to Browse cards and plugin details. Each link opens one author page with compatible plugins from one marketplace.

The author page keeps search, category, and sort state in the URL. It supports Featured, Recently added, and Most installed sorts.

The author header uses the same centered width as the toolbar and card grid. It stays aligned when a detail panel is open.

The header uses the most frequent author name. It uses the longest name when counts are equal.

Plugin details now show up to four other plugins from the same author. A related item keeps the current detail presentation.

Author identity uses a normalized GitHub login when available. It uses the exact author name otherwise. Marketplace identity prevents entries from different marketplaces from merging.

This PR targets main. It contains no code from the closed PR #2945.

This PR is intended for a squash merge. Intermediate commits import a file that existed only in the closed PR #2945.

This layer changes no host daemon wire data. It needs no CLI, guide, or protocol update.

The catalog response now includes the author's GitHub login. The Plugin SDK inventory records this contract change.

Visual QA

State Before After
Author page Browse had author text without an author page The BB author page shows 26 plugins
Plugin detail The plugin detail ended after Details The plugin detail shows four plugins from this author

How you verified

  • pnpm exec turbo run typecheck --filter=@bb/app --filter=@bb/shared-ui passed.
  • pnpm exec turbo run test --filter=@bb/app --filter=@bb/shared-ui --force passed.
  • The app suite passed 3,800 tests. Four tests remained skipped.
  • Shared UI has no test script. Turbo included it in the requested scope.
  • The server catalog test passed 44 tests.
  • The Plugin API map suite passed 76 tests.
  • New tests cover header alignment, author name selection, filters, sorts, URL history, focus return, related limits, and full-page navigation.
  • Doobie verified the author page and related-plugin detail at 1440 by 900 pixels.
  • Doobie verified that a tag-only search returns plugins from the selected author.
  • The browser console showed no errors during the final checks.

Fixes #N/A

AGENT GENERATED

@SawyerHood SawyerHood changed the title Add author pages in Extensions Add in-app plugin author pages Sep 2, 2026
@SawyerHood
SawyerHood marked this pull request as ready for review September 2, 2026 19:11

@bb-slop-cop bb-slop-cop Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚨 SLOP COP 🚨 · review

I am the Slop Cop. I am reviewing this pull request for security, code quality, architecture, performance, and end-to-end behavior.

const github = pluginAuthorGithub(entry.author);
const identity =
github === null
? `${NAME_AUTHOR_PREFIX}${entry.author.name}`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚨 slopcop/review — P2: This key can merge different authors.

The fallback uses only the exact author name. Two authors in one marketplace can share a name and use different URLs. Their pages and related lists then merge. The page also shows the first record URL above both plugin sets. Use a stable author identifier. If none exists, include the canonical URL in the fallback key.

entry: Pick<PluginCatalogSearchEntry, "author" | "marketplace">,
): string | null {
if (entry.author === null) return null;
const github = pluginAuthorGithub(entry.author);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚨 slopcop/review — P2: This code loses an explicit GitHub identity.

Marketplace data can include a GitHub login and a separate website. The server keeps only the website in the author contract. This code then uses the display name. One GitHub author can split across pages when entries use different display names. Add the normalized GitHub login to the author contract. Use that login as the primary identity.

): boolean {
const normalizedQuery = query.trim().toLocaleLowerCase();
if (normalizedQuery === "") return true;
return [

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚨 slopcop/review — P2: A tag-only Browse query becomes an empty author page.

The server search includes plugin tags. This local search omits them. The author link keeps the current query. I reproduced this with the agent-interaction tag. Browse showed seven plugins. The selected author page then showed no matches. Use the same search data and rules on both pages. Add a test for a tag-only query.

@bb-slop-cop bb-slop-cop Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚨 SLOP COP 🚨 · review

Plain English summary

This PR lets users select a plugin author and see that author's plugins. Plugin detail pages also show up to four plugins from that author.

Findings

I found three P2 defects that should be fixed before merge.

  • The name fallback can merge two different authors. The page can then show one author's link above another author's plugins.
  • The catalog contract can discard an explicit GitHub login. The same author can then split across pages when display names differ.
  • The author page omits tags from its search. A tag-only Browse result becomes empty after a user selects its author.

I left an inline comment for each defect.

Architecture

The author page repeats the Browse search, filter, sort, and URL state logic. This duplication caused the tag-search mismatch.

A shared browse-state and search model would remove this drift. The author page also repeats the URL label helper.

Security and performance

I found no direct XSS, SSRF, route injection, permission bypass, or unsafe state change. The author merge creates the trust issue above.

I found no material performance defect. One marketplace has a 256-entry limit, so the page cannot create thousands of cards from one author key.

Verification

  • The focused Turbo run passed 54 tests in five files.
  • The Turbo type check for @bb/app passed.
  • The browser passed author-page navigation and related-plugin navigation.
  • The browser reproduced the tag-search defect with the agent-interaction query.
  • GitHub reports both current checks as passed.

The full app test attempt showed unrelated failures during heavy concurrent test work. I stopped that run and used the focused run above.

I posted this as a comment. I did not approve the pull request or request changes.

@SawyerHood
SawyerHood force-pushed the installed-facets branch 3 times, most recently from f0983e6 to 92f08dd Compare September 2, 2026 19:48
@SawyerHood
SawyerHood force-pushed the author-pages branch 2 times, most recently from 1503043 to 1f2bf32 Compare September 2, 2026 20:11
@SawyerHood
SawyerHood changed the base branch from installed-facets to main September 2, 2026 20:12
@SawyerHood
SawyerHood force-pushed the author-pages branch 4 times, most recently from b3f10d1 to 1347fbd Compare September 3, 2026 00:02
@SawyerHood
SawyerHood merged commit 52a9256 into main Sep 3, 2026
15 checks passed
@SawyerHood
SawyerHood deleted the author-pages branch September 3, 2026 00:13
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