Skip to content

fix(desktop): agent companion pet resize safety and Windows UX#687

Merged
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:feat/agent-companion-pet-resize-ux
May 12, 2026
Merged

fix(desktop): agent companion pet resize safety and Windows UX#687
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:feat/agent-companion-pet-resize-ux

Conversation

@bobleer
Copy link
Copy Markdown
Collaborator

@bobleer bobleer commented May 12, 2026

Summary

  • Run Agent Companion window resize on the main thread and skip redundant no-op resizes.
  • Gate the macOS-style drag reposition polling so it does not run on Windows WebView.
  • Adjust desktop pet bubble subtitle layout (fixed height, hidden overflow, title max width).
  • Apply rustfmt to prompt_agent_stream indentation in acp_client_api.rs.

Verification

  • pnpm run lint:web && pnpm run type-check:web && pnpm --dir src/web-ui run test:run
  • cargo check -p bitfun-desktop

- Resize companion window on main thread; skip no-op size updates
- Disable macOS-style drag reposition polling on Windows webview
- Tighten desktop pet bubble title/subtitle layout (overflow, fixed subtitle height)
- Format ACP prompt_agent_stream call chain (rustfmt)
@bobleer bobleer merged commit e921f71 into GCWing:main May 12, 2026
1 check passed
@bobleer bobleer deleted the feat/agent-companion-pet-resize-ux branch May 22, 2026 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant