[feat]: add back/forward navigation buttons
Feature Summary
Add browser-style back and forward navigation controls to the UI, so users can move through navigation history more intuitively.
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 >
Thanks for creating the issue @maxonary If you happen to have a branch with the changes already, would be happy to see a PR:)))))
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 :)
Im working on this right now
Sick thank you!