Skip to content

Conversation

@malwilley
Copy link
Member

@malwilley malwilley commented Nov 11, 2025

There is a config option show sinceFirstSeen, which is used to determine the default stats period, but we don't remove the option from the time range selector. This fixes that.

You can see this issue on replay issues (and the new metric issues)

Before (14d interval, but shows "since first seen")

CleanShot 2025-11-11 at 11 32 16

After

CleanShot 2025-11-11 at 11 32 03

@malwilley malwilley requested review from a team and scttcper November 11, 2025 19:33
@malwilley malwilley requested a review from a team as a code owner November 11, 2025 19:33
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 11, 2025
children:
period === defaultStatsPeriod &&
!defaultStatsPeriod.isMaxRetention
!defaultStatsPeriod.isMaxRetention &&
Copy link
Contributor

Choose a reason for hiding this comment

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

Bug: Dropdown choice incorrectly clears configuration.

The onChange handler clears statsPeriod when relative === defaultStatsPeriod?.statsPeriod without checking shouldShowSinceFirstSeenOption. When this config is false, defaultStatsPeriod.statsPeriod is always "14d", so selecting "14 days" from the dropdown incorrectly clears the URL parameter instead of setting it. The special clearing logic should only apply when shouldShowSinceFirstSeenOption is true.

Fix in Cursor Fix in Web

@malwilley malwilley merged commit 22328e2 into master Nov 11, 2025
49 checks passed
@malwilley malwilley deleted the malwilley/fix/do-not-show-since-first-seen-when-config-is-disabled branch November 11, 2025 22:25
@github-actions github-actions bot locked and limited conversation to collaborators Nov 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants