Skip to content

Move Kap anywhere on the practice screen - #27

Merged
nannndev merged 1 commit into
mainfrom
claude/exciting-bell-qakqv7
Sep 27, 2026
Merged

nannndev merged 1 commit into
mainfrom
claude/exciting-bell-qakqv7

Conversation

@nannndev

Copy link
Copy Markdown
Owner

Summary

  • Hovering the practice buddy shows three controls:
    • a grip: drag it to move Kap;
    • reset: puts him back in the bottom-left corner;
    • hide.
  • Dragging Kap himself still spins him.
  • The position is saved per device as a fraction of the window. placeBuddy clamps it so Kap always stays fully on screen, including after a resize.
  • After a move or a click, keyboard focus goes back to the practice screen so typing continues.

Test plan

  • vitest: 190 tests pass, including placement and clamping tests.
  • tsc -b and the build pass.
  • Browser (1440×900):
    • dragged the grip to the right edge; the position was saved and survived a reload;
    • a keystroke right after the drag reached the editor.

🤖 Generated with Claude Code

https://claude.ai/code/session_018xNjY7412Rp5bFuw5h69yu


Generated by Claude Code

Hovering Kap shows a grip (drag to move), a reset to the corner and hide.
The spot is saved per device as a fraction of the window and clamped so he
always stays fully on screen; dragging Kap himself still spins him. After a
move the keyboard goes back to the practice screen.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018xNjY7412Rp5bFuw5h69yu
@vercel

vercel Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
codetype Ready Ready Preview Sep 27, 2026 10:49am UTC

@nannndev
nannndev merged commit c250e2f into main Sep 27, 2026
2 checks passed

This branch was successfully deployed

1 active deployment
Preview — 77167718 Deployed Sep 27, 2026 by vercel[bot]
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.

2 participants