Skip to content

[codex] Autosave traffic report schedule controls#225

Merged
tyemirov merged 2 commits intomasterfrom
tyemirov/traffic-report-autosave-controls
Apr 24, 2026
Merged

[codex] Autosave traffic report schedule controls#225
tyemirov merged 2 commits intomasterfrom
tyemirov/traffic-report-autosave-controls

Conversation

@tyemirov
Copy link
Copy Markdown
Owner

Summary

  • Move the scheduled report enable switch into the traffic reports title bar and remove the manual save button.
  • Autosave schedule enablement, frequency, send time, weekday, and month day changes from the dashboard.
  • Make recipient and timezone display-only in the UI; recipient is derived from the authenticated user on the API side, and timezone is detected from the browser session.

Validation

  • go test ./internal/api -run 'TestGetTrafficReportScheduleReturnsDefaults|TestSaveTrafficReportSchedulePersistsValues|TestSaveTrafficReportScheduleResetsRetryState|TestSaveTrafficReportScheduleRejectsInvalidValues'
  • npm --prefix tests run typecheck
  • make test-unit
  • make lint
  • targeted Playwright: npm exec -- playwright test -c playwright.ui.config.js specs/dashboard-traffic.spec.js -g "traffic report schedule can be configured from dashboard" against a fresh temporary integration stack

@tyemirov tyemirov self-assigned this Apr 24, 2026
@tyemirov tyemirov marked this pull request as ready for review April 24, 2026 04:32
… outside banner

- Refresh idle timer and hide timeout prompt on broader user events
- Expand activity detection to pointer, touchmove, wheel, input, focus events
- Preserve explicit prompt control events on Yes/No buttons
- Add Playwright test to cover prompt dismissal on active interaction
@tyemirov tyemirov merged commit 2ba0506 into master Apr 24, 2026
1 check passed
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