feature/import-about #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/import-about"
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?
Notes import - Updated export format (v2) to include a "Medication ID:" line per note block so files can be round-tripped. Old-format files are rejected with a clear message ("re-export with current version"). - Added NotesManager.importNotes(uri): reads a v2 export file selected via the system file picker, inserts notes into Room using the embedded IDs. - Added ViewModel.importNotes(uri) with the same loading/message pattern as export (isRefreshing spinner, 3-second feedback message in the active language). - Import item added to the overflow menu (below Export); uses rememberLauncherForActivityResult(OpenDocument) in the list screen so no Activity subclass is needed. About screen - New AboutScreen.kt: app name, version from BuildConfig.VERSION_NAME, author, email, disclaimer — all from string resources so FR/NL both work. - Enabled buildConfig = true in build.gradle.kts (disabled by default in AGP 8+); required for BuildConfig.VERSION_NAME. - About item added to overflow menu below a divider. - "about" route wired in MainActivity NavHost. - Placeholder strings added to values/ and values-nl/ — fill in name, email, and disclaimer text in strings.xml before release. Version - versionCode 10, versionName "0.10" (already bumped locally, now committed). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>The link label and button text both used the primary colour, making the RCP link indistinguishable from other detail row labels. - Link text now uses MaterialTheme.colorScheme.tertiary (a distinct accent colour) with TextDecoration.Underline, so it reads as a hyperlink rather than a plain label. - Hardcoded English "Open RCP Document" replaced with localised string resources ("Ouvrir le document RCP" / "RCP-document openen"). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>