Files
Momento/memento-note/lib
sepehr 0a4aa47690
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 53s
fix: label system overhaul - sync dual storage, fix suggestions
- Replace broken upsert (nbScope ?? '') with findFirst+create for null notebookId
- Remove aggressive orphan cleanup that deleted notebook labels after save
- Add syncNoteLabels() to update both Note.labels JSON and labelRelations
- Fix createNote, updateNote, auto-labeling to use syncNoteLabels
- Add fallback: suggestFromExistingLabels → suggestNewLabels if empty
- Lower confidence threshold 0.6→0.3, max suggestions 3→5
- Case-insensitive label matching in suggestions

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-27 00:00:53 +02:00
..