feat(web-ui): add desktop pet bubble composer - #1768
Merged
Conversation
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #987
Type and Areas
Type:
Feature / bug fix / UI/UX / test
Areas:
Web UI, desktop Agent companion window, flow-chat activity, i18n
Motivation / Impact
Users can reply directly from a desktop pet task bubble without opening the main BitFun window. The hover affordance now works while the transparent pet window is inactive, disappears reliably when the pointer leaves, and the inline composer provides explicit send and cancel controls. Context menus also allow closing the pet or dismissing individual task bubbles.
Verification
pnpm --dir src/web-ui run test:run src/app/components/AgentCompanionDesktopPet/AgentCompanionDesktopPet.test.tsx src/app/services/agentCompanionPetCommands.test.ts src/flow_chat/services/AgentCompanionActivityBridge.test.ts src/infrastructure/mouse-glow/core/MouseGlowService.test.ts— 4 files, 31 tests passedpnpm run type-check:web— passedpnpm run i18n:audit— passed with 0 warningspnpm --dir src/web-ui exec sass src/app/components/AgentCompanionDesktopPet/AgentCompanionDesktopPet.scss /tmp/bitfun-agent-pet-cancel.css— passedgit diff --check— passedReviewer Notes
Checklist