JSON/Markdown-Export via Share Intent (ViewModel + UI) #37
Labels
No labels
block-planning
bug
documentation
duplicate
enhancement
feature
good first issue
help wanted
infrastructure
invalid
planning
priority:high
priority:low
question
refactoring
status:backlog
status:done
status:in-progress
status:todo
tech-decision
test
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: bollwerkadmin/bollwerk#37
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Feature: JSON/Markdown-Export via Share Intent
Part of: #9
Depends on: #36 (Markdown-Export Repository-Methode)
Ziel
Nach Abschluss kann der User ueber die Einstellungen-Seite sein Inventar als JSON oder Markdown exportieren. Der Export oeffnet das Android Share Sheet (Teilen-Dialog) oder speichert in eine Datei.
Scope
exportJson()undexportMarkdown()MethodenIntent.ACTION_SENDmit text/plain (Markdown) bzw. application/json (JSON)Technische Hinweise
SettingsScreen.kt(Zeile 114-140) sind Platzhalter mit ToastImportExportRepository.exportToJson()und (neu)exportToMarkdown()vorhandenLaunchedEffectfuer einmalige AktionenIntent(Intent.ACTION_SEND).apply { type = "application/json"; putExtra(Intent.EXTRA_STREAM, uri) }Akzeptanzkriterien
Abgeschlossen (2025-05-14)
Zyklen: 1
Tests: ✅ 165 Tests, 0 Fehler (14 in SettingsViewModelTest, davon 8 neu)
Implementierte Artefakte