Repository navigation
feat(session-view,settings): gate flattened Code Mode timeline behind New Code Mode timeline experiment - #2012
Merged
Merged
Conversation
… New Code Mode timeline experiment
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
…lattened-experiment scene
…codemode-timeline
…codemode-timeline
Hona
added a commit
that referenced
this pull request
Dec 1, 2026
Hona
added a commit
that referenced
this pull request
Dec 1, 2026
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.
Ports official
anomalyco/opencode#67515(feat(session-ui): gate flattened Code Mode timeline behind New Code Mode timeline experiment, commit2c17863be2).Upstream Hunk Mapping
packages/app/src/runtime/i18n/en.ts,settings/model.tsx,settings/experimental/experimental.tsx,settings/search-catalog.ts->crates/opencode-i18n/locales/official/en.json,features/settings/src/{lib,prefs,pages/experimental,search/mod}.rs(newCodeModeTimelinesetting persisted off by default, Experimental toggle rowsettings-new-code-mode-timeline, and Settings search entry).packages/app/src/session/timeline/{controller,message-timeline}.tsx->crates/session-view/src/{lib,traits}.rs(TimelineHost::flatten_code_mode) andapps/desktop/src/shell/view/session/host.rs.packages/session-ui/src/timeline-next/{codemode,projection,row}.ts(x)->crates/session-view/src/turns/{codemode,mod,view}.rsandcrates/session-view/src/timeline/{span,projection,group_hash,mod}.rs(execute_block = script_diffs && !flatten_code_mode,resolve_execute_partfallback,script_output_for_steps/block_rowgating, memo/projection invalidation).packages/session-ui/src/timeline-next/timeline-next.css:416,475,516(12 px open-group content gap and list item spacing) ->crates/session-view/src/turns/view.rs(GROUP_GAP = 12.0, uniformrow_gaps).packages/session-ui/src/timeline-next/tools/{script,tool-display,context-group,codemode-tools,error-card}.tsx&basic-tool.tsx(canViewExecuteCode, hover-only</>ExecuteCodeActionon flattened rows) ->crates/session-view/src/tools/{details,mod,codemode,error}.rs(can_view_code,source_execute_code_actionwired intotrigger,mcp_tool,codemode_search_tool, anderror::card_with).--scene codemode-flattened-experimentinapps/desktop/src/stories/timeline/tool_group.rs.Verification
scripts/guardrails.ps1: 11/11 passed.--scene codemode-flattened-experiment,--scene codemode-full, and Settings > Experimental (settings-new-code-mode-timeline).