Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(connect): t3 connect checks that other devices can reach this machine #22172

Mergedt3dotgg(GitHub profile, opens in a new tab)merged 10 commits intomain fromrefs/pull/22172/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

Showing 22 changed files with 119 additions and 9 deletions (loading 20).

x
0 of 22 viewed, 22 left
10 additions and 1 deletionapps/mobile/src/features/connection/ConnectionDiagnosisDetails.tsxModified
View file
@@ -12,7 +12,7 @@
import Constants from "expo-constants";
import * as Option from "effect/Option";
import { AsyncResult } from "effect/reactivity";
-import { View } from "react-native";
+import { Linking, View } from "react-native";
​
import { AppText as Text } from "../../components/ui/AppText";
import { Button } from "../../components/ui/Button";
@@ -52,6 +52,7 @@
readonly diagnosis: ConnectionDiagnosis;
}) {
const { diagnosis } = props;
+ const { moreInfoUrl } = diagnosis;
return (
<View className="gap-3">
<View className="gap-0.5">
@@ -87,6 +88,14 @@
});
}}
/>
+ {moreInfoUrl ? (
+ <Button
+ label="More info"
+ icon="safari"
+ tone="secondary"
+ onPress={() => void Linking.openURL(moreInfoUrl).catch(() => undefined)}
+ />