Files
BrewUI/Tests
Graeme ArthurandClaude Opus 4.8 57877f76ac Add a View-menu toggle to disable console auto-expand
Some users won't want the console opening itself. Add an app-wide preference,
backed by @AppStorage("autoExpandConsole") and defaulting on, exposed as a
checkmarked "Expand Console Panel Automatically" Toggle in the View menu
alongside Show/Hide Console.

ConsoleViewModel gains an `autoExpandEnabled` mirror of the preference that
gates `shouldAutoExpandConsole` (now `autoExpandEnabled && activeJob != nil`),
keeping the decision pure and unit-testable; ConsolePanel syncs the @AppStorage
value into the view model. Covered by new ConsoleViewModel tests.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 20:05:17 +10:00
..