towerops/assets/js
Graham McIntire dc9400e6ae
fix: adjust graph x-axis range based on selected time period
- Pass range parameter to SensorChart hook via data-range attribute
- Calculate x-axis min/max dynamically based on selected range (1h, 6h, 12h, 24h, 7d, 30d)
- Show date + time on x-axis labels for ranges > 24 hours
- Show time only for ranges <= 24 hours
- Fixes issue where 7d and 30d graphs showed incorrect time range
2026-01-18 12:56:44 -06:00
..
types Convert JavaScript to TypeScript with proper type definitions 2026-01-15 13:29:49 -06:00
app.ts fix: adjust graph x-axis range based on selected time period 2026-01-18 12:56:44 -06:00
passkey_discoverable.ts Convert JavaScript to TypeScript with proper type definitions 2026-01-15 13:29:49 -06:00
passkey_login.ts Convert JavaScript to TypeScript with proper type definitions 2026-01-15 13:29:49 -06:00
passkey_settings.ts Convert JavaScript to TypeScript with proper type definitions 2026-01-15 13:29:49 -06:00
webauthn.ts Convert JavaScript to TypeScript with proper type definitions 2026-01-15 13:29:49 -06:00
webauthn_utils.ts Convert JavaScript to TypeScript with proper type definitions 2026-01-15 13:29:49 -06:00