@@ -180,13 +180,21 @@ <h3 class="text-lg font-semibold" x-text="noteEditorNoteId ? ('Editing: #' + not
180180 :style ="{ 'border-color': getNoteColor(note) } "
181181 @click ="editNote(note.id) "
182182 >
183- < div class ="flex-grow min-w-0 ">
184- < div class ="flex justify-between items-baseline mb-2 ">
185- < span class ="text-xs italic " x-text ="formatDate(note.updatedAt) "> </ span >
186- < span class ="text-xs font-bold " x-show ="note.priority " x-text ="'P:' + note.priority "> </ span >
187- </ div >
188- < h4 class ="text-base font-bold truncate mb-2 " :style ="{ 'color': getNoteColor(note) } " x-text ="note.title "> </ h4 >
189- < p class ="text-sm line-clamp-5 break-all " x-text ="getNotePreview(note.content) "> </ p >
183+ < div class ="flex-grow min-w-0 ">
184+ < div class ="flex justify-between items-baseline mb-2 ">
185+ < span class ="text-xs italic " x-text ="formatDate(note.updatedAt) "> </ span >
186+ < span class ="text-xs font-bold " x-show ="note.priority " x-text ="'P:' + note.priority "> </ span >
187+ </ div >
188+ < div class ="flex items-center gap-2 ">
189+ < span class ="text-xs ${getNoteSyncIconClass(getNoteSyncStatus(note).status).color} ${getNoteSyncIconClass(getNoteSyncStatus(note).status).bg} rounded-full p-1.5 shadow-sm ">
190+ ${getNoteSyncStatus(note).status === 'ok' ? '✓' : getNoteSyncStatus(note).status === 'syncing' ? '⟳' : getNoteSyncStatus(note).status === 'partial' ? '⚠' : getNoteSyncStatus(note).status === 'error' ? '✗' : '○'}
191+ </ span >
192+ < h4 class ="text-base font-bold truncate mb-2 " :style ="{ 'color': getNoteColor(note) } " x-text ="note.title "> </ h4 >
193+ < span class ="text-xs ${getNoteSyncStatus(note).status === 'ok' ? 'text-green-600' : getNoteSyncStatus(note).status === 'syncing' ? 'text-blue-600' : getNoteSyncStatus(note).status === 'partial' ? 'text-yellow-600' : getNoteSyncStatus(note).status === 'error' ? 'text-red-600' : 'text-gray-600'} ml-2 ">
194+ ${getNoteSyncStatus(note).status}
195+ </ span >
196+ </ div >
197+ < p class ="text-sm line-clamp-5 break-all " x-text ="getNotePreview(note.content) "> </ p >
190198 </ div >
191199
192200 < div class ="mt-4 pt-2 border-t flex flex-col gap-2 ">
0 commit comments