From 41dad3254d62f784ae506d63c73c6c7b77ee326b Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sat, 7 Jun 2025 15:33:29 -0600 Subject: [PATCH] fix a non-existent description, move the description right below the image --- BUILDING.md | 5 +++-- src/components/ActivityListItem.vue | 20 ++++++++++---------- src/components/DataExportSection.vue | 3 +-- src/main.web.ts | 4 ++-- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index 8e21d218..c83b64db 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -353,7 +353,7 @@ Prerequisites: macOS with Xcode installed ``` cd ios/App - xcrun agvtool new-version 15 + xcrun agvtool new-version 21 # Unfortunately this edits Info.plist directly. #xcrun agvtool new-marketing-version 0.4.5 cat App.xcodeproj/project.pbxproj | sed "s/MARKETING_VERSION = .*;/MARKETING_VERSION = 0.4.7;/g" > temp @@ -376,10 +376,11 @@ Prerequisites: macOS with Xcode installed * Under "General" renamed a bunch of things to "Time Safari" * Choose Product -> Destination -> Any iOS Device * Choose Product -> Archive - * This will trigger a build and take time, needing user's "login" keychain password which is just their login password, repeatedly. + * This will trigger a build and take time, needing user's "login" keychain password (user's login password), repeatedly. * If it fails with `building for 'iOS', but linking in dylib (.../.pkgx/zlib.net/v1.3.0/lib/libz.1.3.dylib) built for 'macOS'` then run XCode outside that terminal (ie. not with `npx cap open ios`). * Click Distribute -> App Store Connect * In AppStoreConnect, add the build to the distribution: remove the current build with the "-" when you hover over it, then "Add Build" with the new build. + * May have to go to App Review, click Submission, then hover over the build and click "-". * It can take 15 minutes for the build to show up in the list of builds. * You'll probably have to "Manage" something about encryption, disallowed in France. * Then "Save" and "Add to Review" and "Resubmit to App Review". diff --git a/src/components/ActivityListItem.vue b/src/components/ActivityListItem.vue index 51b2ab36..565fcdaf 100644 --- a/src/components/ActivityListItem.vue +++ b/src/components/ActivityListItem.vue @@ -46,7 +46,7 @@
+ +

+ + {{ description }} + +

+
- - -

- - {{ description }} - -

@@ -222,7 +222,7 @@ export default class ActivityListItem extends Vue { const claim = (this.record.fullClaim as unknown).claim || this.record.fullClaim; - return `${claim.description}`; + return `${claim?.description || ""}`; } private displayAmount(code: string, amt: number) { diff --git a/src/components/DataExportSection.vue b/src/components/DataExportSection.vue index c44cab7b..d7581b13 100644 --- a/src/components/DataExportSection.vue +++ b/src/components/DataExportSection.vue @@ -74,7 +74,6 @@ import { PlatformCapabilities, } from "../services/PlatformService"; import { contactsToExportJson } from "../libs/util"; -import { db } from "../db/index"; /** * @vue-component @@ -177,7 +176,7 @@ export default class DataExportSection extends Vue { type: "success", title: "Export Successful", text: this.platformCapabilities.hasFileDownload - ? "See your downloads directory for the backup. It is in JSON format." + ? "See your downloads directory for the backup." : "The backup file has been saved.", }, 3000, diff --git a/src/main.web.ts b/src/main.web.ts index 1b459cdc..dc5d1e56 100644 --- a/src/main.web.ts +++ b/src/main.web.ts @@ -5,8 +5,8 @@ import { logger } from "./utils/logger"; const platform = process.env.VITE_PLATFORM; const pwa_enabled = process.env.VITE_PWA_ENABLED === "true"; -logger.error("[Web] PWA enabled", { pwa_enabled }); -logger.error("[Web] Platform", { platform }); +logger.info("[Web] PWA enabled", { pwa_enabled }); +logger.info("[Web] Platform", { platform }); // Only import service worker for web builds if (platform !== "electron" && pwa_enabled) {