Each ledger row derived only from its own input, so typing a dollar figure left the units and price rows blank -- which are precisely the two numbers that say whether you just asked for a volume change or a price change. The plug toggle decided it and then showed you nothing. Adds a Result line under the edit rows carrying value, units and price together, resolved the same way the server resolves the increments: a price input multiplies through volume, a dollar input with plug = volume scales units in proportion, anything else holds units. Measures that actually move are picked out in blue against the ones that hold, so plug = price reads as price moving alone and plug = volume as price standing still. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| vendor | ||
| .gitignore | ||
| eslint.config.js | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| vite.config.js | ||
React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Oxc
- @vitejs/plugin-react-swc uses SWC
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.