Commit Graph
3 Commits
Author SHA1 Message Date
dev b5d1fd0948 notes: AI titles for new notes, personal-only access, modal polish
- new note created without a title gets one generated by a background
  worker (createNoteTitleWorker, ai_status column, wake channel,
  notes_changed SSE event, settings toggle notes_ai_enabled)
- notes are strictly personal: list/update/delete/reorder always scoped
  to req.user.id, admin no longer sees other users' notes (403)
- notes modal: focus goes to the text body, random color for new notes,
  ctrl+enter hint, tags hint styling, empty-title 400 fix (optText)
- backup/restore: user_notes.ai_status normalized and restored
2026-10-08 21:47:37 +03:00
dev 355feb234b fix(notes): необязательный заголовок, защита от двойного сохранения, Ctrl+Enter 2026-10-08 15:55:44 +03:00
dev ecfa15e35b feat(notes): личные заметки с drag-and-drop сортировкой
- Новая страница notes.html и контроллер public/js/notes.js
- Таблица user_notes (id, user_id, title, note, tags, color, sort_order)
- Сохранение порядка карточек через PUT /api/notes/reorder
- Личные заметки администратора видны всем, тьюторы — только своим
- Поддержка user_notes в бэкапе и восстановлении (backup-restore.js)
- Обновлена документация AGENTS.md
2026-10-08 15:04:06 +03:00