Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Enhancement: Magnifying glass UX for resolved ambiguous comments #27

Description

@nikomatsakis

Enhancement Request

Improve the UX for resolved ambiguous comments by adding a magnifying glass icon that provides easy access to relocation functionality.

Current Behavior

  • Ambiguous comments show generic text until resolved
  • After resolution, sidebar shows the chosen location (e.g., "server/src/main.rs:15")
  • To relocate, user must click the comment again and go through disambiguation

Proposed Enhancement

For resolved ambiguous comments, show:

  • Chosen location text (current behavior)
  • Magnifying glass icon 🔍 next to the text

Click behavior:

  • Click text → Navigate to the comment location (current behavior)
  • Click magnifying glass → Show relocation dialog directly

Benefits

  • Clear visual indication that relocation is available
  • Faster access to relocation without full re-disambiguation
  • Better separation of navigation vs relocation actions

Implementation Notes

  • Requires updating sidebar HTML generation
  • Need separate click handlers for text vs icon
  • Should preserve current navigation behavior for text clicks

Priority

Nice-to-have enhancement. Core functionality works well without this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions