GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||
GeezerVison is showing github.com — feat(web): clicking a composer mention chip opens the file by Brechard · Pull Request #6299 · pingdotgg/t3code Conversation
|
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
ApprovabilityVerdict: Needs human review This PR adds a new user-facing feature where clicking mention chips opens the referenced file. While well-implemented with comprehensive tests and proper path security checks, new interactive UI capabilities warrant human review. You can customize Macroscope's approvability policy. Learn more. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Two review findings. The workspace containment check compared the whole path exactly, which is right for a POSIX root but rejects `C:\Repo\src\file.ts` against a `C:\repo` root — the filesystem behind a drive letter does not distinguish those, so the chip went inert on a valid mention. The comparison now follows the root: exact for POSIX, folded for a Windows drive. That also retires the drive-letter uppercasing in `toPosixPath`, which was doing half of this job. The chip was pointer-only. It carries `role="button"` and `tabIndex` now, with Enter and Space opening the file; both keys are stopped before Lexical sees them so they do not also type into the prompt. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 0cc9440. Configure here.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Making the chip focusable for keyboard users also meant a plain click moved focus onto it, blurring the editor so typing went nowhere until the composer was clicked again. Preventing the default on mousedown keeps focus and the caret where they were; Tab and Enter still reach the chip. Also trims this change's comments to the register the surrounding modules use. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
|
Note This comment is posted by Julius' dot Closing for missing UI and interaction verification. The PR omits screenshots, and your latest reply says the chip's focus behavior has not been checked in a browser. Please add before/after images and a short recording covering click, Tab, Enter/Space and continued composer typing, with the results, then request reconsideration. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks for the verification feedback. When checking current main, I found that the merged composer rewrite already implements the requested capability: mention chips render as buttons, and their action opens the file in the right panel. This PR modifies the replaced Lexical editor, so I’m leaving it closed as superseded rather than requesting reconsideration. I have not browser-verified the new editor’s focus and keyboard behavior. Checked with GPT-6.1 Sol via Codex. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
No way to open a file you've @-mentioned in the composer
There was an error while loading. Please reload this page.