Skip to content

feat: add inline duration controls to Amphetamine - #19

Merged
Seb-GRAF merged 1 commit into
mainfrom
fix/amphetamine-controls
Oct 22, 2026
Merged

Seb-GRAF merged 1 commit into
mainfrom
fix/amphetamine-controls

Conversation

@Seb-GRAF

Copy link
Copy Markdown
Collaborator

Changes

Update Amphetamine to 1.1.0 with click-to-toggle sessions, an inline duration slider, and settings for the default duration, display sleep, bar text and click behavior. The popup has animated hover rows and still provides indefinite and end-session controls.

Pass an explicit display-sleep option when starting a session to fix AppleEvent error -10000. Indefinite sessions use both duration 0 and interval 0. The slider remembers its selected duration; changing the package default resets that selection.

Requires StableBar 0.6.0-beta.20261022084539.263, published with the inline controls from stablebox/StableBar#189. Package CI now validates against the freshly built command-line binary: the development app bundle retains the last stable version and would reject beta-only packages before checking their configuration. Released apps continue enforcing the manifest requirement.

Validation

  • ShellCheck and whitespace checks passed.
  • All store packages passed the updated source-validation path locally.
  • Downloaded the published beta, verified its signature, and successfully inspected, installed and validated Amphetamine using a scratch configuration. These CLI checks do not run package scripts or open a bar.
  • Offline checks passed for session output, click modes, duration persistence and resetting the saved selection when the default changes, with AppleScript fully mocked.
  • Earlier live checks covered timed and indefinite sessions, display-sleep settings, toggle and duration changes. Further live testing was stopped after the user reported sleep interruptions; final hover motion has offscreen regression coverage in the app PR, not a final live recording.

Squash merge.

gpt-6-astra via Codex in T3 Code.

@Seb-GRAF
Seb-GRAF merged commit 2abab79 into main Oct 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant