Skip to content

Offline receipt viewer card ignores the evidence-scope basis #2856

Backlog

Description

@abrichr

packages/seal-view/src/lib/sealSummary.mjs (cardFor, around line 13) shows "Saved and checked: The entry reached the record, and reading the record back found it there" for any VERIFIED receipt whose report has a passed read-back.

sealProps.mjs (parseReceiptRecord, around line 29) drops the predicate's evidence_scope when it builds the display record, so the card can't tell what was actually checked.

Effects:

Fix: carry evidence_scope.basis and word into the display record, and word the card by basis. For example, for a screen check: "After the save, the form closed with no error and every value was on the screen."

Constraint: the viewer is at about 261.9 of its 262.1 KB budget, so this may need a budget note.

Found by: the independent review of #2849.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions