mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-19 01:25:06 +00:00
fix(dvr): fix recording card S/E overlap and hidden metadata
Move Season/Episode label from the header badge row to a dedicated metadata row in the card body, preventing action buttons (extend, stop, delete) from obscuring it on in-progress recordings with long titles. Also show episode subtitle and S/E info on series group cards, which were previously hidden behind !isSeriesGroup guards.
This commit is contained in:
parent
1deea473ea
commit
2dec38773d
1 changed files with 11 additions and 6 deletions
|
|
@ -350,11 +350,6 @@ const RecordingCard = ({
|
|||
Recurring
|
||||
</Badge>
|
||||
)}
|
||||
{seLabel && !isSeriesGroup && (
|
||||
<Badge color="gray" variant="light">
|
||||
{seLabel}
|
||||
</Badge>
|
||||
)}
|
||||
</Group>
|
||||
</Stack>
|
||||
</Group>
|
||||
|
|
@ -420,7 +415,7 @@ const RecordingCard = ({
|
|||
fallbackSrc={getChannelLogoUrl(channel) || defaultLogo}
|
||||
/>
|
||||
<Stack gap={6} flex={1} style={{ alignSelf: 'stretch' }}>
|
||||
{!isSeriesGroup && subTitle && (
|
||||
{subTitle && (
|
||||
<Group justify="space-between">
|
||||
<Text size="sm" c="dimmed">
|
||||
Episode
|
||||
|
|
@ -430,6 +425,16 @@ const RecordingCard = ({
|
|||
</Text>
|
||||
</Group>
|
||||
)}
|
||||
{seLabel && (
|
||||
<Group justify="space-between">
|
||||
<Text size="sm" c="dimmed">
|
||||
Season/Episode
|
||||
</Text>
|
||||
<Text size="sm" fw={700}>
|
||||
{seLabel}
|
||||
</Text>
|
||||
</Group>
|
||||
)}
|
||||
<Group justify="space-between">
|
||||
<Text size="sm" c="dimmed">
|
||||
Channel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue