Repository navigation
Ship message editing as a standard feature - #3424
Merged
ymichael merged 2 commits intoSep 10, 2026
Merged
Conversation
ymichael
deleted the
bb/ship-editable-messages-experiment-thr_uufbzs8six
branch
September 10, 2026 17:49
ymichael
added a commit
that referenced
this pull request
Sep 23, 2026
## Human comments ## What was wrong Timeline row windowing (#2011) only ran when the `timelineWindowing` experiment was turned on, and it was off by default. So long timelines and large expanded details still mounted every row. The known outline-jump bug with windowing on was fixed by #4217, which is already on `main` (bb34cef), so nothing else was holding back the rollout. ## What changed - **App:** `ThreadTimelineSurface` no longer reads the experiment from system config. I removed the `timelineWindowingEnabled` prop and context from `ThreadTimelineRows` and the `enabled` prop from `TimelineWindowedItemsLoader`/`TimelineWindowedItems`. Windowing still falls back to fully mounted rows below the per-list thresholds (60/40 top-level, 20 nested) or when there is no usable scroll root. Outline and search navigation targets now always stay mounted. - **Experiment key:** removed `timelineWindowing` from `@bb/domain` experiments, the Settings → Experiments toggle, and the test fixtures. Legacy stored rows are ignored, as before. - **Docs:** `docs/configuration.md`, the bb-guide customization template, and the bb-cli `app-settings.md` reference now describe windowing as standard behavior. The verify-bb settings recipe lists the remaining experiments. - **Plugin SDK:** bumped to `0.5.20`, because the experiment keys are part of its bundled declarations. Same as #2772 and #3424. - No host-daemon wire changes. ## How you verified - I deleted the tests for the experiment-off path. The remaining windowing tests now run without a flag. - `pnpm exec turbo run typecheck lint test --filter=@bb/app --filter=@bb/server --filter=@bb/desktop --filter=@bb/cli --filter=@bb/db --filter=@bb/domain --filter=@bb/plugin-api-map --filter=@bb/templates` passed (25/25 tasks; app 557 files, server 299 files). Lint shows only pre-existing warnings. - `node .github/workflows/check-plugin-sdk-version.mjs` passed. Related: #2011 (added the experiment), #4217 (outline-jump fix under windowing, merged). > AGENT GENERATED 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
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
Message editing was already enabled by default, but the app and server still gated it behind the
editMessagesexperiment. Users who previously disabled the experiment could not edit otherwise eligible messages.What changed
Promote message editing to a standard feature by removing the experiment key, Settings toggle, and app/server gates. Preserve provider rewind support and existing thread/message eligibility checks. Update fixtures, CLI guide templates, settings documentation, and the affected verification recipes. Existing CLI and SDK editing surfaces now work without the experiment. Bump the plugin SDK to
0.4.54because removing the experiment changes its bundled declarations. No host-daemon wire changes.How you verified
node packages/plugin-sdk/scripts/check-npm-version-guard.mjs— passed after the SDK version bump.pnpm exec turbo run test --filter=@bb/server --filter=@bb/db --filter=@bb/app -- experiments thread-edit-message— 51 tests passed. Message-edit service tests now seed a legacy disabled experiment value to verify it no longer blocks editing.pnpm exec turbo run typecheck --filter=@bb/app --filter=@bb/server --filter=@bb/desktop --filter=@bb/cli— passed.Isolated source app: confirmed Settings → Experiments shows only the four remaining toggles, and
/api/v1/system/configexcludeseditMessages. Stopped the test app and removed its marked test data afterward.git diff --check— passed. Live provider rewind was not rerun; service tests cover the editing flow. The broader verification inventory remains blocked by pre-existing drift for the unmappedbrowserCLI family.