Skip to content

[2d] Add onAnalysisChanged for Scripture edits #438

Closed

Description

@imnasnainaec

Part of Phase 2 (#425) of the data layer plan.

onAnalysisChanged, addressed by source project, with its first producer: a Scripture edit names the book, and the WebView refetches.

Done when: editing Scripture refreshes the open view.

Depends on: 2b (#436).

From the plan

API

Call Kind Request Response Replaces today Issue
onAnalysisChanged event — Source project (2d to 4c) or session (from 3k), change id, touched segment ranges by book, analysis ids, affected cross-book queries; a whole book or scope for Scripture edits Nothing today 2d, 3k

Activity

  1. alex-rawlings-yyc commented on Oct 16, 2026

    @alex-rawlings-yyc
    Contributor

    Since 2a (#460), Scripture edits no longer refresh the open view: the WebView used to subscribe to the book's USJ itself, and now nothing tells it the text changed. Main lacks the refresh until this issue lands. BookService keeps only each project's most recently requested book, and the whole-text read requests every book, so the open book's watch can't be relied on here; 2d needs its own watch on open books.

  2. self-assigned this
    on Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions