From a522916ff13be487398f7a7f61902fb140bb6b39 Mon Sep 17 00:00:00 2001 From: kirukib Date: Thu, 6 Aug 2026 21:59:31 +0300 Subject: [PATCH] Close remaining portal polish gaps on create and org pages. Make prescription create full-width, restore organisation breadcrumbs, and document the idCard tabs key. Co-authored-by: Cursor --- docs/features/portal-layout.md | 2 +- src/app/[locale]/(portal)/organisation/page.tsx | 1 - src/app/[locale]/(portal)/prescriptions/new/page.tsx | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/features/portal-layout.md b/docs/features/portal-layout.md index c51535d..a408580 100644 --- a/docs/features/portal-layout.md +++ b/docs/features/portal-layout.md @@ -136,7 +136,7 @@ const tTabs = useTranslations("tabs"); ``` -Labels live under root `tabs.*` in `en.json` / `am.json` (`profile`, `entitlement`, `dependants`, `clinical`, `rules`, `perks`, `summary`, `errors`, `breakdown`, `contract`, `people`, `spend`, `info`, `basics`). Prefer `useTranslations("tabs")` so missing keys never render as nested `tabs.tabs.*`. +Labels live under root `tabs.*` in `en.json` / `am.json` (`profile`, `entitlement`, `dependants`, `clinical`, `idCard`, `rules`, `perks`, `summary`, `errors`, `breakdown`, `contract`, `people`, `spend`, `info`, `basics`). Prefer `useTranslations("tabs")` so missing keys never render as nested `tabs.tabs.*`. ## Related docs diff --git a/src/app/[locale]/(portal)/organisation/page.tsx b/src/app/[locale]/(portal)/organisation/page.tsx index c39668a..e6938b1 100644 --- a/src/app/[locale]/(portal)/organisation/page.tsx +++ b/src/app/[locale]/(portal)/organisation/page.tsx @@ -37,7 +37,6 @@ export default function OrganisationPage() { {org ? : null} diff --git a/src/app/[locale]/(portal)/prescriptions/new/page.tsx b/src/app/[locale]/(portal)/prescriptions/new/page.tsx index 29f5813..c3a1458 100644 --- a/src/app/[locale]/(portal)/prescriptions/new/page.tsx +++ b/src/app/[locale]/(portal)/prescriptions/new/page.tsx @@ -54,7 +54,7 @@ export default function NewPrescriptionPage() { {t("member.rxUploadHelp")} -
+