Repository navigation
Description
The workflow
Ambient restyles bb's page-header controls and sidebar footer as glass surfaces. I'd like to customize their presentation through bundled, forkable renderers, as with thread-list and sidebar navigation, while retaining bb's actions and behavior.
What happens today
Plugins can contribute header actions and footer items, but cannot replace the complete page-header or sidebar-footer renderer. Ambient therefore targets private DOM and overrides layout. Two reproduced failures show the cost:
- Header styles silently disappeared. Core cleanup 3f28c07f25 removed
data-app-page-header-actionsfromAppPageHeader. Ambient still selected it for the glass fill and right alignment, so both stopped applying. The plugin continued to compile. - Footer icons disappeared despite available space. Ambient made the footer shrink to its visible contents, while bb measured that row to choose how many icons fit. These policies formed a feedback loop. In the isolated app, initial load showed four icons; opening Ambient stretched the row and revealed six. Closing/opening a disclosure should not change capacity when the sidebar width is unchanged.
Verified in the branch web app at bb c201f6490a63b10fd3d72561f89516134444c266, with Ambient from brsbl/bb-plugins@70a9f9d66, using Chrome for Testing 151 on macOS, desktop 1440×900 and mobile 390×844 at 2× density.
What you would expect
Ship the page-header and sidebar-footer presentations as bundled, selectable renderers built on supported SDK contracts. Expose their reusable pieces so a plugin can replace one surface without copying the entire app shell.
- bb owns the semantics: actions, enabled/visible state, permissions, persisted footer order and hidden items, disclosure lifecycle, and native window/safe-area constraints.
- The selected renderer owns presentation: grouping, spacing, glass, and responsive arrangement. Footer overflow is computed once from the renderer's available width; core and plugin should not independently alter the same capacity calculation.
- Preserve existing integrations: existing action registrations and preferences continue working. Disabling a custom renderer restores the bundled one, and an error leaves a recovery path to bb's controls.
- Protect the contract: cover contributed actions, footer overflow, disclosure open/close, and compact/native layouts in integration checks. Internal DOM cleanup should not silently break a supported renderer.
Stable surface roles and styling hooks would be a useful interim step for simple appearance changes.
Context and alternatives
-
Current workaround: Ambient fix 474f79476 follows the current header child structure and gives the footer a fixed available width. The latter removes the sizing loop; the header workaround still depends on private markup.
-
Plugin backdrop contract: let plugins show a background through bb's panes without targeting private DOM #4167 requests a backdrop/surface contract. It addresses translucency across the app, but does not provide replaceable header/footer composition and sizing.
-
Make the thread view a bundled, forkable plugin (like thread-list) #4814 requests a forkable transcript and composer. This request covers page chrome and the sidebar footer.
-
Originating BB thread:
thr_pwxjvhs7zn. -
I searched open and closed issues for the same request.
-
If an agent wrote this, the body ends with
> AGENT GENERATED.
AGENT GENERATED
Activity
bb-slop-cop commentedon Oct 4, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotApplied missing classifications: Type: Feature · Priority: Medium · Effort: High; labels:
ui,plugins. No existing classification values needed preservation.This requests new supported renderer contracts for app chrome, rather than a repair to existing supported behavior. Customization has workarounds, but introducing replaceable surfaces and preserving action, preference, layout, and recovery behavior requires substantial design work.
Reproduction report and fix skipped because the final Type is Feature; no pull request opened.