Repository navigation
Settings window, wider widget, three-column layout, corner radius and Ko-fi toggle - #12
Open
ThomasEnssner wants to merge 6 commits into
Open
ThomasEnssner wants to merge 6 commits into
ThomasEnssner wants to merge 6 commits into
Conversation
Raise the maximum widget width from 880 to 1200 pt and define a set of one-click width presets (520–1200 pt) for the settings UI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018SxtaV8T8JFdPtpDBqmihU
New column mode setting: auto (three columns from 760 pt), two or three. Forcing three columns widens the widget to at least 760 pt so rows don't wrap; the window frame follows the same effective width. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018SxtaV8T8JFdPtpDBqmihU
The Ko-fi badge in the widget title bar can now be switched off. It stays visible by default. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018SxtaV8T8JFdPtpDBqmihU
The widget background radius is configurable (0–32 pt, default 12) and uses continuous (squircle) corners like native macOS desktop widgets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018SxtaV8T8JFdPtpDBqmihU
All preferences move into a native Settings window with General, Appearance, Sections and Menu Bar tabs: width slider and presets, column mode, corner radius, fonts, opacity, sections, menu bar metrics, refresh rate and the Ko-fi toggle. The menu bar menu keeps quick toggles and gains a Settings… item (⌘,). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018SxtaV8T8JFdPtpDBqmihU
The widget's title bar now offers settings, lock and hide. The gear posts a notification that the always-alive menu bar label turns into openSettings(), since the widget's NSWindow sits outside the SwiftUI scene graph. Section visibility is managed in the Settings window instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018SxtaV8T8JFdPtpDBqmihU
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.
Summary
Moves all preferences out of the nested menu bar submenu into a native Settings window and adds a few layout options.
Settings…/ ⌘, in the menu bar menu) with tabs General, Appearance, Sections, Menu Bar. The menu bar menu keeps the quick toggles (lock, show on desktop, launch at login, usage history).NSWindowis outside the SwiftUI scene graph, the gear posts a notification that the always-alive menu bar label turns intoopenSettings().All new settings default to the current behaviour (520 pt, auto columns → still two at default width, 12 pt radius, Ko-fi visible).
The branch is split into six self-contained commits (one per feature); each one builds and passes the test suite on its own.
Test plan
swift buildandmake test– 121 tests pass (6 new inWidgetSettingsTests: width presets, column count/effective width, column mode parsing, corner radius clamp, Ko-fi default)🤖 Generated with Claude Code