Skip to content

feat: allow hiding stop button when started from shortcut - #539

Closed
Cybertron1 wants to merge 2 commits into
awaseem:mainfrom
Cybertron1:feat/allow-hiding-stop-button
Closed

Cybertron1 wants to merge 2 commits into
awaseem:mainfrom
Cybertron1:feat/allow-hiding-stop-button

Conversation

@Cybertron1

@Cybertron1 Cybertron1 commented Sep 20, 2026 •

Copy link
Copy Markdown

Summary

Adds an optional Hide Stop Button parameter to the "Start Foqos Profile" Shortcuts action.
When it's turned on, the session started from the shortcut has no stop button, so you can't end it early from the app.

Changes

  • StartProfileIntent: new hideStopButton parameter (defaults to false), shown in the action's parameter summary.
  • StrategyManager.startSessionFromBackground: takes hideStopButton and saves it to StrategyTimerData instead of always saving false.

Notes

  • The flag only works together with Duration minutes. Without a duration, the session uses the manual strategy and ignores the flag.
  • Existing shortcuts behave the same as before because the default is false.

Testing

  • Shortcut with a duration and Hide Stop Button on → session starts and has no stop button.
  • Shortcut with a duration and Hide Stop Button off → stop button shows as before.
  • Shortcut without a duration → manual session starts and the stop button shows.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Mika Ruch and others added 2 commits October 7, 2026 09:36
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