Skip to content

fix(filters): stabilize filters, use reported sample rate, support comma values - #291

Open
o-bagge wants to merge 1 commit into
mainfrom
fix/sensor-chart-filters
Open

fix(filters): stabilize filters, use reported sample rate, support comma values#291
o-bagge wants to merge 1 commit into
mainfrom
fix/sensor-chart-filters

Conversation

@o-bagge

@o-bagge o-bagge commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Fixes #290

Prefer the device-reported sensor frequency when deriving live chart filter bounds, falling back to the selected UI value only when no reported value is available. This keeps cutoff/notch limits aligned with the frequency actually applied on the device and avoids stale local selections.

Also guard IIR filter stages against non-finite output so NaN/Infinity values do not reach the chart, and accept comma decimal input without rewriting the field text while the user is editing.

…mma values

Prefer the device-reported sensor frequency when deriving live chart filter
bounds, falling back to the selected UI value only when no reported value is
available. This keeps cutoff/notch limits aligned with the frequency actually
applied on the device and avoids stale local selections.

Also guard IIR filter stages against non-finite output so NaN/Infinity values do
not reach the chart, and accept comma decimal input without rewriting the field
text while the user is editing.
@github-actions

Copy link
Copy Markdown
Contributor

Visit the preview URL for this PR (updated for commit 1518f4a):

https://open-earable-web--pr291-fix-sensor-chart-fil-pc4ze482.web.app

(expires Tue, 22 Sep 2026 11:50:06 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: c7397c11177c71d8d81172cea9365829823fb41c

@github-actions

Copy link
Copy Markdown
Contributor

PR Build Artifacts

Full workflow run: https://github.com/OpenEarable/app/actions/runs/32844053652

@ilteen ilteen self-assigned this Aug 31, 2026
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.

Filter Issues

2 participants