fix: the reconcile scan's return type names its settled sections; the composer stays at its size ceiling
This commit is contained in:
@@ -72,7 +72,7 @@ def _rk_to_id(db: Session) -> dict[str, int]:
|
|||||||
|
|
||||||
def _scan_plex_states(
|
def _scan_plex_states(
|
||||||
db: Session, plex: PlexClient
|
db: Session, plex: PlexClient
|
||||||
) -> tuple[dict[int, tuple[str, int, datetime | None, datetime | None]], int, bool, set[str]]:
|
) -> tuple[dict[int, tuple[str, int, datetime | None, datetime | None]], int, set[str], set[str]]:
|
||||||
"""Scan the enabled movie/show sections and return ``{item_id: (status, pos, watched_at,
|
"""Scan the enabled movie/show sections and return ``{item_id: (status, pos, watched_at,
|
||||||
prog_at)}`` for every mirrored leaf Plex holds a watch signal for, the scanned-leaf count, the
|
prog_at)}`` for every mirrored leaf Plex holds a watch signal for, the scanned-leaf count, the
|
||||||
keys of the sections SETTLED — walked to the server's total (or said empty by a server we mirror
|
keys of the sections SETTLED — walked to the server's total (or said empty by a server we mirror
|
||||||
|
|||||||
@@ -441,9 +441,8 @@ function ComposerBody({
|
|||||||
{t("recorder.composer.export")}
|
{t("recorder.composer.export")}
|
||||||
</Button>
|
</Button>
|
||||||
{target && !sent && (
|
{target && !sent && (
|
||||||
// `sending` is a send ALREADY under way — from a reload, or from the other tab this one
|
// `sending`: a send already under way (a reload's, or another tab's). The button would only
|
||||||
// is a copy of. The button would only earn an `issue_sending` refusal; the banner above
|
// earn an `issue_sending` refusal; the banner above says why it is out.
|
||||||
// says why it is out.
|
|
||||||
<Button
|
<Button
|
||||||
variant="primary"
|
variant="primary"
|
||||||
loading={send.isPending}
|
loading={send.isPending}
|
||||||
@@ -483,7 +482,6 @@ function DraftFields({
|
|||||||
<Input
|
<Input
|
||||||
className="w-full"
|
className="w-full"
|
||||||
id="issue-title"
|
id="issue-title"
|
||||||
// the dialog opens here, not on the Edit / Preview switch above the form
|
|
||||||
data-initial-focus
|
data-initial-focus
|
||||||
value={form.title}
|
value={form.title}
|
||||||
readOnly={readOnly}
|
readOnly={readOnly}
|
||||||
|
|||||||
Reference in New Issue
Block a user