refactor(config): mandatory app-config rows seeded in DB; rename to session.setup_timeout
All registry keys must exist as rows in the config table: main seeds missing keys with their defaults at startup, LoadApp fails fast on a missing key, and the code-side fallback const/helper for the onboarding setup timeout is gone -- the value rides in SessionConfig.SetupTimeout. The key is renamed session.idle_timeout -> session.setup_timeout, and the /config page's 'overridden' now means 'differs from the default'. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -52,7 +52,7 @@ hatch back to the login screen.
|
||||
nullable-TEXT-pointer pattern as `sync_state.EarliestSyncedDate`).
|
||||
|
||||
New store method (`internal/store/users.go` or a new small file, e.g.
|
||||
`profile.go` wherever `UpdateProfile`/`GetProfile` already live):
|
||||
`profiles.go` wherever `UpdateProfile`/`GetProfile` already live):
|
||||
|
||||
```go
|
||||
// MarkGarminConnected records the first time userID successfully
|
||||
|
||||
Reference in New Issue
Block a user