Merge branch 'worktree-improve-first-connection'
This commit is contained in:
@@ -35,6 +35,12 @@ CREATE TABLE profile (
|
||||
name TEXT NOT NULL DEFAULT 'Default',
|
||||
garmin_email TEXT NOT NULL DEFAULT '',
|
||||
garmin_password TEXT NOT NULL DEFAULT '',
|
||||
-- Set once, the first time this user successfully authenticates with
|
||||
-- Garmin (handleAuthLogin/handleAuthMFA). Null means never connected --
|
||||
-- the login gate uses this (not the in-memory auth status, which
|
||||
-- resets on restart) to decide whether a returning user must
|
||||
-- reconnect before entering the app.
|
||||
garmin_connected_at TEXT,
|
||||
rolling_window_days INTEGER NOT NULL DEFAULT 90,
|
||||
-- BackfillHorizonDays bounds how far back "Sync now" reaches when
|
||||
-- walking backward from today; read fresh on every sync (not cached at
|
||||
|
||||
@@ -8,7 +8,6 @@ for that history) and remove it from here once a spec exists.
|
||||
|
||||
## Backlog
|
||||
|
||||
- improve first connection page: in CreateProfile.tsx, in addition to the display name, we should directly ask garmin login/password and manage MFA from there, so the synchronization experience in profile page will be easier later on
|
||||
- dedicated workouts section: add workouts table in database and create a dedicated page in UI (use an "objective" icon)
|
||||
- improve activities/workouts download: make it modal, add progress bar, error management
|
||||
- better UX when backend is not available (instead of "TypeError failed to fetch")
|
||||
|
||||
Reference in New Issue
Block a user