Repository navigation
Closed
Labels
Description
Problem
When the configuration fails to load, or a widget's script or action fails, StableBar shows a small icon and puts the message where few people find it, in words that assume JSON knowledge.
- A configuration error is an orange triangle in the bar's top-right corner. Its message is only in the tooltip, and clicking opens Settings (BarView.swift:100-107).
- The message comes from
errorMessage(ConfigurationLoader.swift:73-91): the JSON path followed by Swift'sDecodingErrortext, such aswidgets.3.style: The data couldn't be read…. The menu shows the same string as a disabled item (StableBarApp.swift:371-374). - A script or action failure is an 8 pt red dot on the widget with the message only in
.help(error)(BarView.swift:415-419). It is colour only, and VoiceOver gets no label for it. - Some messages point at the wrong thing.
StableBar --validate examples/presentation/config.json, without the example's theme package installed, printsPackage file does not exist: package.json.(WidgetPackage.swift:175) instead of naming the missing theme. - Some copy assumes the reader edits JSON, such as "Package … is a theme. Select it with the theme key instead of packages." (WidgetPackage.swift:182).
Proposal
- Clicking the error shows the file, the cause in plain words and next steps: open the file, or Settings → Status.
- Lead with what happened. Keep the JSON path as detail below it.
- Give the script error indicator a VoiceOver label and a shape or text, not only colour.
- Name the missing theme or package when its
package.jsoncan't be found.
Possible today
Partly. Hovering the triangle or dot shows the raw message, and StableBar --validate PATH prints it in a terminal.
Related
- Copy a bug report with versions, displays and permissions #93 asks to copy a bug report that includes configuration and widget errors. This issue is about showing those errors to the person using the bar.
- Start without the user's configuration after repeated crashes at launch #94 starts without the user's configuration after repeated crashes; it doesn't change how errors read.
Checked on main 4160f7f. The --validate output was reproduced; the bar indicators were read from code, not checked in a running app.
Triaged by Claude Code via T3 Code (Claude Opus 5.5).
Activity