--- epic: 7 story: 7.6 title: "Sheets Sidebar" status: draft --- ## Epic 7 — macOS App (Swift/SwiftUI) **Goal:** A beautiful, native macOS app that feels like it belongs on the platform. ### Story 7.6: Sheets Sidebar As a **macOS user**, I want a sidebar that lists my sheets and folders, So that I can organize, navigate, and manage multiple calculation documents easily. **Acceptance Criteria:** **Given** the app is launched with multiple saved sheets **When** the main window appears **Then** a `NavigationSplitView` sidebar on the left shows all sheets and folders in a tree structure **Given** the sidebar is visible **When** the user clicks on a sheet name **Then** the two-column editor loads that sheet's content **Given** multiple sheets exist in the sidebar **When** the user drags a sheet to a new position **Then** the sheet reorders in the sidebar and the new order persists **Given** a sheet exists in the sidebar **When** the user swipes left on the sheet name (trackpad gesture) **Then** a delete action is revealed; confirming it deletes the sheet **Given** a sheet or folder exists in the sidebar **When** the user right-clicks (or Control-clicks) on the item **Then** a context menu appears with options such as Rename, Duplicate, Move to Folder, Delete **Given** the user creates a new folder in the sidebar **When** the user drags sheets into that folder **Then** the sheets appear nested under the folder, and the folder can be collapsed/expanded