Skip to content

fix: turn on Sound's details popup in setup, the starter and earlier bars - #912

Merged
Seb-GRAF merged 2 commits into
mainfrom
fix/sound-details-default
Nov 24, 2026
Merged

Seb-GRAF merged 2 commits into
mainfrom
fix/sound-details-default

Conversation

@Seb-GRAF

Copy link
Copy Markdown
Collaborator

Problem

Sound added from Get Widgets has its details popup on, but the Sound widget that setup's presets, both starters and earlier releases write has it off, so its click does nothing. Fixes #911.

Changes

  • Setup: WidgetSet.sound gets "details": true, as .battery has. This covers every preset with Sound and the starter below the menu bar, which is built from it.
  • Starter: Resources/config.json and its copy, SetupPreferences.bundledMenuBarStarter, get it too.
  • Earlier files: migrateEarlierSoundDetails runs at launch, for the main file and each screen's own bar. In a file saved before 0.19.0, it turns on details for each audio widget that doesn't set details, onClick, open, menu, popup or popupName. Those are the keys that take precedence over the details popup (WidgetView.swift). It uses the release pinned before the launch's migrations and the 0.19.0 cutoff, like fix: drop the earlier starter's bar sizes so each theme draws with its own #909. Turning the toggle off writes "details": false, so a beta user who turned it off keeps it off.
  • Why the migration also fixes what feat: control each app's sound, the input device and music from the Sound widget #877 left out: setup recognises earlier starters by comparing their widgets exactly, which is why feat: control each app's sound, the input device and music from the Sound widget #877 kept Sound out of setup. Migrating at launch gives earlier starters the same Sound before setup opens, so the top-edge and below-menu-bar starters still match.
  • Docs: the Essentials section of widgets.md says earlier Sound widgets turn theirs on, and getting-started.md says what setup's Sound shows in its popup.

Testing

  • swift build --build-tests, then the setup, starter, preset, scene, schema, release and configuration-edit tests: 252 ran. The only failures are the five unchangedAppRejects… release cases, which fail the same way on plain main on this Mac.
  • New soundWidgetsSavedBefore019TurnOnTheirDetails: a file pinned to 0.19.0 is left as it is. One saved by a beta turns on a plain Sound widget's details and keeps "details": false, a Sound widget with onClick and a Battery widget as they are.
  • everyReleasedStarterConfigurationStillLoads now runs the migration on every released starter.
  • --validate on the starter without its theme (a debug build has no bundled themes): valid, 5 widgets.
  • scripts/check.sh --quick passes. Merges cleanly with fix: drop the earlier starter's bar sizes so each theme draws with its own #909.
  • No screenshots: the bar draws the same, and the popup a click opens is the one scenes/sound-details-popup.json already draws. I didn't launch the app.

Merging

One commit, so any merge method works.

Claude Opus 5.5 via Claude Code

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 8 files

Reply with feedback, questions, or to request a fix.

Fix all with cubic | Re-trigger cubic

Comment thread docs/getting-started.md Resolved
Comment thread docs/widgets.md Resolved
@Seb-GRAF
Seb-GRAF added this pull request to the merge queue Nov 24, 2026
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Before and after

main at 2b04055 → this pull request at 4263bec · 0 screens drawn · 0 changed

Couldn't draw:

  • app: The screens-app artifact can't be used: manifest.json lists more than 300 screens.

Visual review: Drawing the screens failed, see above.

Merged via the queue into main with commit 9987ddc Nov 24, 2026
22 of 23 checks passed
@Seb-GRAF
Seb-GRAF deleted the fix/sound-details-default branch November 24, 2026 08:47
@stablebar-releases

Copy link
Copy Markdown

🎉 This PR is included in version 0.19.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sound's details popup is off on the bars setup and the starter write, and after updating

1 participant