Skip to content

Add Search / Select Bar to the Document Viewer Pane #2660

@Alok-S-Sharma

Description

@Alok-S-Sharma

This request proposes enhancing the existing Viewer-side document explorer with a search/filter capability, rather than introducing a new panel.

Problem Description

While writing, I often need to quickly reference other project elements such as chapters, scenes, characters, locations, or notes.

The Document Viewer Pane already allows viewing reference material such as Characters, Locations, and other project documents without disrupting the editor. This makes it ideal for reading and cross-referencing information while writing.

However, selecting what document to view currently relies on manual navigation and scrolling via existing lists or panels. In larger projects, this becomes inefficient when the goal is to quickly locate and view a specific document.

At the same time, Find in Project already exists, but accidentally pressing Enter opens the document in the editor, which shifts focus and interrupts the writing flow when the intent is only to reference information.

This workflow breaks writing focus and adds unnecessary friction, especially in large projects with many documents. The mental and physical effort of repeatedly navigating the project tree becomes fatiguing over time.

Proposed Solution

Add a search / select bar at the top of the Document Viewer Pane, above the viewer content.

This proposal intentionally does not change the existing viewer layout, panels, or behavior. It only adds a fast, dedicated way to select which document is displayed in the Viewer.

Suggested behavior:

  • Add a searchable selector bar at the top of the Viewer pane
  • Clicking the bar opens a list of all project documents
    • Optionally shown as:
      • A tree (mirroring project structure), or
      • A flat, searchable list
  • As the user types, the list dynamically narrows based on:
    • Document title
    • Keywords
    • Type (scene, character, location, note, etc.)
  • Selecting a document instantly loads it into the Viewer pane

This turns the Viewer into a context-aware reference panel, allowing writers to keep important documents “on standby” while continuing to write.

Benefits

  • Significantly reduces context switching and cognitive load
  • Faster access to reference material during writing
  • Especially helpful for:
    • Large projects
    • Character-heavy or location-rich stories
  • Writers who frequently cross-reference documents
  • Keeps the writing flow uninterrupted

Alternative Solutions Considered

  • Continuing to rely on manual scrolling and selection methods for viewing documents
  • Using Find in Project despite it opening documents in the editor
  • Navigating the Project Tree and manually loading documents into the Viewer

All of these work, but they scale poorly as project size and reference material grow.

Screenshots / Visual Reference

Image

(Attached screenshot shows a similar concept where a Search / Select Bar allows selecting project elements to keep visible while writing.)

Summary

This feature would be an evolution of the existing Document Viewer, not a replacement.
By adding a lightweight, searchable document selector, novelWriter can make cross-referencing faster, reduce navigation fatigue, and further strengthen its reputation as a writer-centric tool designed for long-form projects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementEnhancement: New feature or improvementuser interfaceComponent: General user interface

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions