Commit Graph

17 Commits

Author SHA1 Message Date
RunasSudo e016afbf45
Fix Chrome/Edge compatibility
Chrome does not support valueAsDate on datetime-local inputs
2024-08-28 08:58:41 +10:00
RunasSudo 4e4248a9ae
Tweak margins of result panel 2024-08-27 18:20:05 +10:00
RunasSudo 74ea5172c8
Unit tests for description of bilirubin result 2024-08-27 18:00:37 +10:00
RunasSudo 030609b45e
Refactor bilirubin vs threshold calculation 2024-08-27 17:53:55 +10:00
RunasSudo f669061d65
Unit tests for dateToISOStringLocal 2024-08-27 17:44:23 +10:00
RunasSudo 4b13e48e9f
Unit tests for bilirubin pretty printing 2024-08-27 17:44:14 +10:00
RunasSudo af54b53fd2
Unit tests for pretty printing ages 2024-08-27 17:36:31 +10:00
RunasSudo 8b39e849b1
Round 23.5 hours+ to the next day when pretty printing 2024-08-27 17:36:00 +10:00
RunasSudo 9f40645d8a
Refactor age pretty printing 2024-08-27 17:35:25 +10:00
RunasSudo b2f71133ae
Add unit tests for threshold calculations 2024-08-27 17:14:45 +10:00
RunasSudo acb0aeffa8
Limit minimum gestation to 23 weeks as per NICE thresholds 2024-08-27 17:13:23 +10:00
RunasSudo f8e26d4e4d
Refactor code into lib and app 2024-08-27 16:17:45 +10:00
RunasSudo de27115917
Show measurement in tooltip on hover 2024-08-27 11:57:02 +10:00
RunasSudo 0a6bbc9980
Add padding 2024-08-27 11:42:44 +10:00
RunasSudo c9f5fd1082
Do not display result if invalid inputs 2024-08-26 18:45:07 +10:00
RunasSudo c1f2b0c908
Auto-fill current time in correct time zone
We cannot use valueAsDate because this converts to UTC which is not desired
2024-08-26 18:36:59 +10:00
RunasSudo 3bf624f9dd
Initial commit 2024-08-26 17:36:36 +10:00