Repository navigation
Conversation
Member
|
Note This comment is posted by Julius' dot Closing under the prior direction and scope requirement. This replaces the existing PDF preview with a dedicated reader and introduces region annotations collected into prompts, including new snapshot/reload behavior. It is a new document-review workflow, beyond configuration of an established capability. The linked Ideas discussion #13873 currently has no maintainer response approving that direction or scope. Please obtain explicit scope approval in that discussion, then request reconsideration of an aligned PR. Draft/reference status does not postpone triage. The research/LaTeX use case, working prototype recordings and focused tests remain useful input to that discussion. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Researchers and students reviewing papers or compiled LaTeX drafts need to point at a figure, equation, or paragraph and ask an agent about it. Existing PDF previews leave them taking screenshots manually to collect several comments.
PDFs now open in a PDF.js reader in the right sidebar, beside the conversation. Drag an area to open a nearby annotation popup, write a comment, and choose Attach or press Enter. Delete or Escape discards the selection. Repeat across pages or documents to collect screenshots, comments, document references, and page numbers in one prompt. PDF links in messages and unsent PDF attachments use the same sidebar. Removing a note removes its paired image; the source PDF is unchanged.
The reader keeps a snapshot of the loaded document. Agent commands, workspace revisions, and renewed asset URLs no longer remount it or discard an open comment. Actual content changes offer Load new version; accepting replaces the snapshot and resets the open selection/comment. Page navigation and captures use the loaded bytes until then. Long note titles and comments stay within their cards, with full titles available in a tooltip.
Proposal and scope discussion: #13873. This draft is an implementation reference for that discussion.
Demonstration
The following recordings show the original annotation flow. The snapshot and note-card fixes have automated/build verification; a new visual recording has not been made for these fixes.
Sidebar annotation demo
Two notes beside the composer · Native Electron evidence
Validation
Integrated against upstream main at
ea7d46ac. Original desktop recordings use the v0.0.42 prototype.Model: GPT-6. Harness: Codex.