wrolpi/app/src/components/calculators
Roland 342374b97f
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Controller Tests / controller-tests (push) Waiting to run
Jest Tests / jest-tests (push) Waiting to run
Guard preset lookup, drop dead Media import and volume*1 no-op
Address Greptile review on PR #447:
- Fall back to the minimum preset when an unrecognized/stale
  water_calculator_preset is read from localStorage, so a bad persisted
  value can no longer crash the component on mount.
- Remove the unused Media import.
- Simplify the metric branch of waterWeight (volume * 1 -> volume).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-28 18:07:01 -06:00
..
DriveCalculator.js Drop spammy console.debug from Drive Ratio render/keystroke paths 2026-05-28 16:19:21 -06:00
DriveCalculator.test.js Add Drive Ratio calculator (pulleys, gears, sprockets) 2026-05-28 15:17:50 -06:00
ElectricalCalculators.js Renaming HelpPopup to InfoPopup to avoid confusion with future Help features. 2025-01-24 14:28:04 -07:00
ElectricalCalculators.test.js Adding Power Loss Calculator. 2024-10-16 18:55:45 -06:00
HamCalculators.js Created Dipole Antenna calculator. 2024-10-16 18:55:41 -06:00
mathConfig.js Adding more dashboard unit examples. Adding tests for unit conversion. 2026-04-04 17:56:08 -06:00
mathConfig.test.js Adding more dashboard unit examples. Adding tests for unit conversion. 2026-04-04 17:56:08 -06:00
QRCodeCalculator.js Handling new issue with youtube caption file names. Adding QR Code calculator. 2025-02-07 11:44:17 -07:00
RatioCalculator.js Adding quart to ratio calculator. Adding tests. 2025-12-25 18:45:32 -07:00
RatioCalculator.test.js Adding quart to ratio calculator. Adding tests. 2025-12-25 18:45:32 -07:00
TemperatureCalculator.js Using localStorage to store navbar color and calculator values. 2024-10-16 18:57:02 -06:00
WaterCalculator.js Guard preset lookup, drop dead Media import and volume*1 no-op 2026-05-28 18:07:01 -06:00
WaterCalculator.test.js Adding realistic lifecycle test. 2026-05-28 18:06:48 -06:00