46 lines
1.4 KiB
Markdown
46 lines
1.4 KiB
Markdown
---
|
|
epic: 7
|
|
story: 7.11
|
|
title: "Keyboard Shortcuts"
|
|
status: draft
|
|
---
|
|
|
|
## Epic 7 — macOS App (Swift/SwiftUI)
|
|
**Goal:** A beautiful, native macOS app that feels like it belongs on the platform.
|
|
|
|
### Story 7.11: Keyboard Shortcuts
|
|
|
|
As a **macOS user**,
|
|
I want comprehensive keyboard shortcuts for all common actions,
|
|
So that I can work efficiently without reaching for the mouse.
|
|
|
|
**Acceptance Criteria:**
|
|
|
|
**Given** the app is active
|
|
**When** the user presses Cmd+N
|
|
**Then** a new sheet is created
|
|
|
|
**Given** the app is active
|
|
**When** the user presses Cmd+T
|
|
**Then** a new tab is opened (if tabbed interface is supported)
|
|
|
|
**Given** the user selects text in the answer column
|
|
**When** the user presses Cmd+Shift+C
|
|
**Then** the selected result value is copied to the clipboard (formatted)
|
|
|
|
**Given** the app is active
|
|
**When** the user presses Cmd+Comma
|
|
**Then** the Preferences/Settings window opens
|
|
|
|
**Given** the user is in the editor
|
|
**When** the user presses Cmd+Enter
|
|
**Then** the current line is evaluated (or the designated action for Cmd+Enter is triggered)
|
|
|
|
**Given** the user wants to customize shortcuts
|
|
**When** the user opens System Settings > Keyboard > Keyboard Shortcuts > App Shortcuts
|
|
**Then** CalcPad menu items are available for custom shortcut assignment
|
|
|
|
**Given** a custom shortcut conflicts with a system shortcut
|
|
**When** the user assigns it
|
|
**Then** macOS standard behavior applies (app shortcut is overridden by system, or the user is warned)
|