Your Identity
@@ -78,31 +83,28 @@
:icon-size="96"
:profile-image-url="profileImageUrl"
class="inline-block align-text-bottom border border-slate-300 rounded"
- @click="showLargeIdenticonUrl = profileImageUrl"
role="button"
aria-label="View profile image in large size"
tabindex="0"
+ @click="showLargeIdenticonUrl = profileImageUrl"
/>
-
-
-
+
+
+
@@ -124,7 +126,10 @@
-
+
@@ -171,14 +176,20 @@
{{ activeDid }}
- Copied
+ Copied
@@ -201,8 +212,8 @@
aria-live="polite"
>
- Before you can publicly announce a new project or time
- commitment, a friend needs to register you.
+ Before you can publicly announce a new project or time commitment, a
+ friend needs to register you.
-
+
@@ -297,7 +311,9 @@
class="bg-slate-100 rounded-md overflow-hidden px-4 py-4 mt-8 mb-8"
aria-labelledby="searchLocationHeading"
>
- Location for Searches
+
+ Location for Searches
+
Usage Limits
-
+
Checking…
-
+
{{ limitsMessage }}
@@ -468,9 +493,13 @@
class="text-blue-500 text-sm font-semibold mb-3 cursor-pointer"
@click="showAdvanced = !showAdvanced"
>
- {{ showAdvanced ? 'Hide Advanced Settings' : 'Show Advanced Settings' }}
+ {{ showAdvanced ? "Hide Advanced Settings" : "Show Advanced Settings" }}
-
+
Advanced Settings
Beware: the features here can be confusing and even change data in ways
@@ -642,8 +671,14 @@
Claim Server
-
- Claim Server Configuration
+
+
+ Claim Server Configuration
+
-
- Enter the URL for the claim server. You can use the buttons below to quickly set common server URLs.
+
+ Enter the URL for the claim server. You can use the buttons below to
+ quickly set common server URLs.
Error: {{ error }}
-
- {{ cameraStateMessage || 'Ready to scan' }}
+
+ {{ cameraStateMessage || "Ready to scan" }}
@@ -246,7 +251,7 @@ export default class ContactQRScanShow extends Vue {
initializationStatus = "Initializing camera...";
useQRReader = __USE_QR_READER__;
preferredCamera: "user" | "environment" = "environment";
- cameraState: CameraState = 'off';
+ cameraState: CameraState = "off";
cameraStateMessage?: string;
ETHR_DID_PREFIX = ETHR_DID_PREFIX;
@@ -321,36 +326,36 @@ export default class ContactQRScanShow extends Vue {
onStateChange: (state, message) => {
this.cameraState = state;
this.cameraStateMessage = message;
-
+
// Update UI based on camera state
switch (state) {
- case 'in_use':
+ case "in_use":
this.error = "Camera is in use by another application";
- this.isScanning = false;
- this.$notify(
- {
- group: "alert",
- type: "warning",
+ this.isScanning = false;
+ this.$notify(
+ {
+ group: "alert",
+ type: "warning",
title: "Camera in Use",
text: "Please close other applications using the camera and try again",
- },
- 5000,
- );
+ },
+ 5000,
+ );
break;
- case 'permission_denied':
- this.error = "Camera permission denied";
- this.isScanning = false;
- this.$notify(
- {
- group: "alert",
- type: "warning",
- title: "Camera Access Required",
+ case "permission_denied":
+ this.error = "Camera permission denied";
+ this.isScanning = false;
+ this.$notify(
+ {
+ group: "alert",
+ type: "warning",
+ title: "Camera Access Required",
text: "Please grant camera permission to scan QR codes",
- },
- 5000,
- );
+ },
+ 5000,
+ );
break;
- case 'not_found':
+ case "not_found":
this.error = "No camera found";
this.isScanning = false;
this.$notify(
@@ -363,7 +368,7 @@ export default class ContactQRScanShow extends Vue {
5000,
);
break;
- case 'error':
+ case "error":
this.error = this.cameraStateMessage || "Camera error";
this.isScanning = false;
break;
@@ -373,7 +378,8 @@ export default class ContactQRScanShow extends Vue {
// Check if scanning is supported first
if (!(await scanner.isSupported())) {
- this.error = "Camera access requires HTTPS. Please use a secure connection.";
+ this.error =
+ "Camera access requires HTTPS. Please use a secure connection.";
this.isScanning = false;
this.$notify(
{
@@ -408,9 +424,18 @@
>
{{ activeDid }}
- Copied
+ Copied
- Before you can publicly announce a new project or time - commitment, a friend needs to register you. + Before you can publicly announce a new project or time commitment, a + friend needs to register you.
Location for Searches
++ Location for Searches +
Usage Limits
-Advanced Settings
Beware: the features here can be confusing and even change data in ways @@ -642,8 +671,14 @@
Claim Server
-Claim Server Configuration
++ Claim Server Configuration +
-
Error: {{ error }}
- - {{ cameraStateMessage || 'Ready to scan' }} + + {{ cameraStateMessage || "Ready to scan" }}