pf_app
Go to file
Paul Trowbridge 8d26629f32 Consolidate duplicate log routes into routes/log.js
GET /versions/:id/log, DELETE /log/:logid, and PATCH /log/:logid were
defined in both routes/operations.js and routes/log.js. operations.js is
registered first, so its handlers shadowed log.js entirely (dead code).

Move the authoritative implementations (value/units totals in GET,
closed-version 403 guard in DELETE) into log.js and remove the duplicates
from operations.js, keeping operations.js focused on the forecast ops.
No behavior change — the served handlers were already the operations.js
versions; they are now defined once.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 21:50:21 -04:00
lib Make units column optional throughout source registration and SQL generation 2026-06-12 23:44:06 -04:00
public Add UX mockup and update spec with navigation direction 2026-04-25 14:56:29 -04:00
routes Consolidate duplicate log routes into routes/log.js 2026-06-17 21:50:21 -04:00
setup_sql SQL generator: derive date-adjacent columns from pf.dim_period at baseline load 2026-05-23 10:06:05 -04:00
ui Merge remote-tracking branch 'origin/operations-panel' 2026-06-17 21:24:15 -04:00
.env.example Initial commit — pivot forecast application 2026-04-01 07:59:05 -04:00
.gitignore Scaffold React/Vite/Tailwind UI with 3-step Setup → Baseline → Forecast flow 2026-04-25 16:28:45 -04:00
CLAUDE.md Add PERSPECTIVE.md config/deploy reference; fix CLAUDE.md distribution link 2026-06-15 23:49:53 -04:00
install.sh Initial commit — pivot forecast application 2026-04-01 07:59:05 -04:00
package-lock.json Fix forecast data load and add byte-progress UI 2026-04-28 19:51:39 -04:00
package.json Add CLAUDE.md project instructions and license field to package.json 2026-05-02 20:47:15 -04:00
PERSPECTIVE.md Add PERSPECTIVE.md config/deploy reference; fix CLAUDE.md distribution link 2026-06-15 23:49:53 -04:00
pf_perspective_options.md Document Perspective architecture options 2026-04-28 20:21:19 -04:00
pf_spec.md Update CLAUDE.md and spec: units optional, dim_group/dim_period, delete todo.md 2026-06-12 23:27:05 -04:00
pf_ux_mockup.md Add UX mockup and update spec with navigation direction 2026-04-25 14:56:29 -04:00
pf.sh Add pf.sh — interactive deployment and service management script 2026-05-02 20:58:39 -04:00
server.js Fix forecast data load and add byte-progress UI 2026-04-28 19:51:39 -04:00