Native SwiftUI-Universal-App (iOS / iPadOS / macOS) für Zitare — Hybrid (WKWebView + Widget + ShareExt + native Submit) unter ev.mana.zitare.
Auto-Flush hat 4xx-Errors (duplicate, validation_failed, unauthorized) bisher stillschweigend gedroppt — User offline einreichen, im Web denselben Text posten, Online gehen → die Native-Submission war weg ohne Hinweis. SubmissionQueue: - struct DropRecord (textPreview, authorName, code, message, droppedAt) - private(set) var dropNotifications: [DropRecord] - tryFlush sammelt jetzt einen Pre-Delete-Snapshot in dropNotifications - consumeDropNotifications() leert die Liste — UI ruft beim Banner-Quittieren auf SubmitQuoteView: - droppedBanner zeigt alle gedroppten Drafts mit Text-Preview + lokalisierter Error-Message - "Quittieren"-Button leert nur die UI-State (Server-Drop ist final) - harvestDropNotifications() läuft nach jedem flushPending iOS + macOS BUILD SUCCEEDED. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| devlog | ||
| docs | ||
| scripts | ||
| ShareExtension | ||
| Sources | ||
| Tests | ||
| Widgets/ZitareWidget | ||
| .gitignore | ||
| .swiftformat | ||
| .swiftlint.yml | ||
| CLAUDE.md | ||
| PLAN.md | ||
| project.yml | ||
| README.md | ||
zitare-native
Native SwiftUI-Universal-App (iOS / iPadOS / macOS) für Zitare, den öffentlichen Zitat-Korpus des Vereins mana e.V.
Hybrid-Architektur. Lese-Surfaces laufen im
WKWebViewgegenzitare.com. Native-Code ist nur dort, wo Native einen Distributions-Hebel hat: Home-Screen-Widget, ShareExtension, Spotlight-Index und Submit-View. Anders als cards-native, memoro-native und manaspur-native (alle „pure SwiftUI") — die Begründung steht im Playbook.
Status
Phase ζ-0 — Setup. Repo-Skelett, project.yml, leerer Build.
Vollständiger 7-Phasen-Plan in
../mana/docs/playbooks/ZITARE_NATIVE_GREENFIELD.md.
Phasen-Tracking in PLAN.md.
Lokal entwickeln
brew install xcodegen swiftformat swiftlint
xcodegen generate
open ZitareNative.xcodeproj
Voraussetzung: ../mana-swift-core/ und ../mana-swift-ui/ als
Schwester-Verzeichnisse (Package-Dependencies via path:).
Bundle-IDs
| Target | Bundle |
|---|---|
| App | ev.mana.zitare |
| Widget Extension | ev.mana.zitare.widget |
| Share Extension | ev.mana.zitare.share |
| App Group | group.ev.mana.zitare |
Cross-Refs
- Playbook:
../mana/docs/playbooks/ZITARE_NATIVE_GREENFIELD.md - Web-App:
../zitare/CLAUDE.md - Plattform-SOT:
../mana/docs/MANA_SWIFT.md - Shared Code:
../mana-swift-core/,../mana-swift-ui/