Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
Floating-chat: bump chatLayoutTick on leftColumnWidth/rightColumnWidth changes and on sidebar toggle so the docked chat panel re-flows in real-time as the user drags the column resizer or collapses the sidebar; previously the panel kept its previous column width until manually re-docked
Murtaza Nasirc4c5dd186031
diff --git a/static/js/app.modular.js b/static/js/app.modular.jsindex e6f30cce..f5646180 100644--- a/static/js/app.modular.js+++ b/static/js/app.modular.js@@ -939,6 +939,16 @@ document.addEventListener('DOMContentLoaded', async () => {const leftColumnWidth = ref(60);const rightColumnWidth = ref(40);const isResizing = ref(false);+ // Re-flow the docked chat panel whenever the columns resize+ // (otherwise the chat keeps the previous column width).+ watch([leftColumnWidth, rightColumnWidth], () => {+ chatLayoutTick.value += 1;+ });+ // Also re-flow when the sidebar toggles, since the main+ // content area shifts.+ watch(isSidebarCollapsed, () => {+ nextTick(() => { chatLayoutTick.value += 1; });+ });// --- Dropdown Positioning ---const dropdownPositions = ref({});