feat(score): add apple pencil and stylus annotation overlay to sheet music and slide view

Synced from GitHub: hymns-for-worship/issues#217 opened by @dkladd on 2026-04-01T05:39:39Z


Can you add the ability for users to annotate on sheet music or slides with a stylus, Apple Pencil or their finger in preview mode?

Automated Issue Triage

Metadata Updates:

  • Verified label: enhancement (58)
  • Updated title: feat(score): add apple pencil and stylus annotation overlay to sheet music and slide view

Codebase Analysis & Implementation Touchpoints:

  1. Interactive Annotation Layer:
    • In [packages/hfw_flutter/ios/Runner/](file:///Users/rodydavis/dev/gitea-repos/rodydavis/hymns-for-worship/packages/hfw_flutter/ios/Runner/) and Flutter sheet music presentation components, implement a drawing layer over the sheet music viewport using PencilKit (on iOS/iPadOS) or a cross-platform vector stroke canvas (CustomPainter).
  2. Stroke Data Serialization & Storage:
    • Store serialized stroke paths per hymn ID and page number in PowerSync SQLite (hymn_annotations table) with undo/redo stacks and toggleable annotation visibility.