mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-13 06:32:03 +00:00
fix(medications): English tab slugs in the URL, old links still open
The medication detail tabs put German words into the address for every language (`?tab=verlauf`, `?tab=bestand`). They are overview, effect, schedule, supply, history, injection and advanced now. Every old slug maps to its tab, so a bookmark, a link in an old report or a low-stock notification sent before the change opens where it did. The low-stock push, the list card and the efficacy summary link with the new slugs. The slug vocabulary moves into its own module with a test.
This commit is contained in:
1 parent
2a68b39a85
commit
6be88e777a
17 files changed
+160
-81
No files matched your search
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$comment": "Production functions over 200 lines, keyed \"file :: name\", and their length. Maintained by src/__tests__/source-size-ratchet.test.ts.",
|
||||
"count": 339,
|
||||
"total": 110080,
|
||||
"total": 110064,
|
||||
"entries": {
|
||||
"app/achievements/page.tsx :: AchievementsPage": 206,
|
||||
"app/api/admin/backups/upload/route.ts :: apiHandler(arg)": 275,
|
||||
@@ -147,10 +147,10 @@
|
||||
"components/measurement-reminders/vorsorge-section.tsx :: VorsorgeSection": 352,
|
||||
"components/measurements/measurement-form.tsx :: MeasurementForm": 496,
|
||||
"components/medications/detail/efficacy/efficacy-chart.tsx :: EfficacyChart": 361,
|
||||
"components/medications/detail/medication-detail-tabs.tsx :: MedicationDetailTabs": 767,
|
||||
"components/medications/detail/medication-detail-tabs.tsx :: MedicationDetailTabs": 760,
|
||||
"components/medications/dose-history-add-dialog.tsx :: LedgerAddDialog": 223,
|
||||
"components/medications/dose-strength-curve.tsx :: DoseStrengthCurve": 266,
|
||||
"components/medications/glp1-medication-card.tsx :: Glp1MedicationCard": 405,
|
||||
"components/medications/glp1-medication-card.tsx :: Glp1MedicationCard": 396,
|
||||
"components/medications/injection-site-picker.tsx :: InjectionSitePicker": 287,
|
||||
"components/medications/intake-history-list-v2.tsx :: IntakeHistoryListV2": 403,
|
||||
"components/medications/intake-import-dialog.tsx :: IntakeImportDialog": 208,
|
||||
|
||||
Reference in new issue
Block a user