Skip to content

Refactor OverrideActivationModal to simplify duration handling - #740

Open
codebymini wants to merge 2 commits into
devfrom
override-enabled
Open

Refactor OverrideActivationModal to simplify duration handling#740
codebymini wants to merge 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

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

2 participants