Skip to content

Conversation

@Tasneemmohammed0
Copy link
Member

Why?

Fixes #2433.

Changes

When navigating to a saved query or when isRelativeToNow changes via URL parameters, the TimeFrame radio button selection was not syncing with the URL state, causing a mismatch between the UI and the actual query.

This is now fixed: loading a saved query correctly reflects Now or Specific Time based on isRelativeToNow. If the URL includes duration, isRelativeToNow is set to true and the Now option is selected (this was already the default behavior but was not previously synchronized with the UI).

Important

Currently, only duration is persisted in the URL. When present, Now is always selected; otherwise, from/to are used. This prevents distinguishing all four time options (e.g. Specific from date → Now).

Addressing this properly would require introducing a new URL parameter to represent the selected time mode, which is better handled in a separate PR due to the scope of changes.

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.

Web UI: Test runs page: default query should be 1 day duration from now.

1 participant