pf_app
Go to file
Paul Trowbridge 16c296d529 SQL generator: derive date-adjacent columns from pf.dim_period at baseline load
- col_meta gets dim_period_col field: maps a dimension column to its pf.dim_period counterpart (e.g. year -> cal_year, month -> cal_month)
- When the date column is is_key of a dim_group and any sibling dimension has dim_period_col set, baseline and reference SQL JOIN pf.dim_period on the shifted date instead of copying raw source values
- No dim_period config = identical SQL to before (fully backwards compatible)
- Setup UI: period col input in col_meta editor, enabled for dimension columns with a dim_group set
- Schema migration applied: dim_period_col text null on pf.col_meta

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-23 10:06:05 -04:00
lib SQL generator: derive date-adjacent columns from pf.dim_period at baseline load 2026-05-23 10:06:05 -04:00
public Add UX mockup and update spec with navigation direction 2026-04-25 14:56:29 -04:00
routes SQL generator: derive date-adjacent columns from pf.dim_period at baseline load 2026-05-23 10:06:05 -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 SQL generator: derive date-adjacent columns from pf.dim_period at baseline load 2026-05-23 10:06:05 -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 note 2026-05-22 23:29:35 -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
pf_perspective_options.md Document Perspective architecture options 2026-04-28 20:21:19 -04:00
pf_spec.md Spec: add OR filter groups, raw_where escape hatch, and Arrow IPC streaming for large datasets 2026-04-27 22:50:02 -04:00
pf_ux_mockup.md Add UX mockup and update spec with navigation direction 2026-04-25 14:56:29 -04:00
server.js Fix forecast data load and add byte-progress UI 2026-04-28 19:51:39 -04:00
todo.md Reference offsets, edit visual cues, todo updates 2026-04-29 11:08:49 -04:00