diff --git a/app.json b/app.json index c4b09fc3..c03e56fe 100644 --- a/app.json +++ b/app.json @@ -3,7 +3,7 @@ "name": "Pulse", "slug": "pulse-camera", "owner": "mieweb", - "version": "2.5.0", + "version": "2.6.0", "orientation": "portrait", "icon": "./assets/images/icon.png", "scheme": "pulsecam", @@ -40,7 +40,7 @@ "android.permission.READ_MEDIA_VISUAL_USER_SELECTED" ], "package": "com.mieweb.pulse", - "versionCode": 20500 + "versionCode": 20600 }, "web": { "output": "static", diff --git a/package-lock.json b/package-lock.json index 83d8b2d3..58d33ab1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pulse", - "version": "2.5.0", + "version": "2.6.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "pulse", - "version": "2.5.0", + "version": "2.6.0", "hasInstallScript": true, "dependencies": { "@expo/ui": "~57.0.26", diff --git a/package.json b/package.json index 30bf4802..42fbfdf4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "pulse", "main": "expo-router/entry", - "version": "2.5.0", + "version": "2.6.0", "engines": { "node": ">=24.3.0" }, diff --git a/src/app/about.tsx b/src/app/about.tsx index 18839a36..7821261d 100644 --- a/src/app/about.tsx +++ b/src/app/about.tsx @@ -62,6 +62,9 @@ const COMPATIBILITY_URL = `https://mieweb.github.io/pulse/compatibility.html?app build.version, )}&protocol=${APP_PROTOCOL.min}-${APP_PROTOCOL.max}`; +/** A new GitHub issue on the app's repo: Copy details or Share logs gives it the bug report. */ +const NEW_ISSUE_URL = 'https://github.com/mieweb/pulse/issues/new'; + /** * About (#155): version, build number, commit and build date — all injected at build time by * `app.config.ts` — plus this app's upload protocol, whether each paired server is compatible, @@ -262,6 +265,19 @@ export default function AboutScreen() { )} Share logs + void Linking.openURL(NEW_ISSUE_URL)} + accessibilityRole="link" + accessibilityLabel="Report an issue" + accessibilityHint="Opens a new issue for Pulse on GitHub" + style={({ pressed }) => [ + styles.inlineButton, + { borderTopColor: theme.border, borderTopWidth: StyleSheet.hairlineWidth }, + pressed && { backgroundColor: theme.backgroundSelected }, + ]}> + + Report an issue + diff --git a/src/components/icon.tsx b/src/components/icon.tsx index c1d1c717..acd0a88b 100644 --- a/src/components/icon.tsx +++ b/src/components/icon.tsx @@ -3,6 +3,7 @@ import { ArrowDownToLine, ArrowRight, AudioWaveform, + Bug, Camera, Captions, Check, @@ -104,6 +105,7 @@ const ANDROID_GLYPHS: Partial> = { gyroscope: Orbit, 'info.circle': Info, 'info.circle.fill': Info, + ladybug: Bug, 'line.3.horizontal': GripHorizontal, link: Link, 'lock.fill': Lock,