diff --git a/src/components/auth/PasskeyLogin.vue b/src/components/auth/PasskeyLogin.vue new file mode 100644 index 0000000..148957d --- /dev/null +++ b/src/components/auth/PasskeyLogin.vue @@ -0,0 +1,76 @@ + + + diff --git a/src/components/settings/ApiTokenManager.vue b/src/components/settings/ApiTokenManager.vue index 5e5939b..9c76182 100644 --- a/src/components/settings/ApiTokenManager.vue +++ b/src/components/settings/ApiTokenManager.vue @@ -1,6 +1,6 @@ @@ -103,10 +112,16 @@ function closeShowTokenModal() {

- + API Tokens

- @@ -131,10 +146,16 @@ function closeShowTokenModal() { {{ token.name }} - {{ formatDate(token.lastUsedAt) }} + {{ + formatDate(token.lastUsedAt) + }} + {{ token.lastUsedAt || "Never" }} - {{ formatDate(token.createdAt) }} + {{ + formatDate(token.createdAt) + }} + {{ token.createdAt }} +
- @@ -196,10 +226,13 @@ function closeShowTokenModal() { Token Created

- Make sure to copy your personal access token now. You won't be able to see it again! + Make sure to copy your personal access token now. You won't be able to + see it again!

-
+
{{ newTokenValue }} +
diff --git a/src/components/settings/PasskeyManager.vue b/src/components/settings/PasskeyManager.vue index f6ca65b..9b9c764 100644 --- a/src/components/settings/PasskeyManager.vue +++ b/src/components/settings/PasskeyManager.vue @@ -1,7 +1,7 @@ @@ -106,8 +108,15 @@ async function deletePasskey(id: string) { Passkeys - @@ -131,14 +140,24 @@ async function deletePasskey(id: string) { - {{ pk.deviceType === 'singleDevice' ? 'This Device' : 'Cross-Platform (Phone/Key)' }} - Backed Up + {{ + pk.deviceType === "singleDevice" + ? "This Device" + : "Cross-Platform (Phone/Key)" + }} + Backed Up - {{ pk.lastUsedAt ? formatDate(pk.lastUsedAt) : 'Never' }} + + {{ pk.lastUsedAt ? formatDate(pk.lastUsedAt) : "Never" }} + + {{ pk.lastUsedAt || "Never" }} - {{ formatDate(pk.createdAt) }} + {{ formatDate(pk.createdAt) }} + {{ pk.createdAt || "N/A" }} - +
OR