(fix) restore live annotation toggles - #4
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a6bf9ede34
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b1ae348a5c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 49812d8352
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
|
Codex Review: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
What changed
saved highlights and cross-outs after Start, Resume, and question navigation
AAMC's native highlight or cross-out control or shortcut, leaving the other
type open for delayed hydration
one mask cannot make the other baseline incomplete
sealing scan, even if masking changes which question is visibly active
those originals when turned back On, and leaves new annotations usable
Root cause
AAMC's annotation hydration does not share MKit's session timing. Saved spans
can arrive after the rail is already visible, so sealing at Start or Resume
classified those delayed originals as new. Rail interactions could also close
the baseline before hydration completed.
The adapter now owns independent boundaries at the actual native annotation
actions. Both annotation candidate sets are captured before either reversible
mask changes the page, and the captured question identity is reused for the
reader-intent record instead of querying the changed DOM again.
Verification
pnpm checkpnpm packageunzip -t release/mkit-0.2.1.zipPR written by Codex