Repository navigation
Conversation
…achine row while they load
…helper access, daemon and editors load
…rite each snapshot once
…heir machine summary
…vices, projects, updates and plugin headers load
… project count anchoring and tabular digits
…ary input is slow
… the initial check settles
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Human comments
What was wrong
Closes #8537. On a slow connection, the plugin page header and several settings pages jumped while their data and plugins loaded. Each part rendered whatever height it had at the moment and grew once its data arrived:
What changed
PluginPanelPendingHeaderCenteruntil the plugin settles (SplitThreadArea,PluginPanelHeader).title).StaticPlaceholder(shared-uiSkeletonwithanimate-none), so nothing pulses.lib/top-down-reveal.ts).ORDERED_REVEAL_BOUND_MS(3 s), counted from when the waiting section appears.includeCreating=true). Known rows stay, with an inline alert, if a background refresh fails.lib/remembered-plugin-entries.ts).createLastKnownPreferenceStore.tabular-nums. The thread count comes first on its line, so the machine summary can't move it.No server/daemon wire changes. No CLI, SDK or plugin API changes.
How you verified
CLS is the largest session window. Harness: Chrome over CDP, Slow 4G (562.5 ms, 180 kB/s), cache disabled, 4× CPU. Each page was visited once 20 s before the measured load. Main is e0c49e2.
Machines, Updates and Projects were measured at 6bfb306. AI services, Appearance and Files were measured at 3563759; the later commits leave those pages' rendering alone, apart from when the remembered snapshot is dropped. The plugin page was measured at round 1's head. The remaining 0.0004 at 390 is a theme plugin's search field. Machines 1440's 0.0579 is that plugin's UI-font swap, which is the same on main.
Checks at 6bfb306:
pnpm exec turbo run typecheck test lint lint:type-aware --filter=@bb/app --filter=@bb/render-invariants: 14/14 tasks.pnpm exec turbo run build:profiling --filter=@bb/app: 32/32.tests/render-invariants/src/settings-geometry.test.ts: real server and profiling build in Playwright, with responses held and released at 390 and 1440. It covers:Known residual: plugin-added settings rows on the very first visit in a fresh browser. Those rows exist only after each plugin's app code runs, and nothing static (inventory, manifest, bootstrap) names them. Measured cold: Files 390 0.0251, Files 1440 0.0025, Appearance about 0.0095. A later visit holds.
Closes #8537