Skip to content

feat(gui): add optional periodic auto-sync with notifications - #53

Open
jorge-huxley wants to merge 2 commits into
masterfrom
feat/auto-sync-background
Open

feat(gui): add optional periodic auto-sync with notifications#53
jorge-huxley wants to merge 2 commits into
masterfrom
feat/auto-sync-background

Conversation

@jorge-huxley

Copy link
Copy Markdown
Owner

Summary

  • Add optional Settings-driven auto-sync that polls enabled sources on a chosen interval and notifies when rides upload
  • Share activity sync via sync_runner with an overlap lock so manual Sync and auto-sync cannot run concurrently
  • On Android, keep the process alive with a foreground service while auto-sync is enabled; desktop only runs while the app is open
  • Improve settings form layout so helper text wraps and fields stretch to full width

Test plan

  • Enable Auto-sync in Settings, pick an interval, confirm it runs without overlapping a manual Sync
  • Verify OS notification appears when new rides upload
  • Android: confirm sticky FGS notification while enabled; force-stop ends sync
  • Desktop: confirm auto-sync stops when the app is closed
  • uv run pytest
  • Spot-check Settings helpers wrap cleanly on a narrow window

jorge-huxley and others added 2 commits July 23, 2026 10:50
Poll enabled sources on an interval and notify when rides upload; on Android
keep the process alive with a foreground service while auto-sync is enabled.

Co-authored-by: Cursor <cursoragent@cursor.com>
Give TextField helpers room to wrap, stretch inputs to full width, and use a
TextField+menu for auto-sync interval so its long helper can wrap like others.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 30, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

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