Files
ItemSense/specs/003-result-display.md

897 B

Feature: Result Display (PyObjC)

Status: COMPLETE

Description

Display the analysis results natively in the AppKit UI.

Requirements

  1. Result UI:

    • Add a scrollable NSTextView (within an NSScrollView) below the image view.
    • Initially empty or hidden.
  2. Workflow:

    • Live Mode: Camera active, Button says "Capture", Text view hidden/empty.
    • Processing Mode: specific indication.
    • Result Mode: Camera paused on captured frame, Button says "Scan Another", Text view shows description.
  3. Data Binding:

    • Update the NSTextView string with the OpenAI response.
    • Clicking "Scan Another" resets the UI to Live Mode.

Acceptance Criteria

  • App cycles correctly: Capture -> Result -> Scan Another -> Capture.
  • Result text is readable in a native macOS scroll view.
  • Window resizing layout remains sane.