Skip to content

Fix invalid nesting in Plugin marketplaces settings - #5107

Merged
ymichael merged 1 commit into
mainfrom
bb/fix-invalid-nesting-on-plugin-marketplaces-page-thr_9s2ub9fg6i
Oct 7, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/fix-invalid-nesting-on-plugin-marketplaces-page-thr_9s2ub9fg6i

Conversation

@ymichael

@ymichael ymichael commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

What was wrong

MarketplacesSettingsSection rendered its Official Badge, a div, inside a
paragraph. Opening Plugin marketplaces logged React invalid-nesting and
hydration errors.

What changed

Replace the marketplace title paragraph with a div, preserving all classes
and children so its flex layout and appearance stay unchanged.

How you verified

  • Captured and reviewed before/after Settings Ladle screenshots at 390x844
    and 1280x900 with temporary official and community marketplace fixtures.
  • Confirmed two React console errors before and zero errors after at both
    widths, with no remaining p/div nesting.
  • Marketplace element rectangles match exactly at both widths; desktop
    screenshots are byte-identical and phone layout is visually unchanged.
  • Restored temporary fixtures; only the title container tags are changed.
  • pnpm exec turbo run typecheck lint --filter=@bb/app passed. Lint reported
    250 existing warnings and zero errors.
  • git diff --check passed.

AGENT GENERATED

@ymichael
ymichael force-pushed the bb/fix-invalid-nesting-on-plugin-marketplaces-page-thr_9s2ub9fg6i branch from bafd051 to dd0a924 Compare October 7, 2026 17:55
## What was wrong

MarketplacesSettingsSection rendered its Official Badge, a div, inside a
paragraph. Opening Plugin marketplaces logged React invalid-nesting and
hydration errors.

## What changed

Replace the marketplace title paragraph with a div, preserving all classes
and children so its flex layout and appearance stay unchanged.

## How you verified

- Captured and reviewed before/after Settings Ladle screenshots at 390x844
  and 1280x900 with temporary official and community marketplace fixtures.
- Confirmed two React console errors before and zero errors after at both
  widths, with no remaining p/div nesting.
- Marketplace element rectangles match exactly at both widths; desktop
  screenshots are byte-identical and phone layout is visually unchanged.
- Restored temporary fixtures; only the title container tags are changed.
- pnpm exec turbo run typecheck lint --filter=@bb/app passed. Lint reported
  250 existing warnings and zero errors.
- git diff --check passed.

> AGENT GENERATED
@ymichael
ymichael force-pushed the bb/fix-invalid-nesting-on-plugin-marketplaces-page-thr_9s2ub9fg6i branch from dd0a924 to 9181a05 Compare October 7, 2026 18:06
@ymichael
ymichael merged commit 37c17ec into main Oct 7, 2026
28 checks passed
@ymichael
ymichael deleted the bb/fix-invalid-nesting-on-plugin-marketplaces-page-thr_9s2ub9fg6i branch October 7, 2026 18:09
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