cmux-tui: centralize frontend focus target mapping - #11861
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe change adds a private ChangesFocus target mapping
Estimated code review effort: 1 (Trivial) | ~3 minutes Merge Risk: ⚪ Minimal · up to This refactor centralizes existing focus-target journal mapping without changing presentation behavior. The current change is ready to merge. Suggested reviewers: 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
Full details: Description checkExplanation The description explains what changed, why it changed, and how it was verified. It omits the template checklist and explicit review-trigger section, but the core information is complete and the refactor does not require a demo video. Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 too large.) Full details: Cmux Swift Actor IsolationExplanation PASS: The pull request changes only Full details: Cmux Swift Blocking RuntimeExplanation PASS: The pull request changes only Full details: Cmux Browser Automation Off-MainExplanation PASS. The pull request changes only Full details: Cmux Expensive Synchronous LoadExplanation The custom check applies only to production Swift changes that add or move expensive synchronous agent-history loads. The pull request changes only Full details: Cmux Cache Substitution CorrectnessExplanation PASS. The pull request changes only Full details: Cmux No Hacky SleepsExplanation PASS: The pull request changes only Full details: Cmux Algorithmic ComplexityExplanation PASS: The pull-request commit changes only Full details: Cmux Swift ConcurrencyExplanation PASS: The pull request changes only Full details: Cmux Swift `@Concurrent`Explanation PASS: The pull-request commit changes only Full details: Cmux Swift Package BoundariesExplanation PASS: The pull request changes only ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning Some tools did not complete. Review the errors below. 🔧 ast-grep (0.45.2)cmux-tui/crates/cmux-tui/src/app.rsast-grep timed out on this file Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
All contributors have signed the CLA ✍️ ✅ |
4305137 to
1d4ffdb
Compare
Bugbot is paused — on-demand spend limit reachedBugbot uses usage-based billing for this team and has hit its on-demand spend limit. A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue. |
1d4ffdb to
7efccef
Compare
3812562 refactor(tui): centralize terminal input classification (manaflow-ai#11855) 7d0385f Axiom: failure rate and latency per third-party endpoint (Freestyle, Stack Auth, Stripe, ...) (manaflow-ai#11779) ed5e826 refactor(tui): share frontend focus target mapping (manaflow-ai#11861) 7fa300e Revert "Fix terminal text bleed during live window resize (manaflow-ai#11530)" (manaflow-ai#11887) bace77c perf(cmux-tui): avoid front-shifting layout nodes (manaflow-ai#11860) 9f8a74f cmux-tui: simplify PTY error mapping (manaflow-ai#11864) 2748329 refactor(cmux-tui): share stack row allocation (manaflow-ai#11867) e7223a5 coderouter: PostHog traces + exceptions keyed by the cmux user, request ids, health endpoint, Slack alerts, upstream header timeout (manaflow-ai#11798)
Summary
Verification
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by cubic
Centralizes the
FocusTargettoFrontendFocusTargetmapping incmux-tuiso both presentation snapshot paths use the same conversion. Replaces the duplicated match statements with a singlefrontend_journal_targetmethod onFocusTarget; no behavior change.Written for commit 7efccef. Summary will update on new commits.
Summary by CodeRabbit