Skip to content

feat(profile): foundation, cloud sync, digest and login fix (0.15–0.22)#28

Merged
emildg8 merged 11 commits into
mainfrom
feature/profile-foundation
May 30, 2026
Merged

feat(profile): foundation, cloud sync, digest and login fix (0.15–0.22)#28
emildg8 merged 11 commits into
mainfrom
feature/profile-foundation

Conversation

@emildg8

@emildg8 emildg8 commented May 30, 2026

Copy link
Copy Markdown
Collaborator

PR #28 — Profile foundation (0.15.0 → 0.22.0)

Ветка: feature/profile-foundationmain

Версия релиза

0.22.0 (client/package.json) — итоговая версия PR после merge.

Кратко

Единый центр настроек /profile, облачная синхронизация prefs, медиа на сервере, email-уведомления, мост с мессенджером и комнатой, исправления входа и навигации.

CHANGELOG по версиям

0.22.0 — Вход и навигация

  • Исправлен залипший UI при переходе на /login (React Router 7: remount Routes по pathname).
  • Кнопки «Войти» вызывают navigate() + returnTo=/profile.
  • Русские сообщения об ошибках входа; подсказка при недоступном backend.
  • Обновление сессии на /profile при возврате на вкладку.

0.21.0 — Дайджест, S3, pull в мессенджере

  • Еженедельный дайджест (scheduler), рассылка новостей (admin API), UserNotificationLog.
  • Медиа профиля: local / S3 + CDN redirect.
  • Pull облака при открытии панели «Профиль» в мессенджере.

0.20.0 — Email «Завершение ретро»

  • Письмо участникам RoomMember после POST /api/rooms/:slug/end.
  • SMTP (RETROGEN_SMTP_*) или лог в консоль.

0.19.0 — Messenger cloud bridge

  • Общий profileAvatarUpload.ts; аватар на сервере из мессенджера.
  • Push prefs в облако после commit; sync UX «Локально» + «Повторить».

0.18.0 — Медиа и конфликты

  • POST/GET/DELETE /api/auth/me/profile/media/{avatar|wallpaper}.
  • Conflict banner (мои / сервер / объединить).

0.17.0 — Cloud sync MVP

  • GET/PATCH /api/auth/me/profile, User.profileJson.
  • Pull/push, карточки в Identity и Security.

0.16.0–0.16.1 — Notifications, org/billing, polish

  • Секция «Уведомления», preview «Организация» и «Тариф».
  • Identity bridge в комнату, useProfilePrefsDraft.

0.15.0 — Foundation

  • Заполнение профиля, emoji, lobby events, roadmap-панели.

Миграции и env

npm run db:push -w server   # или db:migrate, если история миграций чистая

Опционально в server/.env:

  • RETROGEN_SMTP_*, RETROGEN_APP_URL
  • RETROGEN_PROFILE_MEDIA_BACKEND=s3 + RETROGEN_S3_*
  • RETROGEN_NOTIFICATIONS_SCHEDULER=false — отключить scheduler

Test plan

  • npm run dev — client :5173, server :3000
  • Гость → «Войти в аккаунт» → форма входа → возврат на /profile с сессией
  • Cloud sync: pill «Синхронизировано» / «Локально»
  • Аватар в /profile и мессенджере
  • Уведомления, экспорт JSON в «Безопасность»
  • Имя/emoji в комнате (chip)

Эмиль and others added 11 commits May 30, 2026 03:17
Phase A: resolve name/avatar from profilePrefs in RoomPage, chip in header, useProfilePrefsSync. Add PROFILE_ROADMAP.md and useProfilePrefsDraft scaffold for Phase B.

Co-authored-by: Cursor <cursoragent@cursor.com>
…messenger

Unified draft hook with onAfterCommit, reload/discard, replacePrefs and saveStatus. Removes duplicate autosave and profileDraft state.

Co-authored-by: Cursor <cursoragent@cursor.com>
Remove dead profileShell/hubClasses; drop gender/birthDate from messenger UI; document profilePrefs vs messenger appearance storage.

Co-authored-by: Cursor <cursoragent@cursor.com>
Email toggles in profilePrefs, sidebar nav, overview tile; org/billing stay roadmap. Profile-only — no messenger changes.

Co-authored-by: Cursor <cursoragent@cursor.com>
Unlock organization and billing sections with Preview UI, add profileSections lib, email-notifications completion task, and overview tile for signed-in users.

Co-authored-by: Cursor <cursoragent@cursor.com>
Russian labels for enterprise tiers, guest toggle fix, completion task gating, overview org/billing tiles, badgePreview token, release 0.16.1.

Co-authored-by: Cursor <cursoragent@cursor.com>
Phase E MVP: User.profileJson, GET/PATCH /api/auth/me/profile, client pull/push hook. Polish identity and security panels with cloud status. Release 0.17.0.

Co-authored-by: Cursor <cursoragent@cursor.com>
POST/GET profile media on server, avatar/wallpaper paths in profileJson, conflict banner with merge strategies, media cache for Room and profile UI. Release 0.18.0.

Co-authored-by: Cursor <cursoragent@cursor.com>
Graceful cloud API fallback (Локально + retry), unified avatar upload for /profile and messenger, notifications design polish, push prefs from messenger on commit.

Co-authored-by: Cursor <cursoragent@cursor.com>
SMTP via RETROGEN_SMTP_* or console log in dev; notify RoomMember on session end; update notifications copy and roadmap Phase G.

Co-authored-by: Cursor <cursoragent@cursor.com>
@emildg8 emildg8 merged commit 56cd99d into main May 30, 2026
1 check passed
@emildg8 emildg8 changed the title feat(profile): foundation, cloud sync, media and messenger bridge (0.15–0.19) feat(profile): foundation, cloud sync, digest and login fix (0.15–0.22) May 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant