Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
mobile UI overhaul
Murtaza Nasirb3ebfb7286bc
diff --git a/static/css/styles.css b/static/css/styles.cssindex 4cf9b7b9..e03af191 100644--- a/static/css/styles.css+++ b/static/css/styles.css@@ -115,16 +115,30 @@ body {.sidebar-container.fixed {height: 100vh; /* Full viewport height */overflow-y: auto; /* Allow scrolling within the fly-in menu */+ z-index: 9999 !important; /* Ensure it's above everything else */}+ /* .main-content-area styling for mobile is handled by v-if in html now */+ /*.main-content-area {transition: filter 0.3s ease-in-out;}body.mobile-menu-open .main-content-area {- filter: blur(4px); /* Optional: blur background when menu is open */+ filter: blur(4px);}+ */body.mobile-menu-open {overflow: hidden; /* Prevent body scroll when mobile menu is open */}++ /* Fix for mobile sidebar visibility */+ .sidebar-container {+ z-index: 50 !important; /* Ensure proper z-index */+ }++ /* Ensure the mobile sidebar shows above the overlay */+ .fixed.inset-y-0.left-0.z-40 {+ z-index: 50 !important;+ }}/* Mobile viewport height fix */@@ -720,6 +734,219 @@ body {overflow-y: auto;}+/* Mobile Tabbed Layout */+@media (max-width: 1023px) {+ /* Desktop layout's main content is hidden via v-if="!isMobileScreen" in HTML */+ /* .desktop-layout {+ display: none !important;+ } */++ /* Show mobile layout only on mobile */+ .mobile-layout {+ display: flex !important;+ flex-direction: column;+ height: calc(100vh - 120px); /* Account for header and footer */+ overflow: hidden;+ }++ /* Mobile audio player section */+ .mobile-audio-section {+ flex-shrink: 0;+ padding: 1rem;+ background-color: var(--bg-secondary);+ border-bottom: 1px solid var(--border-primary);+ }++ /* Mobile tab navigation */+ .mobile-tab-nav {+ flex-shrink: 0;+ background-color: var(--bg-secondary);+ border-bottom: 1px solid var(--border-primary);+ padding: 0 1rem;+ }++ .mobile-tab-nav .tab-list {+ display: flex;+ overflow-x: auto;+ -webkit-overflow-scrolling: touch;+ scrollbar-width: none;+ -ms-overflow-style: none;+ }++ .mobile-tab-nav .tab-list::-webkit-scrollbar {+ display: none;+ }++ .mobile-tab-button {+ flex-shrink: 0;+ padding: 0.75rem 1rem;+ font-size: 0.875rem;+ font-weight: 500;+ border-bottom: 2px solid transparent;+ color: var(--text-muted);+ background: none;+ border: none;+ cursor: pointer;+ transition: all 0.2s ease;+ white-space: nowrap;+ }++ .mobile-tab-button.active {+ color: var(--text-accent);+ border-bottom-color: var(--border-focus);+ }++ .mobile-tab-button:hover {+ color: var(--text-secondary);+ }++ /* Mobile tab content area */+ .mobile-tab-content {+ flex: 1;+ overflow: hidden;+ background-color: var(--bg-secondary);+ }++ .mobile-tab-panel {+ height: 100%;+ overflow-y: auto;+ padding: 1rem;+ display: none;+ }++ .mobile-tab-panel.active {+ display: block;+ }++ /* Mobile tab content styling */+ .mobile-transcript-content,+ .mobile-summary-content,+ .mobile-notes-content,+ .mobile-metadata-content {+ height: 100%;+ display: flex;+ flex-direction: column;+ }++ .mobile-content-header {+ display: flex;+ justify-content: between;+ align-items: center;+ margin-bottom: 1rem;+ padding-bottom: 0.5rem;+ border-bottom: 1px solid var(--border-primary);+ }++ .mobile-content-title {+ font-weight: 600;+ color: var(--text-secondary);+ flex: 1;+ }++ .mobile-content-actions {+ display: flex;+ gap: 0.5rem;+ }++ .mobile-action-btn {+ padding: 0.5rem;+ background: none;+ border: 1px solid var(--border-secondary);+ border-radius: 0.375rem;+ color: var(--text-muted);+ cursor: pointer;+ transition: all 0.2s ease;+ font-size: 0.875rem;+ }++ .mobile-action-btn:hover {+ background-color: var(--bg-tertiary);+ color: var(--text-accent);+ }++ .mobile-content-box {+ flex: 1;+ background-color: var(--bg-tertiary);+ border: 1px solid var(--border-primary);+ border-radius: 0.75rem;+ padding: 1rem;+ overflow-y: auto;+ font-size: 0.875rem;+ line-height: 1.5;+ color: var(--text-secondary);+ min-height: 0;+ }++ /* Mobile chat layout */+ .mobile-chat-content {+ height: 100%;+ display: flex;+ flex-direction: column;+ }++ .mobile-chat-messages {+ flex: 1;+ overflow-y: auto;+ padding: 1rem;+ background-color: var(--bg-secondary); /* Changed from --bg-tertiary */+ border: 1px solid var(--border-primary);+ border-radius: 0.75rem 0.75rem 0 0;+ margin-bottom: 0;+ }++ .mobile-chat-input {+ background-color: var(--bg-tertiary);+ border: 1px solid var(--border-primary);+ border-top: none;+ border-radius: 0 0 0.75rem 0.75rem;+ padding: 0.75rem;+ display: flex;+ gap: 0.5rem;+ }++ .mobile-chat-input textarea { /* Changed from input to textarea */+ flex: 1;+ padding: 0.5rem;+ border: 1px solid var(--border-secondary);+ border-radius: 0.375rem;+ background-color: var(--bg-input);+ color: var(--text-primary);+ font-size: 0.875rem;+ line-height: 1.5; /* Added for consistent line height */+ resize: none; /* Prevent manual resizing */+ min-height: calc(1.5em + 1rem); /* Approx 1 line with padding */+ max-height: calc(1.5em * 4 + 1rem); /* Approx 4 lines with padding */+ overflow-y: auto; /* Allow scrolling after max-height */+ }++ .mobile-chat-input button {+ padding: 0.5rem 1rem;+ background-color: var(--bg-button);+ color: var(--text-button);+ border: none;+ border-radius: 0.375rem;+ cursor: pointer;+ font-size: 0.875rem;+ }++ .mobile-chat-input button:disabled {+ background-color: var(--bg-tertiary);+ color: var(--text-muted);+ cursor: not-allowed;+ }+}++/* Hide mobile layout on desktop */+@media (min-width: 1024px) {+ .mobile-layout {+ display: none !important;+ }++ .desktop-layout {+ display: block !important;+ }+}+/* Responsive adjustments for mobile */@media (max-width: 1023px) {/* Ensure modals are not too wide on small screens */@@ -735,8 +962,4 @@ body {display: block !important;}- /* Hide the desktop sidebar by default on mobile */- .sidebar-container:not(.fixed) {- display: none;- }}diff --git a/static/js/app.js b/static/js/app.jsindex 21eff3c4..f872498c 100644--- a/static/js/app.js+++ b/static/js/app.js@@ -22,6 +22,7 @@ document.addEventListener('DOMContentLoaded', () => {const recordings = ref([]);const selectedRecording = ref(null);const selectedTab = ref('summary'); // For Summary/Notes tabs+ const selectedMobileTab = ref('transcript'); // For mobile 5-tab layoutconst searchQuery = ref(''); // Search input for filtering recordings// --- Multi-Upload State ---@@ -73,7 +74,8 @@ document.addEventListener('DOMContentLoaded', () => {// Inline editing stateconst editingParticipants = ref(false);- const editingMeetingDate = ref(false);+ const editingMeetingDate = ref(false); // For desktop+ const editingMobileMeetingDate = ref(false); // For mobile metadata tabconst editingSummary = ref(false);const editingNotes = ref(false);@@ -1540,13 +1542,28 @@ document.addEventListener('DOMContentLoaded', () => {document.body.style.userSelect = '';};+ // Mobile tab switching+ const switchMobileTab = (tabName) => {+ selectedMobileTab.value = tabName;+ };+// Clear chat messages when recording changeswatch(selectedRecording, (newVal) => {chatMessages.value = [];showChat.value = false;selectedTab.value = 'summary'; // Reset tab when recording changes+ selectedMobileTab.value = 'transcript'; // Reset mobile tab when recording changes+ editingMobileMeetingDate.value = false; // Reset mobile edit state});+ const toggleEditMobileMeetingDate = () => {+ editingMobileMeetingDate.value = !editingMobileMeetingDate.value;+ if (!editingMobileMeetingDate.value && selectedRecording.value) {+ // If toggling off (i.e., saving), call saveInlineEdit+ saveInlineEdit('meeting_date');+ }+ };+return {// StatecurrentView, dragover, recordings, selectedRecording, // currentRecording removed@@ -1577,6 +1594,7 @@ document.addEventListener('DOMContentLoaded', () => {toggleInbox, toggleHighlight,// Inline editing methodstoggleEditParticipants, toggleEditMeetingDate, toggleEditSummary, toggleEditNotes, saveInlineEdit,+ editingMobileMeetingDate, // Expose for mobile// Chat MethodssendChatMessage, copyMessage, copyTranscription,// User menu@@ -1615,6 +1633,10 @@ document.addEventListener('DOMContentLoaded', () => {highlightedTranscript,highlightSpeakerInTranscript,useAsrEndpoint,+ // Mobile tabs+ selectedMobileTab,+ switchMobileTab,+ toggleEditMobileMeetingDate, // Expose for mobile}},delimiters: ['${', '}'] // Keep Vue delimiters distinct from Flask's Jinjadiff --git a/templates/index.html b/templates/index.htmlindex 1cd5aad0..615a0d59 100644--- a/templates/index.html+++ b/templates/index.html@@ -246,7 +246,7 @@</div><!-- Overlay for mobile fly-in menu -->- <div v-if="isMobileMenuOpen" @click="closeMobileMenu" class="fixed inset-0 bg-black bg-opacity-50 z-30 lg:hidden"></div>+ <div v-if="isMobileMenuOpen" @click="closeMobileMenu" class="fixed inset-0 bg-black bg-opacity-50 z-40 lg:hidden"></div><div v-if="globalError" class="mb-4 p-4 bg-[var(--bg-danger-light)] border border-[var(--border-danger)] text-[var(--text-danger-strong)] rounded-lg" role="alert"><div class="flex justify-between items-center">@@ -274,6 +274,260 @@{% if current_user.is_authenticated %}<div v-if="currentView === 'gallery'" class="flex-grow flex flex-col rounded-lg relative">+ <!-- Mobile Layout (shown only on mobile when recording is selected) -->+ <div v-if="selectedRecording" class="mobile-layout bg-[var(--bg-secondary)] rounded-lg shadow-md">+ <!-- New Mobile Header Section -->+ <div class="p-4 border-b border-[var(--border-primary)]">+ <h3 class="text-xl font-semibold text-[var(--text-primary)] mb-2 truncate" :title="selectedRecording.title || 'Loading...'">+ ${ selectedRecording.title || 'Loading...' }+ </h3>+ <div class="flex items-center justify-between mb-3">+ <span v-if="selectedRecording.status" :class="getStatusClass(selectedRecording.status)" class="status-badge text-xs">+ ${ formatStatus(selectedRecording.status) }+ </span>+ <div class="flex space-x-2">+ <button @click="toggleInbox(selectedRecording)"+ class="p-2 rounded-md text-sm transition-all hover:scale-105"+ :class="selectedRecording.is_inbox ? 'bg-blue-100 text-blue-600 hover:bg-blue-200 dark:bg-blue-800 dark:text-blue-200 dark:hover:bg-blue-700' : 'bg-gray-100 text-gray-600 hover:bg-gray-200 dark:bg-gray-700 dark:text-gray-300 dark:hover:bg-gray-600'"+ :title="selectedRecording.is_inbox ? 'Mark as Read' : 'Move to Inbox'">+ <i class="fas fa-inbox"></i>+ </button>+ <button @click="toggleHighlight(selectedRecording)"+ class="p-2 rounded-md text-sm transition-all hover:scale-105"+ :class="selectedRecording.is_highlighted ? 'bg-yellow-100 text-yellow-600 hover:bg-yellow-200 dark:bg-yellow-700 dark:text-yellow-200 dark:hover:bg-yellow-600' : 'bg-gray-100 text-gray-600 hover:bg-gray-200 dark:bg-gray-700 dark:text-gray-300 dark:hover:bg-gray-600'"+ :title="selectedRecording.is_highlighted ? 'Remove Highlight' : 'Highlight'">+ <i class="fas fa-star"></i>+ </button>+ </div>+ </div>+ <div class="grid grid-cols-2 sm:grid-cols-3 gap-2 text-xs">+ <button @click="editRecording(selectedRecording)" class="mobile-action-btn flex items-center justify-center"><i class="fas fa-edit mr-1"></i> Details</button>+ <button @click="reprocessTranscription(selectedRecording.id)" v-if="selectedRecording && (selectedRecording.status === 'COMPLETED' || selectedRecording.status === 'FAILED')" class="mobile-action-btn flex items-center justify-center"><i :class="useAsrEndpoint ? 'fas fa-cogs' : 'fas fa-sync-alt'" class="mr-1"></i> Tx Reprocess</button>+ <button @click="reprocessSummary(selectedRecording.id)" v-if="selectedRecording && (selectedRecording.status === 'COMPLETED' || selectedRecording.status === 'FAILED')" class="mobile-action-btn flex items-center justify-center"><i class="fas fa-sync-alt mr-1"></i> Sum Reprocess</button>+ <button @click="openSpeakerModal" v-if="identifiedSpeakers.length > 0" class="mobile-action-btn flex items-center justify-center"><i class="fas fa-user-tag mr-1"></i> Speakers</button>+ <button @click="confirmDelete(selectedRecording)" class="mobile-action-btn flex items-center justify-center col-span-2 sm:col-span-1 bg-[var(--bg-danger-light)] text-[var(--text-danger-strong)] hover:bg-[var(--bg-danger)] hover:text-[var(--text-button)]"><i class="fas fa-trash mr-1"></i> Delete</button>+ </div>+ </div>++ <!-- Mobile Audio Player Section -->+ <div class="mobile-audio-section border-b border-[var(--border-primary)]">+ <h4 class="font-semibold text-sm text-[var(--text-secondary)] mb-1">Audio Player</h4>+ <div class="bg-[var(--bg-audio-player)] p-3 rounded-lg shadow border border-[var(--border-primary)]">+ <audio controls class="w-full h-10" :key="selectedRecording.id" :src="'/audio/' + selectedRecording.id">+ Your browser does not support the audio element.+ </audio>+ </div>+ </div>++ <!-- Mobile Tab Navigation -->+ <div class="mobile-tab-nav">+ <div class="tab-list">+ <button @click="switchMobileTab('transcript')"+ :class="selectedMobileTab === 'transcript' ? 'active' : ''"+ class="mobile-tab-button">+ <i class="fas fa-file-text mr-1"></i> Transcript+ </button>+ <button @click="switchMobileTab('summary')"+ :class="selectedMobileTab === 'summary' ? 'active' : ''"+ class="mobile-tab-button">+ <i class="fas fa-file-alt mr-1"></i> Summary+ </button>+ <button @click="switchMobileTab('notes')"+ :class="selectedMobileTab === 'notes' ? 'active' : ''"+ class="mobile-tab-button">+ <i class="fas fa-sticky-note mr-1"></i> Notes+ </button>+ <button @click="switchMobileTab('chat')"+ :class="selectedMobileTab === 'chat' ? 'active' : ''"+ class="mobile-tab-button">+ <i class="fas fa-comments mr-1"></i> Chat+ </button>+ <button @click="switchMobileTab('metadata')"+ :class="selectedMobileTab === 'metadata' ? 'active' : ''"+ class="mobile-tab-button">+ <i class="fas fa-info-circle mr-1"></i> Metadata+ </button>+ </div>+ </div>++ <!-- Mobile Tab Content -->+ <div class="mobile-tab-content">+ <!-- Transcript Tab -->+ <div class="mobile-tab-panel" :class="{ active: selectedMobileTab === 'transcript' }">+ <div class="mobile-transcript-content">+ <div class="mobile-content-header">+ <h4 class="mobile-content-title">Transcription</h4>+ <div class="mobile-content-actions">+ <button @click="copyTranscription($event)" class="mobile-action-btn" title="Copy to clipboard">+ <i class="fas fa-copy"></i>+ </button>+ <!-- Reprocess transcription button moved to main header -->+ </div>+ </div>+ <div class="mobile-content-box">+ <div v-if="selectedRecording.status === 'COMPLETED' || selectedRecording.status === 'SUMMARIZING'">+ <pre class="whitespace-pre-wrap font-sans">${ selectedRecording.transcription || 'No transcription available.' }</pre>+ </div>+ <div v-else-if="selectedRecording.status === 'FAILED'" class="text-[var(--text-danger)]">+ <p class="font-medium mb-2">Processing Failed:</p>+ <pre class="whitespace-pre-wrap font-sans">${ selectedRecording.transcription || 'An unknown error occurred.' }</pre>+ </div>+ <div v-else class="flex items-center justify-center text-[var(--text-muted)] h-full">+ <i class="fas fa-spinner fa-spin mr-2"></i> Transcription in progress...+ </div>+ </div>+ </div>+ </div>++ <!-- Summary Tab -->+ <div class="mobile-tab-panel" :class="{ active: selectedMobileTab === 'summary' }">+ <div class="mobile-summary-content">+ <div class="mobile-content-header">+ <h4 class="mobile-content-title">Summary</h4>+ <div class="mobile-content-actions">+ <button @click="toggleEditSummary" class="mobile-action-btn" title="Edit Summary">+ <i class="fas fa-edit"></i>+ </button>+ <!-- Reprocess summary and Identify Speakers buttons moved to main header -->+ </div>+ </div>+ <div class="mobile-content-box summary-box">+ <div v-if="selectedRecording.status === 'COMPLETED'" class="h-full">+ <div v-if="!editingSummary" class="h-full overflow-y-auto" v-html="selectedRecording.summary_html || selectedRecording.summary || 'No summary generated.'"></div>+ <textarea v-else v-model="selectedRecording.summary" @blur="saveInlineEdit('summary')" class="w-full h-full bg-transparent border-none focus:ring-0 focus:outline-none resize-none" placeholder="Enter summary"></textarea>+ </div>+ <div v-else-if="selectedRecording.status === 'FAILED'" class="text-[var(--text-danger)] h-full overflow-y-auto" v-html="selectedRecording.summary_html || selectedRecording.summary || 'Summary generation failed or was skipped.'"></div>+ <div v-else class="flex items-center justify-center text-[var(--text-muted)] h-full">+ <i class="fas fa-spinner fa-spin mr-2"></i> Summary pending...+ </div>+ </div>+ </div>+ </div>++ <!-- Notes Tab -->+ <div class="mobile-tab-panel" :class="{ active: selectedMobileTab === 'notes' }">+ <div class="mobile-notes-content">+ <div class="mobile-content-header">+ <h4 class="mobile-content-title">Notes</h4>+ <div class="mobile-content-actions">+ <button @click="toggleEditNotes" class="mobile-action-btn" title="Edit Notes">+ <i class="fas fa-edit"></i>+ </button>+ </div>+ </div>+ <div class="mobile-content-box notes-box">+ <div v-if="!editingNotes" v-html="selectedRecording.notes_html || selectedRecording.notes || 'No notes'"></div>+ <textarea v-else v-model="selectedRecording.notes" @blur="saveInlineEdit('notes')" class="w-full h-full bg-transparent border-none focus:ring-0 focus:outline-none resize-none" placeholder="Enter notes"></textarea>+ </div>+ </div>+ </div>++ <!-- Chat Tab -->+ <div class="mobile-tab-panel" :class="{ active: selectedMobileTab === 'chat' }">+ <div class="mobile-chat-content">+ <div class="mobile-chat-messages" ref="chatMessagesRef">+ <div v-if="chatMessages.length === 0" class="flex items-center justify-center h-full text-[var(--text-muted)]">+ <div class="text-center">+ <i class="fas fa-comments text-2xl mb-2"></i>+ <p>Ask questions about the transcript</p>+ </div>+ </div>+ <div v-for="(message, index) in chatMessages" :key="index" class="message" :class="message.role === 'user' ? 'user-message bg-[var(--bg-accent)] text-[var(--text-accent)]' : 'ai-message bg-[var(--bg-tertiary)] text-[var(--text-secondary)]'">+ <div class="flex justify-between items-start">+ <div class="flex-grow" v-if="message.role === 'user'">${ message.content }</div>+ <div class="flex-grow" v-else v-html="message.html || message.content"></div>+ <button v-if="message.role === 'assistant'" @click="copyMessage(message.content, $event)" class="ml-2 text-[var(--text-light)] hover:text-[var(--text-muted)]" title="Copy response">+ <i class="fas fa-copy text-xs"></i>+ </button>+ </div>+ </div>+ <div v-if="isChatLoading" class="message ai-message bg-[var(--bg-tertiary)] text-[var(--text-secondary)]">+ <div class="flex items-center">+ <i class="fas fa-spinner fa-spin mr-2"></i> Thinking...+ </div>+ </div>+ </div>+ <div class="mobile-chat-input">+ <textarea+ v-model="chatInput"+ @keyup.enter.exact="sendChatMessage"+ @keyup.enter.shift.exact.prevent="chatInput += '\n'"+ placeholder="Ask about the transcript... (Shift+Enter for new line)"+ :disabled="isChatLoading || !selectedRecording || selectedRecording.status !== 'COMPLETED'"+ class="custom-scrollbar"+ ></textarea>+ <button+ @click="sendChatMessage"+ :disabled="!chatInput.trim() || isChatLoading || !selectedRecording || selectedRecording.status !== 'COMPLETED'"+ >+ <i class="fas fa-paper-plane"></i>+ </button>+ </div>+ </div>+ </div>++ <!-- Metadata Tab -->+ <div class="mobile-tab-panel" :class="{ active: selectedMobileTab === 'metadata' }">+ <div class="mobile-metadata-content">+ <div class="mobile-content-header">+ <h4 class="mobile-content-title">Metadata</h4>+ </div>+ <div class="mobile-content-box">+ <!-- Participants Section (Editable) -->+ <div class="mb-4 p-3 bg-[var(--bg-secondary)] border border-[var(--border-primary)] rounded-lg">+ <div class="flex justify-between items-center mb-2">+ <dt class="font-medium text-[var(--text-primary)]">Participants</dt>+ <button @click="toggleEditParticipants" class="mobile-action-btn" title="Edit Participants">+ <i class="fas" :class="editingParticipants ? 'fa-check' : 'fa-edit'"></i>+ </button>+ </div>+ <div v-if="!editingParticipants" class="text-sm text-[var(--text-secondary)]">+ ${ selectedRecording.participants || 'None specified' }+ </div>+ <textarea v-else v-model="selectedRecording.participants" @blur="saveInlineEdit('participants')" class="w-full p-2 text-sm bg-[var(--bg-input)] border border-[var(--border-secondary)] rounded focus:ring-[var(--ring-focus)] focus:border-[var(--border-focus)] text-[var(--text-primary)] resize-none" rows="2" placeholder="Enter participants"></textarea>+ </div>++ <!-- Other Metadata -->+ <div class="space-y-3">+ <div class="p-3 bg-[var(--bg-secondary)] border border-[var(--border-primary)] rounded-lg">+ <dt class="font-medium text-sm text-[var(--text-primary)] mb-0.5">Original Filename</dt>+ <dd class="text-sm text-[var(--text-secondary)] break-all">${ selectedRecording.original_filename || 'N/A' }</dd>+ </div>+ <div class="p-3 bg-[var(--bg-secondary)] border border-[var(--border-primary)] rounded-lg">+ <dt class="font-medium text-sm text-[var(--text-primary)] mb-0.5">File Size</dt>+ <dd class="text-sm text-[var(--text-secondary)]">${ formatFileSize(selectedRecording.file_size) }</dd>+ </div>+ <div class="p-3 bg-[var(--bg-secondary)] border border-[var(--border-primary)] rounded-lg">+ <dt class="font-medium text-sm text-[var(--text-primary)] mb-0.5">Created</dt>+ <dd class="text-sm text-[var(--text-secondary)]">${ new Date(selectedRecording.created_at).toLocaleString() }</dd>+ </div>+ <div class="p-3 bg-[var(--bg-secondary)] border border-[var(--border-primary)] rounded-lg">+ <div class="flex justify-between items-center mb-0.5">+ <dt class="font-medium text-sm text-[var(--text-primary)]">Meeting Date</dt>+ <button @click="toggleEditMobileMeetingDate" class="mobile-action-btn text-xs" :title="editingMobileMeetingDate ? 'Save Date' : 'Edit Date'">+ <i class="fas" :class="editingMobileMeetingDate ? 'fa-check' : 'fa-edit'"></i>+ </button>+ </div>+ <div v-if="!editingMobileMeetingDate"+ @click="toggleEditMobileMeetingDate"+ class="text-sm text-[var(--text-secondary)] cursor-pointer hover:text-[var(--text-accent)]">+ ${ selectedRecording.meeting_date ? formatDisplayDate(selectedRecording.meeting_date) : 'Click to add' }+ </div>+ <input v-else+ type="date"+ v-model="selectedRecording.meeting_date"+ @blur="saveInlineEdit('meeting_date'); editingMobileMeetingDate = false;"+ class="w-full p-1 text-sm bg-[var(--bg-input)] border border-[var(--border-secondary)] rounded focus:ring-[var(--ring-focus)] focus:border-[var(--border-focus)] text-[var(--text-primary)]">+ </div>+ </div>+ </div>+ </div>+ </div>+ </div>+ </div>++ <!-- Desktop Layout (shown only on desktop) -->+ <div class="desktop-layout"><!-- Sidebar toggle button that appears when sidebar is collapsed - positioned at the left edge of main content, aligned with title --><button v-if="isSidebarCollapsed && !isMobileScreen"@click="toggleSidebar"@@ -286,12 +540,10 @@<!-- Sidebar: Conditional classes for mobile fly-in and desktop normal --><div:class="{- 'fixed inset-y-0 left-0 z-40 w-4/5 max-w-xs bg-[var(--bg-secondary)] shadow-xl transform transition-transform duration-300 ease-in-out': isMobileScreen,+ 'fixed inset-y-0 left-0 z-50 w-4/5 max-w-xs bg-[var(--bg-secondary)] shadow-xl transform transition-transform duration-300 ease-in-out': isMobileScreen,'translate-x-0': isMobileScreen && isMobileMenuOpen,'-translate-x-full': isMobileScreen && !isMobileMenuOpen,- 'lg:col-span-1 sidebar-container max-h-85vh': !isMobileScreen,- 'hidden': isMobileScreen && !isMobileMenuOpen, /* Ensure hidden when not open on mobile */- 'block': isMobileScreen && isMobileMenuOpen /* Ensure block when open on mobile */+ 'lg:col-span-1 sidebar-container max-h-85vh': !isMobileScreen}"v-show="isMobileMenuOpen || (!isMobileScreen && !isSidebarCollapsed)"class="bg-[var(--bg-secondary)] p-4 rounded-lg shadow-md lg:sticky lg:top-6">@@ -390,7 +642,7 @@</div></div>- <div :class="(!isMobileScreen && isSidebarCollapsed) ? 'lg:col-span-4' : 'lg:col-span-3'" class="bg-[var(--bg-secondary)] p-6 rounded-lg shadow-md flex flex-col max-h-85vh main-content-area">+ <div v-if="!isMobileScreen" :class="(!isMobileScreen && isSidebarCollapsed) ? 'lg:col-span-4' : 'lg:col-span-3'" class="bg-[var(--bg-secondary)] p-6 rounded-lg shadow-md flex flex-col max-h-85vh main-content-area"><div v-if="selectedRecording" class="flex-grow flex flex-col"><div class="flex flex-col sm:flex-row justify-between items-start mb-4 border-b border-[var(--border-primary)] pb-4"><div class="mb-3 sm:mb-0 max-w-lg">@@ -675,6 +927,16 @@</div></div></div>+ </div>++ <!-- Mobile fallback when no recording selected -->+ <div v-if="!selectedRecording" class="mobile-layout">+ <div class="flex flex-col items-center justify-center text-center text-[var(--text-muted)] h-full p-8">+ <i class="fas fa-hand-pointer text-4xl text-[var(--text-light)] mb-4"></i>+ <p class="text-lg font-medium mb-2">Select a recording from the menu to view details.</p>+ <p>Tap the menu button in the header to browse recordings.</p>+ </div>+ </div></div><div v-if="currentView === 'upload'"