π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Preserve startup Notes freshness updates
setalpa164a04226c5
diff --git a/rust/apps/ensu/changes/your-notes.md b/rust/apps/ensu/changes/your-notes.mdnew file mode 100644index 0000000000..dab0a06916--- /dev/null+++ b/rust/apps/ensu/changes/your-notes.md@@ -0,0 +1 @@+- Chat with your local markdown notes on desktopdiff --git a/rust/apps/ensu/src-tauri/src/commands/notes.rs b/rust/apps/ensu/src-tauri/src/commands/notes.rsindex 5804e1fff6..51d01db47d 100644--- a/rust/apps/ensu/src-tauri/src/commands/notes.rs+++ b/rust/apps/ensu/src-tauri/src/commands/notes.rs@@ -448,13 +448,6 @@ impl State {.is_some_and(|runtime| runtime.index_available)}- fn has_pending_update(&self, collection_id: &str) -> bool {- self.updates- .lock()- .unwrap_or_else(PoisonError::into_inner)- .contains_key(collection_id)- }-fn has_newer_update(&self, collection_id: &str, generation: u64) -> bool {self.updates.lock()diff --git a/rust/apps/ensu/src-tauri/src/commands/notes/watcher.rs b/rust/apps/ensu/src-tauri/src/commands/notes/watcher.rsindex 72610e6311..d4559f368b 100644--- a/rust/apps/ensu/src-tauri/src/commands/notes/watcher.rs+++ b/rust/apps/ensu/src-tauri/src/commands/notes/watcher.rs@@ -149,7 +149,7 @@ async fn inspect_collection_on_startup(app: AppHandle, collection: RegisteredCol.unwrap_or_else(PoisonError::into_inner).insert(collection.id.clone(), index);}- if changed && initial_complete && !state.has_pending_update(&collection.id) {+ if changed && initial_complete {mark_collection_dirty(&app, &collection.id, forced_document_ids, false);} else {emit_state_changed(&app, &collection.id);