fix problem with you-are-missing message and refactor other messages in onboard meeting

This commit is contained in:
2025-02-05 19:03:54 -07:00
parent 34248a2ee5
commit 93831c372a
4 changed files with 104 additions and 25 deletions

View File

@@ -6,11 +6,57 @@
</div>
<!-- Members List -->
<p
v-if="decryptedMembers.length < members.length"
class="text-center text-red-600 py-4"
>
{{
decryptFailureMessage ||
"Your password failed. Please go back and try again."
}}
</p>
<div v-else class="space-y-4">
<div v-if="missingMyself" class="py-4">
You are not yet admitted. The organizer will admit you.
</div>
<div>
<span
v-if="showOrganizerTools && isOrganizer"
class="inline-flex items-center flex-wrap"
>
<span>Use these next to each person to add/remove them to/from the</span>
<span class="inline-flex items-center whitespace-nowrap">
<span>&nbsp;meeting:</span>
<span
class="ml-2 w-6 h-6 flex items-center justify-center rounded-full bg-blue-100 text-blue-600 hover:bg-blue-200 hover:text-blue-800 transition-colors"
>
<fa icon="plus" class="text-sm" />
</span>
<span
class="ml-2 w-6 h-6 flex items-center justify-center rounded-full bg-blue-100 text-blue-600 hover:bg-blue-200 hover:text-blue-800 transition-colors"
>
<fa icon="minus" class="text-sm" />
</span>
</span>
</span>
</div>
<div>
<span class="inline-flex items-center flex-wrap">
<span>Use this next to each person to add them to your</span>
<span class="inline-flex items-center whitespace-nowrap">
<span>&nbsp;contacts:</span>
<span
class="ml-2 w-8 h-8 flex items-center justify-center rounded-full bg-green-100 text-green-600"
>
<fa icon="circle-user" class="text-xl" />
</span>
</span>
</span>
</div>
<div v-if="members.length > 0" class="flex justify-end">
<button
@click="fetchMembers"
@@ -90,15 +136,6 @@
<p v-if="members.length === 0" class="text-gray-500 py-4">
No members have joined this meeting yet
</p>
<p
v-if="decryptedMembers.length < members.length"
class="text-center text-red-600 py-4"
>
{{
decryptFailureMessage ||
"Your password failed. Please go back and try again."
}}
</p>
</div>
</div>
</template>
@@ -287,9 +324,7 @@ export default class MembersList extends Vue {
}
isFirstEntry = false;
}
if (!foundMyself) {
this.missingMyself = true;
}
this.missingMyself = !foundMyself;
}
informAboutAdmission() {