Skip to content

Code note: show filename and path in title bar #76

@kordless

Description

@kordless

Problem

Code sticky notes opened via sticky_note_create_code don't display the filename or path anywhere in the note UI. When multiple code notes are open it's unclear which file each one shows.

Proposed solution

  • Display the filename (e.g. compressor.rs) prominently in the title bar
  • Show the relative or abbreviated path as a subtitle or tooltip (e.g. sidecar/src/ghost/compressor.rs)
  • Truncate long paths from the left with so the filename is always visible

Notes

The file_path is already passed to the sidecar at creation time — just needs to be surfaced in the renderer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions