Skip to content

feat: add left sidebar keyboard shortcut - #331

Open
salmonumbrella wants to merge 1 commit into
maathimself:mainfrom
salmonumbrella:feat/left-sidebar-shortcut
Open

feat: add left sidebar keyboard shortcut#331
salmonumbrella wants to merge 1 commit into
maathimself:mainfrom
salmonumbrella:feat/left-sidebar-shortcut

Conversation

@salmonumbrella

Copy link
Copy Markdown
Contributor

Summary

Adds a configurable Command+Backslash shortcut to expand or collapse the left inbox sidebar, matching the existing Command+Slash right-sidebar shortcut pattern.

Changes

  • add toggleLeftSidebar to the existing shortcut map with ctrl+\\ as the cross-platform default
  • dispatch the action through the shared shortcut bus to the persisted desktop sidebar toggle
  • reuse one 0.2s ease transition helper for left-sidebar width and GTD/right-sidebar width and transform animations
  • add localized shortcut labels and focused regression coverage

Testing

  • npm run lint (frontend and backend)
  • npm run build (frontend)
  • npm test (frontend: 1,548 passed)
  • backend test suite on Node 22 (987 passed)
  • npm audit --omit=dev --audit-level=high (frontend and backend)
  • git diff --check

Contributor License Agreement

By submitting this pull request I confirm that:

  • I have read and agree to the Contributor License Agreement.
  • My contribution is my own original work (or I have identified any
    third-party material and confirmed it is compatible with the CLA).
  • I have the right to submit this contribution under the terms of the CLA.

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.

1 participant