Clean up, removed name based waiting room

This commit is contained in:
Christoph Stahl 2023-04-11 09:54:55 +02:00
parent 7c9552a6bb
commit c2de7cc024
2 changed files with 5 additions and 4 deletions

View file

@ -275,7 +275,7 @@ function joinRoom() {
/> />
<AlreadyQueued <AlreadyQueued
@append="raw_append(state.current_entry.ident, state.name ? state.name : state.current_name, state.current_entry.source, state.uid)" @append="raw_append(state.current_entry.ident, state.name ? state.name : state.current_name, state.current_entry.source, state.uid)"
@wait="(uid) => wait_append(state.current_entry.ident, state.name ? state.name : state.current_name, state.current_entry.source, uid)" @wait="(uid) => wait_append(state.current_entry.ident, state.name ? state.name : state.current_name, state.current_entry.source, null)"
@cancel="close_already_queued" @cancel="close_already_queued"
:double_entry="state.double_entry" :double_entry="state.double_entry"
/> />

View file

@ -5,15 +5,16 @@ const props = defineProps(["double_entry"]);
<template> <template>
<div class="reveal" id="alreadyqueued" data-reveal > <div class="reveal" id="alreadyqueued" data-reveal >
<h1>You are already in queue</h1> <h1>You are already in queue</h1>
<p>
<b>{{double_entry.artist}} - {{double_entry.title}}</b> <i>({{double_entry.performer}})</i>
</p>
<p>You can <p>You can
<ul> <ul>
<li>append the song anyway, or</li> <li>append the song anyway, or</li>
<li>add it to the <i>waiting room</i>.</li> <li>add it to the <i>waiting room</i>.</li>
</ul> </ul>
</p> </p>
<p>Your song in the waiting room will be added to the queue, once <p>Songs in the waiting room will be added to the queue, once the last song of the performer leaves the queue.</p>
<b>{{double_entry.artist}} - {{double_entry.title}}</b> <i>({{double_entry.performer}})</i>
leaves the queue.</p>
<div class="grid-x"> <div class="grid-x">
<div class="cell medium-6 small-12 btn"> <div class="cell medium-6 small-12 btn">
<button class="button expanded" @click="$emit('wait', double_entry.reason == 'uid' ? double_entry.uid : null)">Waiting room</button> <button class="button expanded" @click="$emit('wait', double_entry.reason == 'uid' ? double_entry.uid : null)">Waiting room</button>