Problem
Annotations retain useful source information such as the workspace, tab, and pane. However, when reviewing an annotation later, there is no quick way to return to the exact location in the original Herdr session where the annotated text appeared.
This is especially inconvenient for long-running or multiple sessions: the copied text alone may not provide enough surrounding context, and manually locating it in the session history can be difficult.
Proposed behavior
Add an action in the annotation manager that navigates from the selected annotation to its original location in the Herdr session transcript/scrollback.
For example:
- Open the annotation manager.
- Select an annotation.
- Press
Enter to focus the original workspace, tab, and pane.
- Scroll the session to the captured text and bring it into view.
The annotation could store a stable session/location reference at capture time, such as a session ID together with a scrollback or message anchor, depending on what Herdr exposes.
Graceful fallback
If the exact location is no longer available—for example, because the session was closed or its scrollback was discarded—the manager should show a clear message. If possible, it could still focus the original workspace/tab/pane.
Existing annotations without location metadata should remain usable, with the jump action reported as unavailable.
Acceptance criteria
- Newly captured annotations retain enough provenance to identify their original session location.
- The annotation manager exposes a keyboard action to jump to the selected annotation's source.
- The original session and pane are focused, with the annotated location visible.
- Missing or expired locations fail gracefully.
- Existing stored annotations remain backward-compatible.
Problem
Annotations retain useful source information such as the workspace, tab, and pane. However, when reviewing an annotation later, there is no quick way to return to the exact location in the original Herdr session where the annotated text appeared.
This is especially inconvenient for long-running or multiple sessions: the copied text alone may not provide enough surrounding context, and manually locating it in the session history can be difficult.
Proposed behavior
Add an action in the annotation manager that navigates from the selected annotation to its original location in the Herdr session transcript/scrollback.
For example:
Enterto focus the original workspace, tab, and pane.The annotation could store a stable session/location reference at capture time, such as a session ID together with a scrollback or message anchor, depending on what Herdr exposes.
Graceful fallback
If the exact location is no longer available—for example, because the session was closed or its scrollback was discarded—the manager should show a clear message. If possible, it could still focus the original workspace/tab/pane.
Existing annotations without location metadata should remain usable, with the jump action reported as unavailable.
Acceptance criteria