文档/调整:好友面板完成,更新 DEVELOPMENT.md

- DEVELOPMENT.md:好友系统 [ ] → [x],补充功能细节
- toolbar.blade.php:好友按钮移至「呼叫」后(用户调整位置)
This commit is contained in:
2026-03-01 13:51:27 +08:00
parent 8120058948
commit 312b92a81d
2 changed files with 9 additions and 2 deletions
+8 -1
View File
@@ -461,7 +461,14 @@ routes/
- [ ] **用户名黑名单管理**(后台 CRUD`UsernameBlacklist` 模型已建,路由/界面待完成)
- [ ] **滚动公告管理**(后台 CRUD`ScrollAd` 模型已建,界面待完成)
- [ ] **好友系统**`FriendCall` / `FriendRequest` 模型已建,Controller 待完成)
- [x] **好友系统**完成)
- 好友面板独立 partial`resources/views/chat/partials/friend-panel.blade.php`
- 工具栏「好友」按钮,点击弹出浮窗
- 「我关注的好友」列表:显示互相状态(💚互相/👤单向)、添加时间、删除按钮
- 「对方已加我」列表:显示对方添加时间、➕ 回加按钮
- 搜索栏:输入用户名 Enter/点击直接添加好友
- 所有操作调用与双击用户卡片相同的后端接口
- `FriendController::index()` 返回 `friends`(含 `sub_time`)和 `pending` 两个列表
- [ ] **婚姻系统**`Marriage` 模型已建,界面待完成)
- [ ] **单元测试**(核心 Service 层测试覆盖率)
- [ ] **Flash 游戏替代**`game/``pig/` 等 .swf 文件,考虑 HTML5/Canvas 重写)