aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/sbbuilder/SbbVmModule.qml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-21 10:39:57 +0200
committerDanilo M. <danix@danix.xyz>2026-10-21 10:39:57 +0200
commit10ba628793bac9aa26b3ca5a9484b09d1b46e8b6 (patch)
tree0642fc66956f3e87c3e3a35a819a0be63bc2e250 /desktop/modules/sbbuilder/SbbVmModule.qml
parente3cbb769f63813a2a2e90aa9607dcc7359a18903 (diff)
downloadquickshell-10ba628793bac9aa26b3ca5a9484b09d1b46e8b6.tar.gz
quickshell-10ba628793bac9aa26b3ca5a9484b09d1b46e8b6.zip
sbbuilder: list the default manifests, and keep them on the first edit
The helper replaces its default [manifests] table with the file's, so adding one manifest to a file without the table dropped neovim's, and the page showed no rows for the default that was in effect. With no table in the file the page now lists the helper's defaults, and the first add, remove or URL edit writes them all before its own change. Toml.js gains sections(), to tell a missing table from an empty one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules/sbbuilder/SbbVmModule.qml')
-rw-r--r--desktop/modules/sbbuilder/SbbVmModule.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/modules/sbbuilder/SbbVmModule.qml b/desktop/modules/sbbuilder/SbbVmModule.qml
index 45c7216..97e7983 100644
--- a/desktop/modules/sbbuilder/SbbVmModule.qml
+++ b/desktop/modules/sbbuilder/SbbVmModule.qml
@@ -114,6 +114,7 @@ Module {
width: col.width
wrapMode: Text.Wrap
text: "A package's upstream deps list; {VERSION} is the new version. A hint update moves the package's extra downloads to the versions listed there."
+ + (col.st.manifestsDefault ? " These are the helper's defaults, not in the file: the first change writes them all, then adds or removes its own." : "")
color: Theme.subtext
font { family: Theme.fontFamily; pixelSize: Theme.fontSize - 4 }
}