add test for new name-entry & copy-to-clipboard flow

This commit is contained in:
2024-08-24 07:23:49 -06:00
parent d3a4377935
commit 9e98a9ab43
5 changed files with 56 additions and 36 deletions

View File

@@ -57,14 +57,14 @@
v-else
class="block w-full text-center text-md bg-amber-200 border border-dashed border-slate-400 px-1.5 py-2 rounded-md mb-2"
>
<span
<button
@click="
() => $refs.userNameDialog.open((name) => (this.givenName = name))
"
class="inline-block text-md uppercase bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-4 py-2 rounded-md"
>
Set Your Name
</span>
</button>
<UserNameDialog ref="userNameDialog" />
</span>
<div class="flex justify-center mt-4">