Skip to content

Plugin page header and settings pages jump while data and plugins load; Updates says "No machines available" while loading #8537

Backlog

Description

@smsunarto

Summary

On a slow connection, several bb pages jump while their data and plugins load. The plugin page header is inserted above the content after the plugin registers. On Machines, Updates, Projects, AI services, Appearance and Files, rows and later sections move as each request resolves. Updates also says "No machines available." while its machine list is still loading. The page should hold its layout until each part has what it needs, and never show an empty state that isn't true.

Versions and environment

  • bb from source at main 4d7a9af (also measured at e0c49e2). Source dev instance (pnpm start:worktree), Linux, Node 22.19.0.
  • Chrome over CDP, with Slow 4G emulation (562.5 ms latency, 180 kB/s down), the HTTP cache disabled and 4× CPU throttling. Viewports: 390×844 touch and 1440×900.

Steps to reproduce

  1. Start a source dev instance with at least one machine and three projects.
  2. In Chrome DevTools, set Network to Slow 4G, disable the cache and set CPU to 4× slowdown.
  3. Open each page, then reload it: /plugins/plugin-api-docs/plugin-api, /settings/machines, /settings/updates, /settings/projects, /settings/ai-services, /settings/appearance, /settings/files.
  4. Watch the content below the first section, or record CLS with a PerformanceObserver on layout-shift.

Expected vs actual

Expected: content appears below what is already final, and the page doesn't move.

Actual (CLS is the largest session window; the "core" figures exclude sidebar and theme-plugin shifts):

page 390 1440 what moves
Plugin page (plugin-api-docs) pane shift 0.1457 pane shift 0.0872 the header is inserted 48 px above the content once the plugin's nav panel registers
Machines 0.0088 core 0.0011 the "Loading…" line becomes the machine list, and "How devices reach this server" moves
Updates 0.0102 0.0015 Provider CLIs goes from "No machines available." to "Checking for updates…" to machine rows, and the sections below move 4–49 px
Projects 0.0247 0.0007 rows wait for hosts behind "Loading…", then each thread count moves when "1 machine" lands
AI services 0.0124 0.0004 each row's description gains a wrapped status line, moving Voice input 19 px
Appearance (returning visit) 0.0092 0.0059 plugin footer rows register late and reorder
Files (returning visit) 0.0125 0.0012 the .pdf files row moves 84 px twice as opener plugins register rows above it

Evidence (code at main 4d7a9af)

Measured with a CDP harness: a buffered PerformanceObserver, screencast frames, and each page visited once 20 s before the measured load.

What I ruled out

  • Command palette rows: every move has hadRecentInput=true and lands 46–83 ms after a keystroke; those are filter results, not load shifts.
  • Not a duplicate of Thread context card moves the transcript 132 px when its first row's data arrives #8531: that issue is the thread context card.
  • Two shifts owned elsewhere, excluded from the figures above:
    • The 390 closed-drawer sidebar rail collapse (0.0577) and the plugin-added sidebar links.
    • A theme plugin's font swap on Machines 1440 (0.0579).

AGENT GENERATED

Activity

  1. added theissue type on Dec 2, 2026
  2. added
    ui
    plugins
    partial-repro
    on Dec 2, 2026
  3. bb-slop-cop commented on Dec 2, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    Classification: Bug · Medium priority · Medium effort · ui, plugins

    Reproduction report — Partially reproduced, with high root-cause confidence for the verified cases. The Updates regression failed in two clean checkouts: Provider CLIs treats the pending host list as empty. Both runs also verified the Machines section shift and late Plugin Guide header. Applied partial-repro.

    No duplicate PR opened: #8538 already links to this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    partial-repropluginsui

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions