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(
|
||||
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,
|
||||
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
|
||||
|
||||
@@ -441,9 +441,8 @@ function ComposerBody({
|
||||
{t("recorder.composer.export")}
|
||||
</Button>
|
||||
{target && !sent && (
|
||||
// `sending` is a send ALREADY under way — from a reload, or from the other tab this one
|
||||
// is a copy of. The button would only earn an `issue_sending` refusal; the banner above
|
||||
// says why it is out.
|
||||
// `sending`: a send already under way (a reload's, or another tab's). The button would only
|
||||
// earn an `issue_sending` refusal; the banner above says why it is out.
|
||||
<Button
|
||||
variant="primary"
|
||||
loading={send.isPending}
|
||||
@@ -483,7 +482,6 @@ function DraftFields({
|
||||
<Input
|
||||
className="w-full"
|
||||
id="issue-title"
|
||||
// the dialog opens here, not on the Edit / Preview switch above the form
|
||||
data-initial-focus
|
||||
value={form.title}
|
||||
readOnly={readOnly}
|
||||
|
||||
Reference in New Issue
Block a user