Debug: Agregar boton para probar expansion del area de input
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 1m7s

This commit is contained in:
2025-12-04 10:43:29 -06:00
parent 6cb13f6907
commit 8e5dccd8d5

View File

@@ -226,7 +226,17 @@
</div> </div>
<!-- Input - grows when media is selected --> <!-- Input - grows when media is selected -->
<div class="p-4 border-t border-[var(--wa-border)] transition-all duration-300 ease-out"> <div
class="p-4 border-t border-[var(--wa-border)] transition-all duration-300 ease-out"
:class="{ 'min-h-[200px]': debugExpanded }"
>
<!-- Debug button -->
<button
@click="debugExpanded = !debugExpanded"
class="absolute right-2 top-2 text-xs px-2 py-1 bg-yellow-600 text-white rounded z-10"
>
{{ debugExpanded ? 'Contraer' : 'Expandir' }}
</button>
<MessagesMessageInput <MessagesMessageInput
:replying-to="replyingTo" :replying-to="replyingTo"
@send="handleSendMessage" @send="handleSendMessage"
@@ -275,6 +285,7 @@ const hasMoreMessages = ref(true)
const showDebugPanel = ref(false) const showDebugPanel = ref(false)
const showChatsDebug = ref(false) const showChatsDebug = ref(false)
const showSelectedChatDebug = ref(false) const showSelectedChatDebug = ref(false)
const debugExpanded = ref(false)
// Instance options for selector // Instance options for selector
const instanceOptions = computed(() => const instanceOptions = computed(() =>