38 lines
1.3 KiB
Markdown
38 lines
1.3 KiB
Markdown
---
|
|
epic: 7
|
|
story: 7.10
|
|
title: "Widgets (Notification Center)"
|
|
status: draft
|
|
---
|
|
|
|
## Epic 7 — macOS App (Swift/SwiftUI)
|
|
**Goal:** A beautiful, native macOS app that feels like it belongs on the platform.
|
|
|
|
### Story 7.10: Widgets (Notification Center)
|
|
|
|
As a **macOS user**,
|
|
I want CalcPad widgets in Notification Center and the Lock Screen,
|
|
So that I can glance at pinned calculation results without opening the app.
|
|
|
|
**Acceptance Criteria:**
|
|
|
|
**Given** the user adds a CalcPad small widget to Notification Center
|
|
**When** the widget is configured with a pinned calculation
|
|
**Then** the widget displays the current result of that calculation
|
|
|
|
**Given** the user adds a CalcPad medium widget to Notification Center
|
|
**When** the widget is configured with a pinned sheet
|
|
**Then** the widget displays the last 5 lines of that sheet with their results
|
|
|
|
**Given** a pinned calculation's inputs change (e.g., a variable in the sheet is updated)
|
|
**When** the widget timeline refreshes
|
|
**Then** the widget shows the updated result
|
|
|
|
**Given** the user adds a CalcPad Lock Screen widget
|
|
**When** the Lock Screen is displayed
|
|
**Then** the widget shows the pinned calculation result in a compact format
|
|
|
|
**Given** the user taps/clicks on the widget
|
|
**When** the system processes the interaction
|
|
**Then** CalcPad opens and navigates to the relevant sheet
|