Make preview config widgets default-aware and show override state explicitly#3069
Draft
Make preview config widgets default-aware and show override state explicitly#3069
Conversation
Co-authored-by: sawka <2722291+sawka@users.noreply.github.com>
Deploying waveterm with
|
| Latest commit: |
2b4022e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://46f84153.waveterm.pages.dev |
| Branch Preview URL: | https://copilot-add-config-widgets-p.waveterm.pages.dev |
Copilot
AI
changed the title
[WIP] Add config widgets for modifying config values
Add preview-only config UI widget library and sample editor
Mar 15, 2026
Co-authored-by: sawka <2722291+sawka@users.noreply.github.com>
Copilot
AI
changed the title
Add preview-only config UI widget library and sample editor
Make preview config widgets default-aware and show override state explicitly
Mar 15, 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.
The preview-only config editor treated “unset” as a missing value, but Wave’s config system uses unset to mean “inherit the shipped default.” This updates the preview widgets so default vs explicit override is visible and selectable, including cases where an override matches the default value.
Default is now a first-class field state
Default (...),True/False(orOn/Off) instead of only a binary toggle.Use Defaultwhen overridden.Override vs inherited state is visible
Using defaultvsOverridden.Preview updated to demonstrate real config semantics
defaultconfig.window:magnifiedblocksize: 0.95)settings.jsoncontents)Support code
isConfigValueOverriddengetEffectiveConfigValue💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.