Skip to content

Refactor OverrideActivationModal to simplify duration handling - #740

Merged
marionbarker merged 2 commits into
devfrom
override-enabled
Aug 16, 2026
Merged

Refactor OverrideActivationModal to simplify duration handling#740
marionbarker merged 2 commits into
devfrom
override-enabled

Conversation

@codebymini

Copy link
Copy Markdown
Collaborator

This PR removes the timing restriction for remote override activation and allows users to set a custom duration for every override preset, including presets that already have a predefined duration.

What changed
Enabled duration controls for all override presets in the activation modal.
Kept sensible defaults:
Presets with fixed durations default to their preset duration.
Indefinite presets default to “Enable indefinitely”.
Updated activation behavior so the submitted duration always follows user choice:
“Enable indefinitely” ON sends an indefinite override.
“Enable indefinitely” OFF sends the selected slider duration.
Why
Previously, presets with predefined durations could not be adjusted at activation time. This prevented quick context-based adjustments. The new behavior gives users consistent, flexible control without losing preset defaults.

UX impact
More consistent activation flow across all presets.
Faster adjustments for real-world situations.
Backward-friendly behavior through preset-based defaults.

fixes #730

…ke duration settings available for all overrides
@codebymini codebymini linked an issue Aug 14, 2026 that may be closed by this pull request

@bjorkert bjorkert left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@marionbarker marionbarker left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve from code review and test.

  • tested Loop enables Override duration to be change regardless of saved value on Loop phone
  • tested Trio is not modified

@marionbarker
marionbarker merged commit 193029a into dev Aug 16, 2026
1 check passed
@marionbarker
marionbarker deleted the override-enabled branch August 16, 2026 03:30
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.

Edit Loop Remote Override Duration

3 participants