Fix: Force pull images in deploy workflow
All checks were successful
Build and Push / build-all (push) Successful in 8m52s
All checks were successful
Build and Push / build-all (push) Successful in 8m52s
This commit is contained in:
parent
5430e434c3
commit
7f56f19e94
10 changed files with 164 additions and 30 deletions
|
|
@ -330,12 +330,6 @@
|
|||
{/if}
|
||||
<button class="username-btn" style="color: {safeUserColor}" on:click={handleUsernameClick} on:dblclick={handleUsernameDoubleClick}>
|
||||
{message.username}
|
||||
{#if message.isStreamer}
|
||||
<span class="badge streamer">STREAMER</span>
|
||||
{/if}
|
||||
{#if message.isGuest}
|
||||
<span class="badge guest">GUEST</span>
|
||||
{/if}
|
||||
</button>
|
||||
{#if message.usedRoll}
|
||||
<span class="cmd-tag roll-tag">R</span>
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
} from '$lib/chat/chatStore';
|
||||
import { chatWebSocket } from '$lib/chat/chatWebSocket';
|
||||
import { chatLayout } from '$lib/stores/chatLayout';
|
||||
import { auth } from '$lib/stores/auth';
|
||||
import {
|
||||
ttsEnabled,
|
||||
ttsSettings,
|
||||
|
|
@ -238,7 +239,19 @@
|
|||
});
|
||||
|
||||
function handleSendMessage(event) {
|
||||
const { message, selfDestructSeconds } = event.detail;
|
||||
let { message, selfDestructSeconds } = event.detail;
|
||||
|
||||
// Handle /graffiti command
|
||||
if (message.trim().toLowerCase() === '/graffiti') {
|
||||
const graffitiUrl = $auth.user?.graffitiUrl;
|
||||
if (graffitiUrl) {
|
||||
message = `[graffiti]${graffitiUrl}[/graffiti]`;
|
||||
} else {
|
||||
alert('You don\'t have a graffiti yet. Create one in Settings > Appearance.');
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
chatWebSocket.sendMessage(message, userColor, selfDestructSeconds || 0);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -266,7 +266,14 @@
|
|||
});
|
||||
|
||||
if (response.ok) {
|
||||
dispatch('videoRemoved', { itemId });
|
||||
const data = await response.json();
|
||||
// Pass the full response data so the parent can update player state
|
||||
dispatch('videoRemoved', {
|
||||
itemId,
|
||||
advancedToNext: data.advancedToNext || false,
|
||||
currentVideo: data.currentVideo || null,
|
||||
playbackState: data.playbackState || null
|
||||
});
|
||||
}
|
||||
} catch (e) {
|
||||
console.error('Failed to remove video:', e);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue