Skip to content

[5c] Serve the stale summary from the host #458

Open

Description

@imnasnainaec

Part of Phase 5 (#428) of the data layer plan.

getStaleSummary and stale flags in the outline; the stale notice uses them; settles whether outline stale flags ride in command replies or are refetched on onAnalysisChanged.

Done when: the stale notice shows the same counts as today's stale selectors, orphaned free translations included, from getStaleSummary and the outline's stale flags.

Depends on: 4c (#455).

From the plan

API

Call Kind Request Response Replaces today Issue
getBookOutline query source project plus the WebView's boundary delta (2b to 4c), or session (from 3k); book Segment ids, verse labels, each segment's heading (from Segment), token counts, stale flags; from 3k, each segment's count of orphaned free-translation cards useBookIndexes, useSegmentHeights, the chapter list 2b, 3k, 5c
getStaleSummary query session, book Stale links and free translations The stale selectors 5c

Cross-book answers

Answer Today Planned Freshness Issue
Stale summary Project-wide selectors filtered to the book getStaleSummary plus stale flags in the outline Live for the open book 5c

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions