Repository navigation
fix: take removed widgets off the bar while editing it - #106
Merged
Merged
Conversation
- Removing a widget from a package or an include turns it off, since the main file can't delete it. Edit mode still showed turned-off widgets as placeholders with their own − badge, so the widget stayed on the bar and − only turned it off again. - Edit mode now shows only widgets that are on. Widgets hidden by their output or screen choice still appear as placeholders, and Customize → Widgets turns a removed widget on again. - Move Left and Move Right on the bar step over the turned-off widgets it no longer shows.
- Built-in, Graphite, Paper, Slate and Minimal leave the strip transparent, so edit mode drew its trays, outlines, + and names straight on the wallpaper. In Light over a dark wallpaper, or in Dark over a light one, only the − badges showed. - A tray on a see-through strip now brings an opaque backing whose shade suits the widgets' text. - On a painted strip, trays keep their tint, and their outlines, + and names follow the strip's shade, so colors that ignore the appearance stay readable too.
M4n0x
force-pushed
the
fix/edit-bar-widget-removal
branch
from
October 19, 2026 17:50
39bb842 to
f02002e
Compare
stablebar-releases Bot
pushed a commit
that referenced
this pull request
Oct 21, 2026
## [0.5.0](v0.4.0...v0.5.0) (2026-10-21) ### Features * add a calendar provider for the next meeting and today's agenda ([451c30a](451c30a)) * add a states map to every style ([a4ae6f2](a4ae6f2)) * add an equalizer block that bounces while its source is on ([#141](#141)) ([8e855ee](8e855ee)) * add an open state for the widget whose popup shows ([8eb69f4](8eb69f4)) * add Menu Bar, Island, Minimal and Terminal themes that restyle the whole bar ([570ab73](570ab73)) * add rules that set data states from provider values and fields ([7c9c70e](7c9c70e)) * add Tonhalle Line theme and presentation examples ([74449e5](74449e5)) * add widget packages that run no commands ([63efa16](63efa16)) * animate changed text and symbols with transitions ([9379e1a](9379e1a)) * animate the active app widget to fit the app's name ([0a00e3f](0a00e3f)) * ask before enabling an update that adds commands, hosts or permissions ([b623d76](b623d76)) * browse and install packages from the store ([b739dfc](b739dfc)) * check for and install updates in the app, on a stable or beta track ([f852a25](f852a25)) * customize StableBar without editing the configuration file ([#103](#103)) ([915e46b](915e46b)) * draw widgets, popups and the bar with Liquid Glass ([7f2310f](7f2310f)) * edit every property the bundled themes set in Customize ([d1fe47c](d1fe47c)) * fade or roll widgets in and out when their output hides them ([664d856](664d856)) * give clock layouts the time and show every widget's text in Diagnostics ([8dde579](8dde579)) * give colors light and dark values and ship the built-in look and three themes ([5d7c90c](5d7c90c)) * give each screen setup its own bar ([d71a203](d71a203)) * keep notification banners clear of the bar ([56872dc](56872dc)) * keep one Customize item in the bar's menus and move their other actions to General ([2484317](2484317)) * keep package secrets in the Keychain ([bc29768](bc29768)) * keep windows clear of the bar with Accessibility ([d18f156](d18f156)) * let script and provider output set a data state ([0581fa0](0581fa0)) * list the permissions that enabled data sources need in setup ([8e21d1d](8e21d1d)) * merge profiles by name across configuration layers ([7f0f2ed](7f0f2ed)) * offer presets in setup instead of choosing widget sets ([6473009](6473009)) * offer sets of built-in widgets in setup ([be2d9fc](be2d9fc)) * open popups on hover and add themed tooltips ([0ba0814](0ba0814)) * open URLs and apps from widgets without a shell ([8338ff9](8338ff9)) * organize Customize around the bar's look and show where each style comes from ([be1ca77](be1ca77)) * pick a theme from installed theme packages ([b600218](b600218)) * preview widget sets live on cards and place them beside the app and clock ([fc1a3ff](fc1a3ff)) * register data source types in one table and show each widget's source in Diagnostics ([45b9f3a](45b9f3a)) * remove a saved package secret from the Packages tab ([ac51e7c](ac51e7c)) * replace bundled themes with the community collection ([04b0077](04b0077)) * send power source changes to subscribed scripts ([054d9ae](054d9ae)) * set the bar's background in Customize ([bff824e](bff824e)) * share theme presentation across widgets and bar layout ([7db7ffe](7db7ffe)) * ship a sketchybar-app-font glyph set and match app name prefixes ([b23a4b0](b23a4b0)) * show and focus individual workspace windows ([85dc0a8](85dc0a8)) * show skipped releases in a compact update popup ([5319a29](5319a29)) * show temporary output for a set time ([38eb9f9](38eb9f9)) * show the app version in an About tab ([a0d94fc](a0d94fc)) * show the frontmost app's menus in an app menu widget ([45400f8](45400f8)) * show what a package needs in its review ([1740483](1740483)) * simplify configuration and onboarding ([03d527b](03d527b)) * uninstall installed package versions ([67e641f](67e641f)) * uninstall installed package versions ([#44](#44)) ([6c49753](6c49753)) * update audio widgets and scripts as soon as the volume or output device changes ([05a0e62](05a0e62)) * update battery widgets when macOS reports a power change ([1245d3b](1245d3b)) ### Bug Fixes * accept uppercase URL schemes and say widgets packages contain no commands ([90e95a5](90e95a5)) * align workspace height and expose vertical padding ([#60](#60)) ([88198ca](88198ca)) * allow calendar access in Developer ID releases ([1104e93](1104e93)) * allow negative workspace underline offsets ([a172616](a172616)) * allow package secrets only in the environments of a package's own widgets and providers ([6f7e5b9](6f7e5b9)) * check for the latest release before downloading ([2acbd83](2acbd83)) * check for updates every four minutes ([1362d62](1362d62)) * draw Blueprint's workspace underline on the widget's bottom border ([948b7dc](948b7dc)) * give Blueprint's widgets room in a full-height frame ([077bd53](077bd53)) * give icon-only widgets the height of a line of text ([9a8e8ac](9a8e8ac)) * identify local app builds as development ([83a0b4b](83a0b4b)) * ignore unchanged settings selections ([7ca7324](7ca7324)) * keep a clicked popup open when glass draws behind its widget ([2569727](2569727)) * keep colors that setup and the starter configuration wrote from hiding a theme ([c6de0a8](c6de0a8)) * keep native workspace icons steady on hover ([8b2b543](8b2b543)) * keep new beta releases in order on GitHub ([ae454b6](ae454b6)) * keep notification clearance from freezing the bar ([546c908](546c908)) * keep popup content at full size while opening ([470b7da](470b7da)) * keep the bar running when a package's widget and its popup are removed together ([a46a180](a46a180)) * keep the store's errors and unknown kinds from blocking local packages ([9424aaa](9424aaa)) * keep zoomed windows below the bar ([eb15873](eb15873)) * list commands that packages read from fields in their review ([9a50ddf](9a50ddf)) * make the whole popup block clickable ([d84a9b2](d84a9b2)) * make the whole widget tile clickable ([3f0f3ac](3f0f3ac)) * make the whole widget tile clickable ([#46](#46)) ([2f36fd6](2f36fd6)) * match update icons to the active theme ([e38f7ff](e38f7ff)) * move neighboring widgets when app menus expand ([6263d6f](6263d6f)) * preserve older themes as custom after updates ([a70201e](a70201e)) * recover app menus after temporary read failures ([1a19cea](1a19cea)) * reject contradictory width limits inside states ([026afd4](026afd4)) * render workspace icons at each display resolution ([12c477c](12c477c)) * save only edited package secrets and never lose the saved one ([6a4ff00](6a4ff00)) * show a store package's source and mark installed store entries ([39f00a6](39f00a6)) * show the review of the package selected last ([6d5703c](6d5703c)) * show updates sooner and resize the update popup ([618f575](618f575)) * take removed widgets off the bar while editing it ([#106](#106)) ([594aa34](594aa34)) * tell Settings and in-place bar editing apart in the menus ([39e8156](39e8156)), closes [#131](#131) * treat an empty data state name as no state ([557d267](557d267)) * use widget hover colors for app menus ([f3b0e7d](f3b0e7d)) ### Performance Improvements * apply only changed script output so repeated updates redraw nothing ([f7e0d0c](f7e0d0c)) * build layout blocks without type erasure and keep the measuring copy still ([e39ac94](e39ac94)) * resolve widget styles in the store so one update redraws only its widgets ([86f8935](86f8935))
|
🎉 This PR is included in version 0.5.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
Problem
In edit mode, removing a widget that comes from a Store package or an included file left it on the bar, and its − badge could never remove it.
Changes
widgetOverrides.<id>.enabled: false, as before. Edit mode showed turned-off widgets as crossed-out placeholders with their own − badge, so the widget stayed, and − only turned it off again.WidgetPlacement.move(_:by:widgets:listed:)picks neighbours among the listed widgets and leaves the others in place; Customize's list still counts them..disabledvisibility reason is gone, since nothing reports it now.Testing
swift teston this branch: 242 XCTest and 311 Swift Testing tests pass.testRemovingAPackageWidgetTurnsItOffTakesItOffTheEditBarAndAddingItBackRestoresItreplaces the test that expected the removed widget to stay. − turns a package widget off and takes it off the edit bar on every display, the package's files stay untouched, Undo brings it back, and adding the package again turns it on where it's added.testMoveLeftAndRightStepOverTurnedOffWidgetsThatTheEditBarLeavesOutcovers edit mode and Customize's list.mainand of this branch.Merging
A merge commit or a rebase merge, so the commit reaches the changelog. #107 builds on this branch; merge this one first.
Claude Opus 5.5 via Claude Code