feat(vscode): remove dead layout setting from Display settings - #11312
Merged
Conversation
The layout (auto | stretch toggle) in the Display settings tab was dead code: the backend schema marks it @deprecated with the note 'Always uses stretch layout', and the engine ignores the user choice entirely. Remove the setting from: - DisplayTab.tsx (UI row + LAYOUT_OPTIONS array) - Config type (layout field) - settings-io.ts KNOWN_KEYS allowlist - All 20 language i18n files (80 translation keys total)
markijbema
approved these changes
Jun 16, 2026
Contributor
Author
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (23 files)
Reviewed by deepseek-v4-pro-20260423 · 716,441 tokens Review guidance: REVIEW.md from base branch |
imanolmzd-svg
approved these changes
Jun 16, 2026
imanolmzd-svg
enabled auto-merge (squash)
June 16, 2026 14:15
NJ-2020
pushed a commit
to NJ-2020/kilocode
that referenced
this pull request
Jul 4, 2026
t7tran
pushed a commit
to t7tran/kilocode
that referenced
this pull request
Aug 14, 2026
t7tran
pushed a commit
to t7tran/kilocode
that referenced
this pull request
Aug 14, 2026
…Org#11312) The layout (auto | stretch toggle) in the Display settings tab was dead code: the backend schema marks it @deprecated with the note 'Always uses stretch layout', and the engine ignores the user choice entirely. Remove the setting from: - DisplayTab.tsx (UI row + LAYOUT_OPTIONS array) - Config type (layout field) - settings-io.ts KNOWN_KEYS allowlist - All 20 language i18n files (80 translation keys total) Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
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.
What
Removes the Layout (auto | stretch) toggle from the Display settings tab — it was never functional.
Why
The backend schema marks the field
@deprecatedwith the note "Always uses stretch layout". The engine ignores the user's choice entirely, so the setting gives users a false impression of control while having zero effect.Changes
DisplayTab.tsx— removeLAYOUT_OPTIONSarray and the Layout<SettingsRow>/<Select>blocktypes/messages/config.ts— removelayout?: "auto" | "stretch"from theConfiginterfacesettings-io.ts— remove"layout"from theKNOWN_KEYSallowlist (import/export)settings.display.layout.{title,description,auto,stretch}), 80 keys totalThe
LayoutOptioninterface inDisplayTab.tsxis retained because it is still used byTERMINAL_OPTIONSandCODE_EDIT_OPTIONS.The deprecated
layoutfield in the shared upstream opencode schema (packages/opencode/src/config/config.ts) is intentionally left untouched to minimise fork-merge conflicts.Built for Imanol Maiztegui by Kilo for Slack