Skip to content

feat: improve TUI feedback and migrate to TypeScript 7 - #29

Merged
EaeDave merged 3 commits into
mainfrom
feat/tui-interaction-feedback
Aug 13, 2026
Merged

feat: improve TUI feedback and migrate to TypeScript 7#29
EaeDave merged 3 commits into
mainfrom
feat/tui-interaction-feedback

Conversation

@EaeDave

@EaeDave EaeDave commented Aug 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • highlight the room URL, action buttons, timeline rows, and composer on mouse hover
  • show stronger transient footer feedback for mouse-driven actions
  • document hover behavior in the TUI help and README
  • pin TypeScript 7.0.2 and refresh the Bun lockfile

Validation

  • TypeScript 7.0.2: bun run typecheck
  • 117 TypeScript tests passed across 21 files; the unrelated launcher integration test remains host-state dependent
  • desktop web production build passed
  • drizzle schema check passed
  • Rust: 35 tests passed
  • cargo clippy --all-targets -- -D warnings passed
  • PTY smoke: real SGR mouse movement over the room URL emitted reverse-video focus styling

Summary by CodeRabbit

  • New Features

    • Added hover highlighting for action buttons, timeline items, and the message composer.
    • Added interactive controls to help and delete-confirmation overlays.
    • Added footer feedback when clearing or canceling composer input.
    • Room links now support hover highlighting; clicking copies the URL, opens it in the default browser, and reports the results.
  • Documentation

    • Updated Native CLI documentation to describe hover behavior and footer feedback.

@coderabbitai

coderabbitai Bot commented Aug 13, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: d3801497-a488-4bbc-9723-4652ea91e97c

📥 Commits

Reviewing files that changed from the base of the PR and between d78b729 and 5462bb8.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (3)
  • README.md
  • cli/src/tui.rs
  • package.json

📝 Walkthrough

Walkthrough

The TUI now tracks mouse hover targets, highlights interactive regions, centers overlay actions, and reports composer feedback. Documentation describes the new hover and footer behavior. The TypeScript development dependency is pinned to ^7.0.2.

Changes

TUI interaction updates

Layer / File(s) Summary
Hover state and hit testing
cli/src/tui.rs
The TUI stores hover targets and updates them from mouse movement based on the active screen.
Interactive rendering and overlays
cli/src/tui.rs
Room links, timeline items, composer borders, footer actions, and overlay controls now reflect hover state and use centered action rendering.
Composer feedback and validation
cli/src/tui.rs, README.md
Composer clear and close actions report status messages. Tests and documentation cover hover and feedback behavior.

TypeScript tooling update

Layer / File(s) Summary
TypeScript development dependency
package.json
The TypeScript development dependency changes from latest to ^7.0.2.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Mergeability Score: ⚪ Minimal · up to 5462b

This change is merge-ready after normal checks and review; no actionable merge-blocking risk remains.

Sequence Diagram(s)

sequenceDiagram
  participant Mouse
  participant App
  participant TUI
  Mouse->>App: Send mouse movement
  App->>App: Hit-test action, timeline, or composer
  App->>TUI: Store hover target
  TUI->>TUI: Render highlighted region
Loading

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the two primary changes: improved TUI feedback and migration to TypeScript 7.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/tui-interaction-feedback

Comment @coderabbitai help to get the list of available commands.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 2 files

Reply with feedback, questions, or to request a fix.

Fix all with cubic | Re-trigger cubic

Comment thread cli/src/tui.rs
@EaeDave EaeDave changed the title feat: add TUI interaction feedback feat: improve TUI feedback and migrate to TypeScript 7 Aug 13, 2026
@EaeDave
EaeDave merged commit d09512f into main Aug 13, 2026
2 checks passed
@EaeDave
EaeDave deleted the feat/tui-interaction-feedback branch August 13, 2026 22:02
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