From 8b35962efbe3d6e7582165e625d38d6a3dff35fd Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Wed, 28 Oct 2026 22:26:39 +0100 Subject: [PATCH] fix: show section labels in sentence case instead of all caps --- app/(main)/[locale]/login/page.tsx | 2 +- app/(main)/admin/_pages/policy.tsx | 2 +- app/(main)/admin/_pages/themes.tsx | 2 +- app/(main)/setup/page.tsx | 2 +- app/print.css | 8 -------- components/admin/admin-shell.tsx | 4 ++-- components/calendar/calendar-agenda-view.tsx | 2 +- components/calendar/calendar-day-view.tsx | 2 +- components/calendar/calendar-search.tsx | 2 +- components/calendar/calendar-sidebar-panel.tsx | 8 ++++---- components/calendar/calendar-toolbar.tsx | 4 ++-- components/calendar/calendar-week-view.tsx | 2 +- components/command-palette/command-palette.tsx | 2 +- components/contacts/contact-detail.tsx | 2 +- components/contacts/contact-form.tsx | 2 +- components/contacts/contact-list.tsx | 2 +- components/contacts/contacts-sidebar.tsx | 14 +++++++------- components/email/calendar-invitation-banner.tsx | 2 +- components/email/email-viewer.tsx | 12 ++++++------ components/email/plugin-search-results.tsx | 2 +- components/email/read-receipt-banner.tsx | 4 ++-- components/files/files-sidebar.tsx | 2 +- components/global-search/global-search-palette.tsx | 4 ++-- components/global-search/search-result-list.tsx | 2 +- components/keyboard-shortcuts-modal.tsx | 2 +- components/layout/mv-side-panel.tsx | 2 +- components/protocol/protocol-account-picker.tsx | 2 +- components/search/search-suggestions.tsx | 4 ++-- .../settings/address-book-management-settings.tsx | 2 +- components/settings/delegates/delegate-dialog.tsx | 2 +- .../settings/delegates/delegates-settings.tsx | 2 +- components/settings/filter-settings.tsx | 6 +++--- components/settings/settings-app.tsx | 4 ++-- components/settings/share-collection-dialog.tsx | 2 +- components/templates/template-picker.tsx | 2 +- lib/__tests__/plugin-ui-kit.test.tsx | 2 +- lib/plugin-sandbox/ui-kit/components.tsx | 6 +++--- 37 files changed, 60 insertions(+), 68 deletions(-) diff --git a/app/(main)/[locale]/login/page.tsx b/app/(main)/[locale]/login/page.tsx index 43b3080e6..4e50d0898 100644 --- a/app/(main)/[locale]/login/page.tsx +++ b/app/(main)/[locale]/login/page.tsx @@ -1629,7 +1629,7 @@ function LoginPageContent() {
-
+
{t("or")}
diff --git a/app/(main)/admin/_pages/policy.tsx b/app/(main)/admin/_pages/policy.tsx index 2ce7fdaee..8308403b5 100644 --- a/app/(main)/admin/_pages/policy.tsx +++ b/app/(main)/admin/_pages/policy.tsx @@ -61,7 +61,7 @@ const PAGE = adminPageDef('policy'); const fieldLabelClass = 'mb-1 block text-[11px] font-medium text-muted-foreground'; const cardClass = 'rounded-md border border-border bg-muted/30 p-3'; -const subLabelClass = 'mt-2 text-xs font-semibold uppercase tracking-wider text-muted-foreground'; +const subLabelClass = 'mt-2 text-xs font-semibold text-muted-foreground'; /** Mirrors the sanitizer's URL rule so the admin sees the drop before saving. */ function isValidDefaultAppUrl(raw: string): boolean { diff --git a/app/(main)/admin/_pages/themes.tsx b/app/(main)/admin/_pages/themes.tsx index f9701e63f..3163233a7 100644 --- a/app/(main)/admin/_pages/themes.tsx +++ b/app/(main)/admin/_pages/themes.tsx @@ -388,7 +388,7 @@ export function ThemesPage() { ))} {themes.length > 0 && ( <> -

Installed

+

Installed

{themes.map(theme => ( toggleAdminTheme(theme.id)} /> diff --git a/app/(main)/setup/page.tsx b/app/(main)/setup/page.tsx index 875c1d124..a6c7efa2c 100644 --- a/app/(main)/setup/page.tsx +++ b/app/(main)/setup/page.tsx @@ -1610,7 +1610,7 @@ function SummaryGroup({ icon, title, children }: { icon: ReactNode; title: strin
{icon} - {title} + {title}
{children}
diff --git a/app/print.css b/app/print.css index 89a88c8bb..5dd793f6c 100644 --- a/app/print.css +++ b/app/print.css @@ -226,8 +226,6 @@ color: var(--pr-muted); font-size: 7.5pt; font-weight: 600; - text-transform: uppercase; - letter-spacing: 0.04em; } .pr-month-week { @@ -332,8 +330,6 @@ color: var(--pr-muted); font-size: 7.5pt; font-weight: 600; - text-transform: uppercase; - letter-spacing: 0.04em; } .pr-tg-date { @@ -558,8 +554,6 @@ color: var(--pr-muted); font-size: 7.5pt; font-weight: 600; - text-transform: uppercase; - letter-spacing: 0.04em; break-after: avoid; } @@ -655,8 +649,6 @@ color: var(--pr-muted); font-size: 8.5pt; font-weight: 600; - text-transform: uppercase; - letter-spacing: 0.05em; break-after: avoid; } diff --git a/components/admin/admin-shell.tsx b/components/admin/admin-shell.tsx index eac06295f..9ebd34467 100644 --- a/components/admin/admin-shell.tsx +++ b/components/admin/admin-shell.tsx @@ -328,7 +328,7 @@ export function AdminShell({ authenticated, isStalwartAutoLogin, configReadOnly, {groupIndex > 0 &&
} {group.label && (
- {group.label} + {group.label}
)} {group.items.map(({ page, sections }) => { @@ -414,7 +414,7 @@ export function AdminShell({ authenticated, isStalwartAutoLogin, configReadOnly, {groupIndex > 0 &&
} {group.label && (
- {group.label} + {group.label}
)} {group.items.map(({ page, sections }) => { diff --git a/components/calendar/calendar-agenda-view.tsx b/components/calendar/calendar-agenda-view.tsx index 4dd69715a..e453d8bac 100644 --- a/components/calendar/calendar-agenda-view.tsx +++ b/components/calendar/calendar-agenda-view.tsx @@ -218,7 +218,7 @@ export function CalendarAgendaView({ {intlFormatter.dateTime(group.date, { month: "short", weekday: "short" })} diff --git a/components/calendar/calendar-day-view.tsx b/components/calendar/calendar-day-view.tsx index 3158d35dd..feb5f531c 100644 --- a/components/calendar/calendar-day-view.tsx +++ b/components/calendar/calendar-day-view.tsx @@ -371,7 +371,7 @@ export function CalendarDayView({ aria-label={intlFormatter.dateTime(day, { weekday: "long", month: "long", day: "numeric", year: "numeric" })} >
{intlFormatter.dateTime(day, { weekday: "short" })} diff --git a/components/calendar/calendar-search.tsx b/components/calendar/calendar-search.tsx index 904335e61..5de72dfab 100644 --- a/components/calendar/calendar-search.tsx +++ b/components/calendar/calendar-search.tsx @@ -169,7 +169,7 @@ export function CalendarSearchResults({ const section = (id: string, label: string, events: CalendarEvent[]) => events.length > 0 && (
-

+

{label}

{events.map(renderRow)}
diff --git a/components/calendar/calendar-sidebar-panel.tsx b/components/calendar/calendar-sidebar-panel.tsx index cce2785ff..687616242 100644 --- a/components/calendar/calendar-sidebar-panel.tsx +++ b/components/calendar/calendar-sidebar-panel.tsx @@ -483,7 +483,7 @@ export function CalendarSidebarPanel({ ) : ( )} - {label} + {label} {onAdd && ( {owned.length > 0 && (
-
+
{t('my_calendars')}
@@ -581,7 +581,7 @@ export function CalendarSidebarPanel({ )} {sharedGroups.map((sg) => (
-
+
{sg.label}
@@ -610,7 +610,7 @@ export function CalendarSidebarPanel({ {renderSectionHeader('__others__', t('other_calendars'))} {!collapsedAccountGroups.has('__others__') && sharedAccountGroups.map((group) => (
-
+
{group.accountName}
diff --git a/components/calendar/calendar-toolbar.tsx b/components/calendar/calendar-toolbar.tsx index 0df801ef1..7763420d6 100644 --- a/components/calendar/calendar-toolbar.tsx +++ b/components/calendar/calendar-toolbar.tsx @@ -310,7 +310,7 @@ export function CalendarToolbar({ {showCalendarDropdown && (
-

+

{t("my_calendars")}

@@ -350,7 +350,7 @@ export function CalendarToolbar({ } return Array.from(groups.values()).map((group) => (
-

+

{group.accountName}

diff --git a/components/calendar/calendar-week-view.tsx b/components/calendar/calendar-week-view.tsx index 6e54b307b..33ca71554 100644 --- a/components/calendar/calendar-week-view.tsx +++ b/components/calendar/calendar-week-view.tsx @@ -467,7 +467,7 @@ export function CalendarWeekView({ className="flex flex-col items-center gap-0.5 pt-2 pb-1.5 border-e border-border last:border-e-0" >
{intlFormatter.dateTime(day, { weekday: "short" })} diff --git a/components/command-palette/command-palette.tsx b/components/command-palette/command-palette.tsx index 7b5982409..9624b7c50 100644 --- a/components/command-palette/command-palette.tsx +++ b/components/command-palette/command-palette.tsx @@ -367,7 +367,7 @@ function CommandPalette({ onClose, onShowShortcuts }: { onClose: () => void; onS return (
  • {showGroup && ( -