Update various improvements and minor changes

This commit is contained in:
2026-02-02 17:35:11 +00:00
parent 02b1209c2d
commit f4260061f5
10 changed files with 308 additions and 181 deletions

View File

@@ -403,6 +403,7 @@ const Settings = ({
onChange={val => onUpdateTherapeuticRange('min', val)}
increment={0.5}
min={0}
max={500}
placeholder={t('min')}
required={true}
error={!!therapeuticRangeError || !therapeuticRange.min}
@@ -414,6 +415,7 @@ const Settings = ({
onChange={val => onUpdateTherapeuticRange('max', val)}
increment={0.5}
min={0}
max={500}
placeholder={t('max')}
unit="ng/ml"
required={true}
@@ -485,6 +487,7 @@ const Settings = ({
onChange={val => onUpdateUiSetting('yAxisMin', val)}
increment={1}
min={0}
max={500}
placeholder={t('auto')}
allowEmpty={true}
clearButton={true}
@@ -497,6 +500,7 @@ const Settings = ({
onChange={val => onUpdateUiSetting('yAxisMax', val)}
increment={1}
min={0}
max={500}
placeholder={t('auto')}
unit="ng/ml"
allowEmpty={true}
@@ -688,7 +692,7 @@ const Settings = ({
onChange={val => onUpdatePkParams('damph', { ...pkParams.damph, halfLife: val })}
increment={0.5}
min={5}
max={34}
max={50}
unit="h"
required={true}
warning={eliminationWarning && !eliminationExtreme}
@@ -726,7 +730,7 @@ const Settings = ({
onChange={val => onUpdatePkParams('ldx', { ...pkParams.ldx, halfLife: val })}
increment={0.1}
min={0.5}
max={2}
max={5}
unit="h"
required={true}
warning={conversionWarning}
@@ -760,7 +764,7 @@ const Settings = ({
onChange={val => onUpdatePkParams('ldx', { ...pkParams.ldx, absorptionHalfLife: val })}
increment={0.1}
min={0.5}
max={2}
max={5}
unit="h"
required={true}
warning={absorptionWarning}
@@ -836,7 +840,7 @@ const Settings = ({
onChange={val => updateAdvanced('standardVd', 'customValue', val)}
increment={10}
min={50}
max={800}
max={2000}
unit="L"
required={true}
/>
@@ -905,7 +909,7 @@ const Settings = ({
onChange={val => updateAdvanced('weightBasedVd', 'bodyWeight', val)}
increment={1}
min={20}
max={150}
max={300}
unit={t('bodyWeightUnit')}
required={true}
/>
@@ -943,7 +947,7 @@ const Settings = ({
onChange={val => updateAdvanced('foodEffect', 'tmaxDelay', val)}
increment={0.1}
min={0}
max={2}
max={5}
unit={t('tmaxDelayUnit')}
required={true}
/>