Commit Graph

29 Commits

Author SHA1 Message Date
fbba3d6122 Update therapeutic range min/max values no longer mandatory 2026-02-10 19:52:25 +00:00
a1298d64a7 Fix invalid size error in chart causing crashes due to temporary invalid dimensions during mount/update 2026-02-10 19:41:01 +00:00
3b4db14424 Fix chart performance issues and duplicate keys
- Memoize XAxisTick and YAxisTick renderers with useCallback
- Remove Y-axis tickCount and allowDecimals=false to prevent duplicate keys
- Add React.memo to SimulationChart with custom comparison
- Remove unnecessary sorting after isFed and remove dose actions
- Add handleActionWithoutSort for actions that don't affect order
- Prevents double state updates that caused 'every other click' freezes
2026-02-09 19:58:15 +00:00
d544c7f3b3 Update day-schedule layout (style improvements/fixes), attached delta badge to time input field 2026-02-09 19:37:30 +00:00
8325f10b19 Fix performance issue: debounce resize event listeners
- Add useDebounce hook for value debouncing
- Add useWindowSize hook for debounced window dimensions
- Add useElementSize hook for debounced element size tracking with ResizeObserver
- Replace undebounced resize listeners in App.tsx, simulation-chart.tsx, and settings.tsx
- Prevents excessive re-renders during window resize operations
- Resolves app freezing and performance degradation
2026-02-09 17:19:43 +00:00
7a2a8b0b47 Add intake auto sorting, chart intake markers, upped max daily intakes to 6, various style changes 2026-02-09 17:08:53 +00:00
b7a585a223 Update dark mode improvements for chart 2026-02-04 15:18:58 +00:00
efa45ab288 Update data deletion now in data manager with customization, minor UI improvements, increased chart y-axis tick count (regression) 2026-02-04 12:24:03 +00:00
f4260061f5 Update various improvements and minor changes 2026-02-02 17:35:11 +00:00
8e74fe576f Fix minor dark mode issues and language/theme selection alignement 2026-02-02 11:21:20 +00:00
6983ce3853 Fix various issues with pharmacokinetics, improved parameters, distinction between adult/child 2026-01-17 20:27:00 +00:00
3e7281e4db Update consolidated and improved tooltips 2026-01-17 13:06:56 +00:00
55a0742d13 Fix difference in visualisation between y-axis max = auto vs. value below line peak 2026-01-16 19:06:08 +00:00
966006db6a Update shorten line names (legend, tooltip, buttons) based on window width 2026-01-16 15:49:43 +00:00
678bd6c7b6 Update shorten day separator labels based on chart width 2026-01-16 14:08:36 +00:00
9235d9b9fb Fix x-axis tick interval calculation (there were too many, especially on mobile) 2026-01-10 11:32:35 +00:00
b396caa67a Update pharmacokinetic parameters/calculations, add advanced settings, add disclaimer/citations, many improvements 2026-01-09 19:50:15 +00:00
abd8e790b8 Fix y-axis range min/max value logic 2026-01-08 18:37:02 +00:00
c7a3068e1c Update therapeutic range settings add toggle 2026-01-08 18:09:26 +00:00
6b9d8cdf49 Update day schedule and simulation chart labels, enhance defaults 2025-12-04 02:03:37 +00:00
abae3d54e6 Update minor i18n changes and updated defaults 2025-12-04 01:31:17 +00:00
509cb33422 Update improved legend labels for tablate curve to match opacity of the curve 2025-12-04 01:15:30 +00:00
8bd69516c4 Update show regular plan overlay only if needed (per day) 2025-12-04 00:06:21 +00:00
e398b1cb29 Update translations, special formating for x-axis tick label 'Noon' 2025-12-03 22:25:49 +00:00
6fb6583ae3 Update custome translations to i18n and various improvements 2025-12-03 21:53:04 +00:00
bbdfc5f894 Update new unified dose management, style/other improvements 2025-12-02 22:02:10 +00:00
5865d9dbe5 Update style improvements and minor fixes 2025-11-29 18:45:30 +00:00
032b966a9d Add doc to script file 2025-11-28 10:01:03 +00:00
551ba9fd62 Update migrated js to ts and shadcn 2025-11-28 10:00:50 +00:00