Repository navigation
improve(ui): remove the Context Profile presets card from Quick Settings - #102748
Merged
Merged
Conversation
steipete
force-pushed
the
claude/ui-prominence-discussion-8f71f7
branch
from
July 9, 2026 11:32
b4ba6ec to
8f3e584
Compare
Contributor
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: improve(ui): remove the Context Profile presets card from Quick Settings This is item 1/1 in the current shard. Shard 0/1. This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 10, 2026
…ngs (openclaw#102748) * fix(control-ui): remove the Context Profile presets card from Quick Settings * fix(control-ui): regenerate i18n raw-copy baseline after Gateway Host card rebase
This was referenced Jul 16, 2026
4 tasks done
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.
Closes #102706
What Problem This Solves
Resolves a problem where the Quick Settings page (Settings → Simple) was dominated by a full-width "Context Profile" card with four illustrated preset tiles (Personal Assistant, Code Agent, Team Bot, Minimal). The card looked like a core persona/mode switcher, but all it tuned was three niche agent defaults (
agents.defaults.bootstrapMaxChars,agents.defaults.bootstrapTotalMaxChars,agents.defaults.contextInjection) — expert-level context tuning that does not deserve the most prominent slot in Settings. The card even needed a disclaimer explaining it does not change "your model, tools, channels, or theme".Why This Change Was Made
Maintainer product decision (#102706): these knobs belong in an advanced surface, which already exists — the persistent Simple/Advanced toggle exposes all three keys through the schema-driven config form (Agents section), and they remain editable in
openclaw.json. This PR deletes the presets card and its machinery (presets.ts,renderPresetsCard,stageConfigPreset) and replaces the card's footer with a slim "Unsaved changes" bar, because that footer was the only Discard/Save/Apply commit UI in Quick Settings: thinking level, fast mode, browser toggle, and tool profile edits stage a config draft and commit through it. Net −649 lines; no config surface change, no compat shims.User Impact
agents.defaults.*values keep working and stay editable in Settings → Advanced (schema form) oropenclaw.json. Configs previously written by a preset are plain config values, so nothing migrates or breaks.Evidence
scripts/control-ui-mock-dev.ts): staging Thinking → High shows the bar; Discard reverts the draft and hides it.ui/src/pages/config+ui/src/lib/config— 5 files, 95 tests passed (new coverage: bar hidden when clean, handlers wired, commit actions disabled until config snapshot ready).node --import tsx scripts/control-ui-i18n.ts checkclean after regenerating the raw-copy baseline (presets strings removed, bar strings added).check:changedlanes (run IDs in comments below if needed).