docs(notes): name the spring's rest predicate in the change scope

This commit is contained in:
yudshj authored and Yudong Han committed 2026-10-26 09:04:23 +08:00
1 parent 38c1b9b835
commit 0fd4be4065
3 files changed
+4 -4

No files matched your search

@@ -24,8 +24,8 @@
en: 7e29bf1c45b5386d
zh: c913a2ce6d1722d1
/agent-note-spring-based-edge-recovery-for-floating-dock-panels/decision/change-scope:
en: d8130d19d381d6f3
zh: b2bc6df73f9983c7
en: 4e4fbd33723b1fa7
zh: 9d4fdef30f4f2d2b
/agent-note-spring-based-edge-recovery-for-floating-dock-panels/testing:
en: 01b778ba0c0dfef2
zh: f5d413da8e06e2ac
@@ -64,7 +64,7 @@ The change touches one package, `@deepseek-ai/dsh-client-ui-dockkit`, and leaves
| File | Change |
|---|---|
| `packages/client/ui-dockkit/src/engine/geometry.ts` | `FloatBounds`, `FLOAT_RESISTANCE`, `legalFloatRect`, `resistedRect`, `unresistedRect`, `boundedResize` |
| `packages/client/ui-dockkit/src/engine/spring.ts` | the pure spring integrator, its rest test, `launchVelocity` and its timing limits |
| `packages/client/ui-dockkit/src/engine/spring.ts` | the pure spring integrator, its rest predicate `springSettled`, `launchVelocity` and its timing limits |
| `packages/client/ui-dockkit/src/components/FloatLayer.tsx` | `useFloatGestures`: viewport projection, resistance, release spring, drawn-velocity sampling, reduced motion, frame loop and cancellation; `rectOf` and `floatStyle` for both renderers |
| `packages/client/ui-dockkit/src/components/TabLayout.tsx` | draws the hook's displayed rectangle through `floatStyle` |
| `packages/client/ui-dockkit/src/components/dockkit.module.css` | the resting clamp on `.float` |
@@ -64,7 +64,7 @@ x = x + v * h
| 文件 | 变更 |
|---|---|
| `packages/client/ui-dockkit/src/engine/geometry.ts` | `FloatBounds`、`FLOAT_RESISTANCE`、`legalFloatRect`、`resistedRect`、`unresistedRect`、`boundedResize` |
| `packages/client/ui-dockkit/src/engine/spring.ts` | 纯弹簧积分器、静止判定、`launchVelocity` 与时间上限 |
| `packages/client/ui-dockkit/src/engine/spring.ts` | 纯弹簧积分器、静止判定函数 `springSettled`、`launchVelocity` 与时间上限 |
| `packages/client/ui-dockkit/src/components/FloatLayer.tsx` | `useFloatGestures`:视口投影、阻力、松手弹簧、绘制速度采样、减弱动态效果、帧循环与取消;供两个渲染器使用的 `rectOf` 与 `floatStyle` |
| `packages/client/ui-dockkit/src/components/TabLayout.tsx` | 通过 `floatStyle` 绘制 hook 给出的显示矩形 |
| `packages/client/ui-dockkit/src/components/dockkit.module.css` | `.float` 上的静止钳制 |