diff --git a/docs/2026-01-09_IMPLEMENTATION_SUMMARY.md b/docs/2026-01-09_IMPLEMENTATION_SUMMARY.md index f6d2c83..d8fbed0 100644 --- a/docs/2026-01-09_IMPLEMENTATION_SUMMARY.md +++ b/docs/2026-01-09_IMPLEMENTATION_SUMMARY.md @@ -8,7 +8,7 @@ - Updated `LDX_TO_DAMPH_SALT_FACTOR` from 0.2948 to **0.29677** (exact MW ratio: 135.21/455.60) - Added `DEFAULT_F_ORAL = 0.96` (oral bioavailability from FDA label) - Changed LDX absorption half-life default from 1.5h to **0.9h** (better matches ~1h Tmax) -- Widened therapeutic range from 10.5–11.5 to **5–25 ng/mL** (general adult range) +- Widened therapeutic range from 10.5–11.5 to **5–25 ng/mL** (general adult range) - Bumped localStorage key to `v7` (will reset existing user data) ### 2. Advanced Settings Features diff --git a/src/App.tsx b/src/App.tsx index 7b193e5..e2444bb 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -10,6 +10,7 @@ */ import React from 'react'; +import { GitBranch } from 'lucide-react'; // Components import DaySchedule from './components/day-schedule'; @@ -18,6 +19,7 @@ import Settings from './components/settings'; import LanguageSelector from './components/language-selector'; import DisclaimerModal from './components/disclaimer-modal'; import { Button } from './components/ui/button'; +import { PROJECT_REPOSITORY_URL } from './constants/defaults'; // Custom Hooks import { useAppState } from './hooks/useAppState'; @@ -185,14 +187,24 @@ const MedPlanAssistant = () => {
{t('disclaimer')}
- +- All sources accessed January 8–9, 2026. For complete citation details, see the project documentation at the end of this app. + {t('disclaimerModalSourcesFooter')}{' '} + + {PROJECT_REPOSITORY_URL} + + .
)} diff --git a/src/constants/defaults.ts b/src/constants/defaults.ts index d400471..7fbfe45 100644 --- a/src/constants/defaults.ts +++ b/src/constants/defaults.ts @@ -9,6 +9,7 @@ */ export const LOCAL_STORAGE_KEY = 'medPlanAssistantState_v7'; +export const PROJECT_REPOSITORY_URL = 'https://git.11001001.org/cbaoth/med-plan-assistant'; // Pharmacokinetic Constants (from research literature) // MW ratio: 135.21 (d-amphetamine) / 455.60 (LDX dimesylate) = 0.29677 diff --git a/src/locales/de.ts b/src/locales/de.ts index f698afe..2c30568 100644 --- a/src/locales/de.ts +++ b/src/locales/de.ts @@ -139,8 +139,10 @@ export const de = { disclaimerModalScheduleIIText: "Lisdexamfetamin ist eine kontrollierte Substanz (Betäubungsmittel) mit, im Vergleich zum aktiven Dexamfetamin, moderatem Missbrauchs- und Abhängigkeitspotenzial. Unsachgemäßer oder missbräuchlicher Gebrauch kann schwerwiegende gesundheitliche Folgen so wie strafrechtliche konsequenzen haben.", disclaimerModalLiability: "Keine Garantien oder Gewährleistungen", disclaimerModalLiabilityText: "Dies ist ein Hobby-/Bildungsprojekt ohne kommerzielle Absicht. Der Entwickler übernimmt keine Garantien, Gewährleistungen oder Haftung. Nutzung erfolgt vollständig auf eigenes Risiko.", + disclaimerModalSourcesFooter: "Alle Quellen zugegriffen am 8.–9. Januar 2026. Für vollständige Zitierdetails siehe die Projektdokumentation unter", disclaimerModalAccept: "Verstanden - Weiter zur App", disclaimerModalFooterLink: "Medizinischer Haftungsausschluss & Datenquellen", + footerProjectRepo: "Projekt-Repository", // Units unitMg: "mg", unitNgml: "ng/ml", diff --git a/src/locales/en.ts b/src/locales/en.ts index 27b4beb..e53e989 100644 --- a/src/locales/en.ts +++ b/src/locales/en.ts @@ -137,8 +137,10 @@ export const en = { disclaimerModalScheduleIIText: "Lisdexamfetamine is a controlled substance (Schedule II) with moderate abuse and dependence potential compared to active dexamphetamine. Improper or abusive use can lead to serious health consequences as well as legal repercussions.", disclaimerModalLiability: "No Warranties or Guarantees", disclaimerModalLiabilityText: "This is a hobbyist/educational project with no commercial intent. The developer provides no warranties, guarantees, or liability. Use entirely at your own risk.", + disclaimerModalSourcesFooter: "All sources accessed January 8–9, 2026. For complete citation details, see the project documentation at", disclaimerModalAccept: "I Understand - Continue to App", disclaimerModalFooterLink: "Medical Disclaimer & Data Sources", + footerProjectRepo: "Project Repository", // Units unitMg: "mg", unitNgml: "ng/ml",