seubert-claims/ondeck
lorentz 6dd7e3e836 fix(tasks): timezone consistency, task provenance, setup N/A, and task-generation fixes
Timezone (all users EST):
- lib/utils: hardcode APP_TIME_ZONE (America/New_York) in formatDate/
  formatRenewalDate, add formatDateTime and todayInAppTimeZone helpers
- Replace every ad-hoc toLocaleDateString/toLocaleString call across the app
  (task notes, audit log, backups, shape import, renewal groups, client
  detail) with the shared EST-aware helpers
- Fix UTC "today" bug in date-input defaults/min/max (completion date,
  reminder date) that rolled to the next calendar day after ~7-8pm ET

Task provenance:
- Task card info icon (now visible to all users, not just privileged) shows
  full origin: template, level, renewal anchor, due-date math, and who/what
  generated the task
- Include template.daysOffset and creator in task queries

Setup N/A:
- New setupNaAt/setupNaReason fields on Client; mark/restore UI and API to
  exclude non-Shape/lost-business clients from the setup queue everywhere
  it's counted (queue page, API, manager dashboard, metrics gauge)

Task generation fixes:
- auto-generate: client-level branch now gated on the renewal anchor's
  (group/policy) createdAt instead of the client's, so pre-go-live clients
  with new post-go-live groups are no longer skipped forever
- New auto-assign-tasks sweep run after every sync to assign advocates to
  tasks created by paths that don't assign directly (e.g. setup wizard)
2026-07-16 22:32:04 +00:00
..
.claude Initial commit: OnDeck project 2026-02-18 13:20:52 +00:00
docs feat(automation): move task auto-generate to post-sync + admin config UI 2026-07-07 18:26:12 +00:00
prisma fix(tasks): timezone consistency, task provenance, setup N/A, and task-generation fixes 2026-07-16 22:32:04 +00:00
public Signin: use black logo with CSS invert for white rendering on green panel 2026-04-13 02:52:33 +00:00
scripts feat(imageright): Task Audit feature for SHAPE clients 2026-07-08 10:39:12 +00:00
src fix(tasks): timezone consistency, task provenance, setup N/A, and task-generation fixes 2026-07-16 22:32:04 +00:00
.gitignore fix: Prisma where clause conflict causing old non-terminal tasks to bypass dueDate cutoff 2026-04-08 18:38:07 +00:00
ARCHITECTURE.md Fix: open overdue tasks no longer hidden by 7-day age cutoff 2026-05-19 03:24:14 +00:00
components.json Initial commit: OnDeck project 2026-02-18 13:20:52 +00:00
docker-compose.yml Remove obsolete docker-compose version attribute 2026-04-13 01:28:40 +00:00
Dockerfile Initial commit: OnDeck project 2026-02-18 13:20:52 +00:00
eslint.config.mjs Initial commit: OnDeck project 2026-02-18 13:20:52 +00:00
jest.config.js Initial commit: OnDeck project 2026-02-18 13:20:52 +00:00
jest.setup.js Initial commit: OnDeck project 2026-02-18 13:20:52 +00:00
next.config.ts Initial commit: OnDeck project 2026-02-18 13:20:52 +00:00
package-lock.json feat(imageright): two-pass metadata + content-inspection audit model 2026-07-08 14:36:23 +00:00
package.json feat(imageright): two-pass metadata + content-inspection audit model 2026-07-08 14:36:23 +00:00
postcss.config.mjs Initial commit: OnDeck project 2026-02-18 13:20:52 +00:00
prisma.config.ts Initial commit: OnDeck project 2026-02-18 13:20:52 +00:00
README.md Initial commit: OnDeck project 2026-02-18 13:20:52 +00:00
restart-dev.sh Initial commit: OnDeck project 2026-02-18 13:20:52 +00:00
SERVER.md Rebrand: rename ondeck->horizon in package.json, docker-compose, SERVER.md, docs; production stack at /opt/stacks/horizon 2026-04-12 23:59:20 +00:00
tsconfig.json Initial commit: OnDeck project 2026-02-18 13:20:52 +00:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.