--- epic: 7 story: 7.8 title: "Spotlight & Quick Look" status: draft --- ## Epic 7 — macOS App (Swift/SwiftUI) **Goal:** A beautiful, native macOS app that feels like it belongs on the platform. ### Story 7.8: Spotlight & Quick Look As a **macOS user**, I want CalcPad sheets to be indexed by Spotlight and previewable via Quick Look, So that I can find and preview my calculations from Finder and Spotlight search without opening the app. **Acceptance Criteria:** **Given** a sheet named "Tax Calculations 2026" is saved **When** the user searches "Tax Calculations" in Spotlight **Then** the CalcPad sheet appears in the search results **And** selecting it opens the sheet in CalcPad **Given** CalcPad sheets are saved as files **When** the app indexes them using `CSSearchableItem` **Then** the index includes the sheet title, content keywords, and last-modified date **Given** the user selects a `.calcpad` file in Finder and presses Space **When** Quick Look is triggered **Then** a formatted preview of the sheet is displayed showing the two-column layout (expressions and results) **Given** a sheet is deleted in CalcPad **When** the deletion is processed **Then** the corresponding Spotlight index entry is removed