Commit 04f936d
authored
feat(idle-cat): polish cat transitions and CAT1 chat follow (#1648)
* 完善模型猫形态切换过渡
- 增加模型与猫形态双向切换遮罩动画,并统一互斥与定位链路
- 统一 Live2D、VRM、MMD 的原处缩小渐隐退场和猫形态返回模型入场
- 补充过渡资源版本、样式、设计文档和静态契约测试
验证:
- node --check static/app-ui.js
- node --check static/avatar-ui-buttons.js
- pytest tests/unit/test_avatar_return_button_idle_tiers_static.py tests/unit/test_auto_goodbye_goodbye_return_contract.py -q
- pytest tests/unit/test_app_auto_goodbye_phase1.py tests/unit/test_mmd_interaction_static_contracts.py -q
- git diff --check
* 移除桌面联动旧聊天容器选择器
- 移除 app-interpage 中模型管理器隐藏样式对旧 #chat-container 的引用
- 保持 React chat overlay 作为当前桌面聊天 UI 边界
验证:
- node --check static/app-interpage.js
- pytest tests/unit/test_avatar_return_button_idle_tiers_static.py tests/unit/test_react_chat_idle_dock_static.py tests/unit/test_app_auto_goodbye_phase1.py tests/unit/test_phase5_regression_boundary.py tests/unit/test_react_chat_window_static.py -q
* 优化CAT1走路与上缘跟随手感
- 调整CAT1走路速度与到达阈值,让走路GIF和实际位移更接近,并减少到达目标时的吸附跳位。\n- 避免hover/click GIF播放中被随机走路打断。\n- compact上缘甩下猫猫改为连续快速移动判定,减少单帧速度尖峰误触发。\n- 更新三态猫文档和静态契约测试。
* 修复模型猫过渡审查问题
- 过渡 Promise 失败时记录警告并清理 return ball transition 标记。\n- 抽取模型容器 transition CSS 变量,并补齐 VRM 缩放 transform-origin。\n- 补充 VRM goodbye 统一链路断言和 CSS helper 说明。1 parent ad3375c commit 04f936d
9 files changed
Lines changed: 1084 additions & 210 deletions
File tree
- docs/design
- main_routers
- static
- assets/neko-idle
- css
- tests/unit
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
| |||
Large diffs are not rendered by default.
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
209 | 210 | | |
210 | 211 | | |
211 | 212 | | |
212 | 213 | | |
213 | 214 | | |
214 | | - | |
215 | | - | |
| 215 | + | |
| 216 | + | |
216 | 217 | | |
217 | 218 | | |
218 | 219 | | |
| |||
235 | 236 | | |
236 | 237 | | |
237 | 238 | | |
238 | | - | |
| 239 | + | |
239 | 240 | | |
240 | 241 | | |
241 | 242 | | |
| |||
1168 | 1169 | | |
1169 | 1170 | | |
1170 | 1171 | | |
1171 | | - | |
| 1172 | + | |
| 1173 | + | |
1172 | 1174 | | |
1173 | 1175 | | |
1174 | 1176 | | |
| |||
1529 | 1531 | | |
1530 | 1532 | | |
1531 | 1533 | | |
| 1534 | + | |
1532 | 1535 | | |
1533 | 1536 | | |
1534 | 1537 | | |
| |||
1867 | 1870 | | |
1868 | 1871 | | |
1869 | 1872 | | |
1870 | | - | |
| 1873 | + | |
1871 | 1874 | | |
1872 | 1875 | | |
1873 | 1876 | | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
| 1880 | + | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
1874 | 1884 | | |
1875 | 1885 | | |
1876 | 1886 | | |
| |||
2750 | 2760 | | |
2751 | 2761 | | |
2752 | 2762 | | |
| 2763 | + | |
| 2764 | + | |
| 2765 | + | |
| 2766 | + | |
| 2767 | + | |
| 2768 | + | |
| 2769 | + | |
2753 | 2770 | | |
2754 | 2771 | | |
2755 | 2772 | | |
| |||
3833 | 3850 | | |
3834 | 3851 | | |
3835 | 3852 | | |
3836 | | - | |
| 3853 | + | |
| 3854 | + | |
| 3855 | + | |
| 3856 | + | |
| 3857 | + | |
3837 | 3858 | | |
3838 | 3859 | | |
3839 | 3860 | | |
| |||
3852 | 3873 | | |
3853 | 3874 | | |
3854 | 3875 | | |
3855 | | - | |
| 3876 | + | |
| 3877 | + | |
| 3878 | + | |
| 3879 | + | |
| 3880 | + | |
| 3881 | + | |
| 3882 | + | |
| 3883 | + | |
| 3884 | + | |
| 3885 | + | |
| 3886 | + | |
| 3887 | + | |
| 3888 | + | |
| 3889 | + | |
| 3890 | + | |
| 3891 | + | |
| 3892 | + | |
| 3893 | + | |
3856 | 3894 | | |
3857 | 3895 | | |
3858 | 3896 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
3 | 9 | | |
4 | 10 | | |
5 | 11 | | |
| |||
233 | 239 | | |
234 | 240 | | |
235 | 241 | | |
236 | | - | |
| 242 | + | |
237 | 243 | | |
238 | 244 | | |
239 | 245 | | |
| 246 | + | |
240 | 247 | | |
241 | 248 | | |
242 | 249 | | |
243 | 250 | | |
244 | | - | |
245 | | - | |
| 251 | + | |
| 252 | + | |
246 | 253 | | |
247 | | - | |
248 | 254 | | |
249 | 255 | | |
250 | 256 | | |
| |||
268 | 274 | | |
269 | 275 | | |
270 | 276 | | |
| 277 | + | |
271 | 278 | | |
272 | 279 | | |
273 | 280 | | |
| |||
292 | 299 | | |
293 | 300 | | |
294 | 301 | | |
295 | | - | |
| 302 | + | |
296 | 303 | | |
297 | 304 | | |
298 | 305 | | |
| 306 | + | |
299 | 307 | | |
300 | 308 | | |
301 | 309 | | |
| |||
310 | 318 | | |
311 | 319 | | |
312 | 320 | | |
| 321 | + | |
313 | 322 | | |
| 323 | + | |
| 324 | + | |
314 | 325 | | |
315 | 326 | | |
316 | 327 | | |
| 328 | + | |
317 | 329 | | |
318 | 330 | | |
319 | | - | |
320 | | - | |
321 | | - | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
322 | 335 | | |
323 | | - | |
324 | 336 | | |
325 | 337 | | |
326 | 338 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
| |||
0 commit comments