Skip to content

Add History menu with Back/Forward keyboard shortcuts#505

Closed
Copilot wants to merge 3 commits intomainfrom
copilot/implement-history-menu-shortcuts
Closed

Add History menu with Back/Forward keyboard shortcuts#505
Copilot wants to merge 3 commits intomainfrom
copilot/implement-history-menu-shortcuts

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 28, 2026

Adds Chrome-equivalent Back/Forward navigation shortcuts to the app menu bar under a new "History" menu, wired to the selected account's Gmail webContents navigation history.

Changes

  • New "History" menu in packages/app/menu.ts, inserted between View and Accounts (matching Chrome's menu order)
    • Back: Cmd+[ (macOS) / Alt+Left (Windows/Linux)
    • Forward: Cmd+] (macOS) / Alt+Right (Windows/Linux)
  • Each item calls navigationHistory.goBack() / navigationHistory.goForward() directly on the selected account's Gmail WebContentsView — the same Electron API backing the existing titlebar nav buttons
  • Added scripts/*.js to .gitignore to prevent generated build artifacts from being tracked
Original prompt

implement keyboard shortcuts for back and forward. the shortcuts should be added to the app menu under a new menu "history" (like in chrome). the shortcuts should be same like in chrome (cmd + [ and cmd + ] and the equivalent for windows/linux). the shortcuts should trigger back and forward on the selected account gmail view.


💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

@timche timche marked this pull request as ready for review March 28, 2026 01:32
Copilot AI changed the title [WIP] Add keyboard shortcuts for back and forward in history menu Add History menu with Back/Forward keyboard shortcuts Mar 28, 2026
Copilot AI requested a review from timche March 28, 2026 01:35
@timche timche closed this Mar 30, 2026
@timche timche deleted the copilot/implement-history-menu-shortcuts branch April 18, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants