Repository navigation
feat(dashboard): support weekly pace working days - #901
Conversation
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep it up! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. 👍 ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. Nice work! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0d7118ae14
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
|
Codex Review: Didn't find any major issues. Swish! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. Delightful! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
## Summary - Add a dashboard setting for weekly pace working days, defaulting to all seven days. - Apply configured working days to backend weekly credits pace schedule math so non-working days do not advance scheduled-by-now or pace-gap calculations. - Expose the setting through the settings API, audit changed-fields, shared settings payloads, and the settings UI. Closes Soju06#702. ## Maintainer Update - Rebased onto current `main`; current head is `6a1ccf7ddaa8fc92a9ef1d99c92cbe50288bdfe3`. - This PR no longer carries PostgreSQL CI narrowing changes; Soju06#899 remains the dedicated CI-only PR. - This PR no longer carries the proxy concurrent-usage-read fix; Soju06#902 now owns that usage/proxy behavior. - This remains separate from Soju06#905 because Soju06#702 weekly pace scheduling and Soju06#433 staggered idle warm-up are independent features, but both add settings migrations. Whichever migration PR merges second should be rebased onto the first merged migration head. ## Validation ```bash uv run openspec validate add-weekly-pace-working-days --strict uv run pytest tests/integration/test_settings_api.py tests/integration/test_settings_audit_changed_fields.py tests/integration/test_dashboard_overview.py -q uv run python - <<'PY' from alembic.script import ScriptDirectory from app.db.migrate import _build_alembic_config cfg = _build_alembic_config('sqlite:///tmp/alembic-head-check.db') script = ScriptDirectory.from_config(cfg) heads = script.get_heads() print('heads', heads) if len(heads) != 1: raise SystemExit(1) PY uv run ruff check app/modules/dashboard app/modules/settings app/db/models.py tests/integration/test_settings_api.py tests/integration/test_settings_audit_changed_fields.py tests/integration/test_dashboard_overview.py uv run ty check app/modules/dashboard app/modules/settings npm test -- src/features/settings/schemas.test.ts src/features/settings/components/routing-settings.test.tsx src/features/settings/components/session-settings.test.tsx src/features/settings/components/totp-settings.test.tsx npm run typecheck npm run lint npm test ```
Summary
Closes #702.
Maintainer Update
main; current head is6a1ccf7ddaa8fc92a9ef1d99c92cbe50288bdfe3.Validation