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 <cursoragent@cursor.com>
This commit is contained in:
kirukib 2026-08-06 21:59:31 +03:00
parent 1f30f00da6
commit a522916ff1
3 changed files with 2 additions and 3 deletions

View File

@ -136,7 +136,7 @@ const tTabs = useTranslations("tabs");
</Tabs> </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 ## Related docs

View File

@ -37,7 +37,6 @@ export default function OrganisationPage() {
<DetailPageLayout <DetailPageLayout
title={org?.tradeName ?? t("organisation.title")} title={org?.tradeName ?? t("organisation.title")}
description={org?.legalName ?? t("organisation.subtitle")} description={org?.legalName ?? t("organisation.subtitle")}
breadcrumb={false}
extra={ extra={
<div className="flex flex-wrap items-center gap-2"> <div className="flex flex-wrap items-center gap-2">
{org ? <StatusBadge status={org.status} /> : null} {org ? <StatusBadge status={org.status} /> : null}

View File

@ -54,7 +54,7 @@ export default function NewPrescriptionPage() {
<CardDescription>{t("member.rxUploadHelp")}</CardDescription> <CardDescription>{t("member.rxUploadHelp")}</CardDescription>
</CardHeader> </CardHeader>
<CardContent> <CardContent>
<form onSubmit={handleSubmit} className="max-w-3xl space-y-4"> <form onSubmit={handleSubmit} className="w-full space-y-4">
<div className="space-y-2"> <div className="space-y-2">
<Label htmlFor="rxFiles">Prescription files</Label> <Label htmlFor="rxFiles">Prescription files</Label>
<div className="flex items-center gap-3"> <div className="flex items-center gap-3">