Skip to content

feat(workbuddy): align account forms and add check-in defaults - #157

Merged
caigee-cmd merged 1 commit into
mainfrom
feat/workbuddy-checkin-defaults
Sep 15, 2026
Merged

caigee-cmd merged 1 commit into
mainfrom
feat/workbuddy-checkin-defaults

Conversation

@caigee-cmd

Copy link
Copy Markdown
Owner

Summary

  • Align create-account and edit-account form fields (labels, NumberField, spacing) so WorkBuddy advanced settings no longer look uneven.
  • Add a system-wide WorkBuddy daily check-in default on the System page; new accounts inherit it, and each WorkBuddy account can override it on edit.
  • Keep the scheduler keyed off each account's own time, with the existing 21:00 retry behavior.

Test plan

  • go test ./internal/accounts ./internal/api -count=1
  • cd frontend && npm run lint && npm run sync
  • Open System settings, change WorkBuddy check-in default, reopen Add Account and confirm the advanced time field seeds from it
  • Create a WorkBuddy account with auto check-in on and a custom time; confirm the account card shows that time
  • Edit the same account and change the check-in time; confirm PATCH persists and the card updates
  • Confirm non-WorkBuddy accounts do not show the check-in time field in edit

Give WorkBuddy a system-wide daily check-in default that new accounts inherit, expose the time on account edit, and align create/edit form controls.
@caigee-cmd
caigee-cmd merged commit b5c899c into main Sep 15, 2026
6 checks passed
@caigee-cmd
caigee-cmd deleted the feat/workbuddy-checkin-defaults branch September 15, 2026 07:24
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