Skip to content

feat: configurable sensitivity and FPS from web UI - #16

Merged
johnoct merged 1 commit into
mainfrom
feat/web-settings
Feb 6, 2026
Merged

feat: configurable sensitivity and FPS from web UI#16
johnoct merged 1 commit into
mainfrom
feat/web-settings

Conversation

@johnoct

@johnoct johnoct commented Feb 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • Tap the sensitivity pill in the status bar to cycle through Low → Medium → High
  • Tap the FPS pill to cycle through 5 → 10 → 15 → 30
  • Changes apply immediately to the detection loop and MJPEG stream
  • POST /settings endpoint accepts {"sensitivity": "low"|"medium"|"high", "fps": 5|10|15|30}
  • State synced from /status on every poll for multi-tab consistency
  • Invalid values are silently ignored (server keeps current value)

Test plan

  • 178 tests passing (10 new: 4 FrameBuffer + 6 web)
  • Verify sensitivity cycling updates detection threshold in real-time
  • Verify FPS cycling changes stream smoothness immediately
  • Verify settings persist across page refreshes (synced from server)
  • Verify invalid POST values are rejected gracefully

Tap the sensitivity pill to cycle Low → Medium → High, and the FPS pill
to cycle 5 → 10 → 15 → 30. Changes take effect immediately in the
detection loop and stream. State synced via POST /settings endpoint and
reflected in /status for multi-tab consistency.
@johnoct
johnoct merged commit fb97ccf into main Feb 6, 2026
1 check passed
@johnoct
johnoct deleted the feat/web-settings branch February 6, 2026 22:12
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.

1 participant