qwen-code/packages/web-shell/client/hooks
ytahdn e379ea4e53
feat(web-shell): enhance composer and empty-session animations (#8098)
* feat(web-shell): enhance composer animations

* fix(web-shell): refresh DPR on resize and cover animation a11y guards

Re-read devicePixelRatio inside each resize so the specular composer
effect and the new-session dot field keep a correctly sized backing
store when the page zoom or display scale factor changes. Add
component-level coverage for the prefers-reduced-motion guards and for
the typewriter replay after the empty editor loses focus.

* fix(web-shell): localise specular highlight, fix rotation direction, add idle bail-out (#8098)

* fix(web-shell): correct specular angle wrap and dot field pointer baseline (#8098)

* fix(web-shell): paint static dot grid and idle animation loops (#8098)

* fix(web-shell): reset specular proximity on pointer leave and test WebGL cleanup (#8098)

---------

Co-authored-by: 钉萁 <dingqi.jww@alibaba-inc.com>
Co-authored-by: qwen-code-dev-bot <qwen-code-dev@service.alibaba.com>
Co-authored-by: Qwen Code Autofix <qwen-code-autofix@users.noreply.github.com>
Co-authored-by: qwen-code-ci-bot <qwen-code-ci-bot@users.noreply.github.com>
Co-authored-by: Qwen Code Bot <qwen-code-bot@users.noreply.github.com>
2026-07-31 02:20:27 +00:00
..
daemonSessionMappers.ts feat(daemon): merge daemon-mode feature batch into main (#4490) 2026-06-12 00:34:49 +08:00
useAnimationFrameTranscriptBlocks.test.tsx fix(web-shell): reduce composer input latency (#8015) 2026-07-29 08:06:53 +00:00
useAnimationFrameTranscriptBlocks.ts fix(web-shell): reduce composer input latency (#8015) 2026-07-29 08:06:53 +00:00
useAnimationFrameValue.ts feat(daemon): merge daemon-mode feature batch into main (#4490) 2026-06-12 00:34:49 +08:00
useAtMentionMenu.test.tsx fix(web-shell): reduce composer input latency (#8015) 2026-07-29 08:06:53 +00:00
useAtMentionMenu.ts fix(web-shell): reduce composer input latency (#8015) 2026-07-29 08:06:53 +00:00
useBackgroundTasks.test.tsx feat(web-shell): add contextual task panels (#7929) 2026-07-30 13:45:30 +00:00
useBackgroundTasks.ts feat(web-shell): add contextual task panels (#7929) 2026-07-30 13:45:30 +00:00
useComposerCore.dom.test.tsx fix(web-shell): reduce composer input latency (#8015) 2026-07-29 08:06:53 +00:00
useComposerCore.mobile.dom.test.tsx fix(web-shell): reduce composer input latency (#8015) 2026-07-29 08:06:53 +00:00
useComposerCore.test.ts fix(web-shell): isolate history and session drafts (#7810) 2026-07-28 01:45:52 +00:00
useComposerCore.ts fix(web-shell): reduce composer input latency (#8015) 2026-07-29 08:06:53 +00:00
useDelayedGlobalKeyDown.ts feat(daemon): merge daemon-mode feature batch into main (#4490) 2026-06-12 00:34:49 +08:00
useFilterInput.test.tsx feat(web-shell): overhaul list-dialog interaction, keyboard nav & a11y (#6128) 2026-07-02 12:19:17 +00:00
useFilterInput.ts feat(web-shell): overhaul list-dialog interaction, keyboard nav & a11y (#6128) 2026-07-02 12:19:17 +00:00
useInputHistory.ts fix(web-shell): isolate history and session drafts (#7810) 2026-07-28 01:45:52 +00:00
useIsLargeScreen.test.tsx feat(tui): Ctrl+O frozen transcript view and unified tool output rendering (#5666) 2026-07-09 23:40:29 +00:00
useIsLargeScreen.ts feat(tui): Ctrl+O frozen transcript view and unified tool output rendering (#5666) 2026-07-09 23:40:29 +00:00
useIsTouchComposer.test.tsx fix(web-shell): render a plain textarea composer on touch devices (#7587) 2026-07-23 13:14:25 +00:00
useIsTouchComposer.ts fix(web-shell): render a plain textarea composer on touch devices (#7587) 2026-07-23 13:14:25 +00:00
useListboxKeyboard.test.tsx feat(web-shell): overhaul list-dialog interaction, keyboard nav & a11y (#6128) 2026-07-02 12:19:17 +00:00
useListboxKeyboard.ts feat(web-shell): overhaul list-dialog interaction, keyboard nav & a11y (#6128) 2026-07-02 12:19:17 +00:00
useMessages.test.ts fix(web-shell): sync background agent status (#7561) 2026-07-23 06:35:04 +00:00
useMessages.ts fix(web-shell): reduce composer input latency (#8015) 2026-07-29 08:06:53 +00:00
useNewSessionSuggestion.test.tsx fix(web-shell): reduce composer input latency (#8015) 2026-07-29 08:06:53 +00:00
useNewSessionSuggestion.ts fix(web-shell): reduce composer input latency (#8015) 2026-07-29 08:06:53 +00:00
useOtherWorkspaceSessions.test.tsx fix(web-shell): filter sessions by source (#6995) 2026-07-16 04:56:50 +00:00
useOtherWorkspaceSessions.ts docs(serve): Close multi-workspace hardening gaps (#7019) 2026-07-16 17:33:53 +00:00
usePrefersReducedMotion.test.tsx feat(web-shell): enhance composer and empty-session animations (#8098) 2026-07-31 02:20:27 +00:00
usePrefersReducedMotion.ts feat(web-shell): enhance composer and empty-session animations (#8098) 2026-07-31 02:20:27 +00:00
useQueuedPrompts.test.ts fix(web-shell): stop stacking duplicate copies when restoring prompt text (#7134) 2026-07-17 22:22:50 +00:00
useQueuedPrompts.ts fix(web-shell): dedupe restored images and harden the sidebar shortcut handler (#7169) 2026-07-18 23:47:40 +00:00
useScopedSessions.test.tsx fix(web-shell): filter sessions by source (#6995) 2026-07-16 04:56:50 +00:00
useScopedSessions.ts fix(web-shell): filter sessions by source (#6995) 2026-07-16 04:56:50 +00:00
useSessionArtifacts.test.tsx feat(web-shell): add artifact right panel (#6591) 2026-07-11 00:13:49 +00:00
useSessionArtifacts.ts fix(web-shell): polish embedded shell interactions (#7477) 2026-07-22 05:21:50 +00:00
useShallowMemo.ts feat(daemon): merge daemon-mode feature batch into main (#4490) 2026-06-12 00:34:49 +08:00
useSharedNow.ts refactor(web-shell): restructure chat UI (#5775) 2026-06-23 22:43:19 +08:00
useStreamingLoadingMetrics.ts fix(ui): display output tokens instead of cumulative API throughput for subagents (#5972) 2026-06-29 07:27:41 +00:00