Hermes 284313f908
Some checks are pending
Bidi Control Character Guard / bidi-control-guard (push) Waiting to run
Circular Dependency Check / Check for new circular dependencies (push) Waiting to run
Citus Migration Smoke / Combined migrations on single-node Citus (push) Waiting to run
E2E Fresh Install Tests / fresh-install-e2e (push) Waiting to run
ext-v2 guardrails / Run ext-v2 guard and ESLint (push) Waiting to run
Integration Tests / Check for relevant changes (push) Waiting to run
Integration Tests / ${{ (github.event_name == 'schedule' || github.event.inputs.suite == 'full') && 'Full integration suite' || 'Tier-1 integration subset' }} (push) Blocked by required conditions
Mobile checks / Mobile lint + typecheck (push) Waiting to run
Mobile checks / Mobile unit tests (push) Waiting to run
Mobile checks / Mobile dependency audit (report) (push) Waiting to run
Mobile checks / Mobile reproducibility checks (push) Waiting to run
Secrets guard (env backups) / Ensure no tracked env backup files (push) Waiting to run
Temporal Readiness / fast-readiness (push) Waiting to run
Temporal Readiness / docker-parity (push) Waiting to run
TypeScript Type Check / Nx affected typecheck (push) Waiting to run
Unit Tests / Skipped-test budget (push) Waiting to run
Unit Tests / Nx affected unit tests (push) Waiting to run
Unit Tests / Server unit coverage (informational) (push) Waiting to run
Validate Tenant Management Schema / Check for relevant changes (push) Waiting to run
Validate Tenant Management Schema / Validate Tenant Management Schema (push) Blocked by required conditions
EE Workflows Build Guard / ee-workflows-build-guard (push) Waiting to run
Initial import of AlgaPSA codebase from PSA server
Excluded: .git, node_modules, secrets/, compose.env, assemblyscript tgz

Source: /opt/alga-psa on psa.joliet.tech
2026-06-22 16:12:17 -05:00

8.4 KiB

Scratchpad — Board-level live ticket timer toggle

  • Plan slug: ticket-board-live-timer-toggle
  • Created: 2026-03-29

What This Is

Keep a lightweight, continuously-updated log of discoveries and decisions made while implementing this plan.

Prefer short bullets. Append new entries as you learn things, and also update earlier notes when a decision changes or an open question is resolved.

Decisions

  • (2026-03-29) Scope is a board-level boolean for live ticket timer enablement, not a user preference or per-ticket toggle. Rationale: simpler MSP admin mental model and lower-risk v1.
  • (2026-03-29) Disabling the board setting hides only the live timer and tracked intervals. Manual time entry remains available.
  • (2026-03-29) Board change behavior should apply immediately after a successful save in the current ticket details view.

Discoveries / Constraints

Commands / Runbooks

  • (2026-03-29) Inspect ticket timer lifecycle: rg -n "useTicketTimeTracking|renderIntervalManagement|autoStart" packages/tickets packages/ui
  • (2026-03-29) Inspect board settings save path: sed -n '500,560p' server/src/components/settings/general/BoardsSettings.tsx
  • (2026-03-29) Validate plan JSON files: node -e "JSON.parse(require('fs').readFileSync('docs/plans/2026-03-29-ticket-board-live-timer-toggle/features.json','utf8')); JSON.parse(require('fs').readFileSync('docs/plans/2026-03-29-ticket-board-live-timer-toggle/tests.json','utf8')); console.log('json ok')"

Open Questions

  • Whether a future v2 should evolve the boolean into richer per-board timer modes.

Implementation Log

Test Coverage Added

Verification Commands

  • (2026-03-29) cd packages/tickets && npx vitest run --config vitest.config.ts src/components/ticket/__tests__/TicketDetails.liveTimerPolicy.contract.test.ts src/components/ticket/__tests__/TicketProperties.liveTimerPolicy.test.tsx
  • (2026-03-29) cd server && npx vitest run src/components/settings/general/BoardsSettings.copyStatuses.test.tsx src/test/integration/boardLiveTicketTimerSetting.integration.test.ts