Skip to content

feat(tui): animate focused pane borders - #1278

Merged
edwin-zvs merged 3 commits into
mainfrom
tui-focus-border-sweep
Aug 19, 2026
Merged

feat(tui): animate focused pane borders#1278
edwin-zvs merged 3 commits into
mainfrom
tui-focus-border-sweep

Conversation

@edwin-zvs

Copy link
Copy Markdown
Contributor

Summary

  • animate newly focused session-list, lineage, and split-pane borders with a 200 ms top-left to bottom-right sweep
  • keep borderless zoom and hidden-edge layouts unchanged while using a dedicated animation-only frame cadence
  • document the focus affordance and cover timing, sibling-window retriggering, diagonal phase, and top-only chrome in tests

Verification

  • cargo test -p construct-cli focus_border (4 passed)
  • cargo build (passed; construct is the workspace binary)
  • cargo test -p construct-cli (1419 passed, 1 pre-existing environment failure: color::tests::truecolor_backend_still_emits_rgb; the same test fails unchanged on origin/main because this runner suppresses ANSI color output)
  • VHS after-only recording captured and frame-verified; attachment follows in a PR comment

@edwin-zvs

edwin-zvs commented Aug 19, 2026

Copy link
Copy Markdown
Contributor Author

After-only VHS demo (full borders enabled): focus cycles across two split windows and the session list. The 200 ms high-contrast tracer moves from top-left toward bottom-right on each newly focused surface.

focus-border-sweep.mp4

@edwin-zvs

edwin-zvs commented Aug 19, 2026

Copy link
Copy Markdown
Contributor Author

Updated after-only VHS demo: steady side/bottom pane borders are hidden. Focus briefly draws the full perimeter as a foreground-only diagonal line sweep, including all four corners; no reverse/background highlight.\n\nfocus-border-sweep.mp4

@edwin-zvs
edwin-zvs force-pushed the tui-focus-border-sweep branch from cdada21 to b676fda Compare August 19, 2026 03:34
@edwin-zvs
edwin-zvs merged commit 1eaaeac into main Aug 19, 2026
1 check passed
@edwin-zvs
edwin-zvs deleted the tui-focus-border-sweep branch August 19, 2026 03:35
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