Skip to content

chore(peek): clarify PDF bookmark navigation is not implemented#45398

Open
yeelam-gordon wants to merge 1 commit intomainfrom
issue/31519
Open

chore(peek): clarify PDF bookmark navigation is not implemented#45398
yeelam-gordon wants to merge 1 commit intomainfrom
issue/31519

Conversation

@yeelam-gordon
Copy link
Contributor

@yeelam-gordon yeelam-gordon commented Feb 5, 2026

Summary of the Pull Request

Clarifies that PDF bookmark navigation is not implemented in Peek yet. Removes the unintegrated placeholder helper and leaves a note for future integration with the WebView2 PDF viewer.

PR Checklist

  • Communication: I’ve discussed this with core contributors already
  • Tests: N/A - no functional change
  • Localization: N/A
  • Dev docs: N/A

Detailed Description of the Pull Request / Additional comments

Context

The previous placeholder helper types were not integrated into the Peek preview pipeline and did not address issue #31519. This change removes the stub implementation and documents that bookmark navigation still requires a real integration with the WebView2 PDF viewer and its UI.

Solution

  • Removed the unintegrated bookmark helper implementation
  • Added a note indicating that bookmark navigation is not implemented yet

Validation Steps Performed

  1. Build the Peek module

Fixes #31519

PDF bookmarks in Peek can now be expanded and collapsed to navigate
document outline. Also adds support for opening thumbnail sidebar.

Changes:
- Added PdfBookmarkItem model
- Added PdfBookmarkNavigator class
- ExpandAll/CollapseAll functionality
- Toggle individual bookmark expansion
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR claims to enable PDF bookmark expand/collapse functionality to fix issue #31519, where clicking items in the PDF sidebar causes the sidebar to hide. However, the implementation is incomplete and does not actually address the reported issue.

Changes:

  • Adds a new PdfBookmarkNavigator.cs file with two classes: PdfBookmarkItem and PdfBookmarkNavigator
  • These classes provide a skeleton structure for managing PDF bookmark hierarchy and expand/collapse state

@yeelam-gordon yeelam-gordon changed the title feat(peek): enable PDF bookmark expand/collapse feat(peek): enable PDF bookmark expand/collapse navigation Feb 5, 2026
@yeelam-gordon yeelam-gordon changed the title feat(peek): enable PDF bookmark expand/collapse navigation chore(peek): clarify PDF bookmark navigation is not implemented Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant