refactor(server): keep the grown files at their size baselines; centre the inbox dialog

- auth.service: how an admin form value is stored (validated, encrypted, a
  masked echo kept) moves to the app settings registry as storedAdminValue
  and isMaskEcho.
- reservations.service: a booking's origin (withoutOrigin, originColumns)
  moves to reservation-origin.ts, its input shapes to reservation-inputs.ts,
  exported on from the service so importers stay as they were.
- Reservations.repository: the joined projection, the origin lookup and the
  origin columns move to _shared/, like the Wallet pass context before.
- test-sql: MailIngestApplyService.prepare is marked as no SQL statement.
- The pending bookings dialog opens centred, and says 'nothing waiting' once.
This commit is contained in:
Maurice
2026-11-13 20:28:17 +01:00
parent 7ed15a77b4
commit 6789ee1cb6
15 changed files with 246 additions and 170 deletions
@@ -198,19 +198,13 @@ export default function MailInboxDialog(): ReactElement | null {
labelId={titleId}
onClose={inbox.close}
title={t('mailInbox.title')}
sub={inbox.pending > 0 ? t('mailInbox.pendingCount', { count: inbox.pending }) : t('mailInbox.empty')}
// The empty state below says it already; the head only counts what waits.
sub={inbox.pending > 0 ? t('mailInbox.pendingCount', { count: inbox.pending }) : undefined}
/>
);
return (
<DialogShell
onClose={inbox.close}
labelledBy={titleId}
width="editor"
align="top"
header={header}
blocked={!!inbox.picking}
>
<DialogShell onClose={inbox.close} labelledBy={titleId} width="editor" header={header} blocked={!!inbox.picking}>
{inbox.picking ? (
<TripPicker trips={inbox.trips} onPick={inbox.pick} onCancel={inbox.cancelPick} />
) : inbox.preview ? (