pf_app
Go to file
Paul Trowbridge 870f08f7de Hold the adjustable rows' own price on a dollar edit, and log the method
Under target_basis 'selected', resolveIncrs sized the units increment at
the price of adjustable and fixed (reference) rows blended, while the scale
SQL prorates it over the adjustable rows only. Qty therefore moved by a
different factor than dollars wherever the fixed rows were priced
differently, and a slice taken to its fixed total -- dollars to zero --
drove qty past zero: grains with positive sales and negative qty. Both the
dollar-edit and qty-edit paths now hold the adjustable rows' own price, and
the ledger's Result preview does the same so it still matches the write.

Each scale now records resolved.method (volume / price / both). The plug is
a per-browser preference and was never logged, so a price edit could only
be found afterwards by noticing qty had not moved.

The ledger also dropped a selected cell's own column whenever the pivot's
filter named that column, assuming the two could not disagree. Under
`partd contains 'Keystone'` a click on one part totalled every Keystone
part. It now drops only an exact `==` repeat.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 21:05:51 -04:00
lib Let a total cell be selected inside a filtered pivot 2026-09-28 21:05:51 -04:00
public Add UX mockup and update spec with navigation direction 2026-04-25 14:56:29 -04:00
routes Hold the adjustable rows' own price on a dollar edit, and log the method 2026-09-28 21:05:51 -04:00
setup_sql Store every log entry's segment and bucket instead of deriving them 2026-09-24 22:35:49 -04:00
ui Hold the adjustable rows' own price on a dollar edit, and log the method 2026-09-28 21:05:51 -04:00
.env.example Put the app behind a login 2026-09-14 22:20:25 -04:00
.gitignore Refresh lockfiles and keep .env backups out of the tree 2026-09-16 17:45:58 -04:00
CLAUDE.md Let a total cell be selected inside a filtered pivot 2026-09-28 21:05:51 -04:00
install.sh Put the app behind a login 2026-09-14 22:20:25 -04:00
package-lock.json Refresh lockfiles and keep .env backups out of the tree 2026-09-16 17:45:58 -04:00
package.json Put the app behind a login 2026-09-14 22:20:25 -04:00
PERSPECTIVE.md Filter aggregates with the rest of the layout 2026-09-19 14:43:00 -04:00
pf_perspective_options.md Record DuckDB virtual-server spike findings; choose display-grain pre-aggregation 2026-08-17 21:47:55 -04:00
pf_spec.md Merge feature/static-grain: display-grain pre-aggregation 2026-09-16 18:08:20 -04:00
pf.sh Fix the territory commands' success message and menu order 2026-09-18 11:47:02 -04:00
server.js Clone a version's definition without running it 2026-09-21 10:23:35 -04:00