diff --git a/client/src/components/Planner/DayPlanSidebar.tsx b/client/src/components/Planner/DayPlanSidebar.tsx
index f6cde7f6f..311d27981 100644
--- a/client/src/components/Planner/DayPlanSidebar.tsx
+++ b/client/src/components/Planner/DayPlanSidebar.tsx
@@ -2098,7 +2098,7 @@ const DayPlanSidebar = React.memo(function DayPlanSidebar(props: DayPlanSidebarP
{(place.place_time || place.description || place.address || cat?.name) && (
{place.place_time && (
-
+
{formatTime(place.place_time, locale, timeFormat)}{place.end_time ? ` – ${formatTime(place.end_time, locale, timeFormat)}` : ''}
)}
@@ -2416,8 +2416,8 @@ const DayPlanSidebar = React.memo(function DayPlanSidebar(props: DayPlanSidebarP
return (
{/* Where in a multi-day span this day falls, said quietly beside its time. */}
- {spanLabel &&
{spanLabel} }
{timeText &&
{timeText} }
+ {spanLabel &&
{spanLabel} }
{timeZone && (
}
{r.confirmation_number && (
-
+
#{r.confirmation_number}
+
{icon}
{children}
)
}
-export function TimePill({ children, className = '' }: { children: ReactNode; className?: string }) {
- return }>{children}
+export function TimePill({ children, className = '', quiet = false }: { children: ReactNode; className?: string; quiet?: boolean }) {
+ return }>{children}
}
export type PillTone = 'neutral' | 'success' | 'warning' | 'danger' | 'info' | 'accent'
// White badges on whatever tint the row has; the tone only colours the words and the icon.
const PILL_TONES: Record = {
- neutral: 'bg-surface-card text-content-secondary shadow-sm',
- success: 'bg-surface-card text-success shadow-sm',
- warning: 'bg-surface-card text-warning shadow-sm',
- danger: 'bg-surface-card text-danger shadow-sm',
- info: 'bg-surface-card text-info shadow-sm',
+ neutral: 'bg-surface-card text-content-secondary shadow-sm ring-1 ring-inset ring-edge-faint',
+ success: 'bg-surface-card text-success shadow-sm ring-1 ring-inset ring-edge-faint',
+ warning: 'bg-surface-card text-warning shadow-sm ring-1 ring-inset ring-edge-faint',
+ danger: 'bg-surface-card text-danger shadow-sm ring-1 ring-inset ring-edge-faint',
+ info: 'bg-surface-card text-info shadow-sm ring-1 ring-inset ring-edge-faint',
accent: 'bg-accent text-accent-text',
}
@@ -113,7 +119,7 @@ export function SoftPill({ tone = 'neutral', icon, children, className = '', cap
caps?: boolean
}) {
return (
-
+
{icon}
{children}