emdash icon indicating copy to clipboard operation
emdash copied to clipboard

[feat]: add back/forward navigation buttons

Open maxonary opened this issue 8 months ago • 4 comments

Feature Summary

Add browser-style back and forward navigation controls to the UI, so users can move through navigation history more intuitively.

Image

Problem or Use Case

Right now, moving back and forth between previously viewed screens feels less discoverable than it should be, especially for users who expect standard desktop navigation patterns.

This is most noticeable when:

  • navigating between views, tasks, settings, or browser-like panes
  • wanting to quickly return to the previous worktree/context without manually re-finding it
  • using Emdash on macOS, where swipe navigation is a very strong platform convention

Proposed Solution

Introduce visible back and forward buttons in the top navigation area, similar to standard browser controls.

Suggested behavior:

  • maintain a local navigation history stack for view transitions
  • enable/disable back and forward depending on history availability
  • support keyboard shortcuts where applicable
  • on macOS, map three-finger horizontal swipe gestures to the same history navigation actions?
  • make the gesture support feel native, not custom or overly sensitive

Alternatives Considered

Keyboard shortcuts only: helpful for power users, but not discoverable enough

Rely on existing in-app navigation only: works functionally, but misses a familiar UX pattern users already expect

Mac gestures without visible buttons: good for native feel on macOS, but excludes non-Mac users and reduces discoverability

Additional Context

I’m specifically referring to browser-like back/forward controls like these:

back arrow <

forward arrow >

maxonary avatar Mar 14 '26 22:03 maxonary

Thanks for creating the issue @maxonary If you happen to have a branch with the changes already, would be happy to see a PR:)))))

arnestrickmann avatar Mar 15 '26 20:03 arnestrickmann

If @maxonary doesn't happen to have a branch with this feature. Can I take this up! I would be happy to work on this. Else, no problem at all :)

singhvibhanshu avatar Mar 16 '26 07:03 singhvibhanshu

Im working on this right now

maxonary avatar Mar 16 '26 07:03 maxonary

Sick thank you!

arnestrickmann avatar Mar 16 '26 16:03 arnestrickmann