move the embedding-edit near the other actions

This commit is contained in:
2026-02-20 19:00:21 -07:00
parent f7cee7df78
commit 67ff0cfb99

View File

@@ -277,6 +277,7 @@
<span class="text-xs text-slate-600">Delete</span> <span class="text-xs text-slate-600">Delete</span>
</div> </div>
</div> </div>
<div v-if="!contactFromDid?.profileImageUrl"> <div v-if="!contactFromDid?.profileImageUrl">
<div>Auto-Generated Icon</div> <div>Auto-Generated Icon</div>
<div class="flex justify-center"> <div class="flex justify-center">
@@ -305,20 +306,11 @@
/> />
</div> </div>
</div> </div>
</div>
<div v-else class="bg-slate-100 rounded-md overflow-hidden px-4 py-3 mb-4">
<!-- !contactFromDid -->
<div>
<h2 class="text-xl font-semibold">
{{ isMyDid ? "You" : "(no name)" }}
</h2>
</div>
</div>
<!-- Only admins can set the generate-embedding flag --> <!-- Only admins can set the generate-embedding flag -->
<div <div
v-if="showGeneralAdvanced && viewingDid" v-if="showGeneralAdvanced && viewingDid"
class="mt-4 pt-4 border-t border-slate-300" class="mt-2 pt-2"
data-testid="generateEmbeddingSection" data-testid="generateEmbeddingSection"
> >
<div class="flex items-center gap-2"> <div class="flex items-center gap-2">
@@ -365,6 +357,15 @@
</span> </span>
</div> </div>
</div> </div>
</div>
<div v-else class="bg-slate-100 rounded-md overflow-hidden px-4 py-3 mb-4">
<!-- !contactFromDid -->
<div>
<h2 class="text-xl font-semibold">
{{ isMyDid ? "You" : "(no name)" }}
</h2>
</div>
</div>
<!-- Loading Animation --> <!-- Loading Animation -->
<div <div