feat(admin): reset a user's recommendations from the users panel
ci / api / api (push) Successful in 40s
ci / contract / contract (сгенерированный код совпадает с openapi.yaml) (push) Successful in 55s
ci / mobile / mobile (Metro-бандл Android) (push) Successful in 1m10s
ci / db / db (push) Successful in 2m35s
ci / ts / ts (packages + web) (push) Successful in 1m23s
ci / api / api (push) Successful in 40s
ci / contract / contract (сгенерированный код совпадает с openapi.yaml) (push) Successful in 55s
ci / mobile / mobile (Metro-бандл Android) (push) Successful in 1m10s
ci / db / db (push) Successful in 2m35s
ci / ts / ts (packages + web) (push) Successful in 1m23s
- POST /admin/users/{id}/reset-recommendations clears the taste profile
(onboarding, CF vector, bandit), play stats and wave impressions; likes,
dislikes and history stay, wave sessions stay so a playing wave keeps going
- moderators may reset plain users, admins anyone including themselves;
the reset is written to the audit log
- users panel gets the menu action with a confirmation; docs updated
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b27b915b63
commit
978f03b8f8
20 files changed
+551
-274
No files matched your search
@@ -24,6 +24,9 @@
|
||||
"delete_confirm": "Удалить {{username}}? Его история и лайки пропадут.",
|
||||
"block_confirm": "Заблокировать {{username}}? Все его сессии завершатся.",
|
||||
"reset_confirm": "Сбросить пароль {{username}}? Все его сессии завершатся.",
|
||||
"reset_recommendations": "Сбросить рекомендации",
|
||||
"recs_confirm": "Сбросить рекомендации {{username}}? Волна начнёт подбирать музыку с нуля и снова спросит любимых исполнителей. Лайки и история останутся.",
|
||||
"recs_done": "Рекомендации {{username}} сброшены",
|
||||
"confirm": "Подтвердить",
|
||||
"you": "вы"
|
||||
},
|
||||
@@ -60,6 +63,7 @@
|
||||
"user.block": "Пользователь заблокирован",
|
||||
"user.unblock": "Пользователь разблокирован",
|
||||
"user.password_reset": "Сброшен пароль",
|
||||
"user.recommendations_reset": "Сброшены рекомендации",
|
||||
"user.delete": "Пользователь удалён"
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user