Replace browse combo wrappers with ComboBox editors#268
Replace browse combo wrappers with ComboBox editors#268cj-radcliff wants to merge 4 commits intomainfrom
Conversation
|
/gemini review please |
There was a problem hiding this comment.
Code Review
This pull request effectively replaces the deprecated ComboboxWithBrowseButton with a standard ComboBox that uses a custom ExtendableTextField editor. This is a good modernization of the UI components, and the changes are applied consistently across several configuration dialogs. I've identified a minor issue where an incorrect resource bundle key is used for a tooltip, which could lead to user confusion. My suggested fix addresses this. Overall, this is a solid refactoring.
...in/java/com/jetbrains/lang/dart/ide/runner/server/ui/DartRemoteDebugConfigurationEditor.java
Show resolved
Hide resolved
|
/gemini Review the latest fix that should fix your last review comment |
There was a problem hiding this comment.
Code Review
The pull request successfully replaces the deprecated ComboboxWithBrowseButton with modern ComboBox editors using ExtendableTextField. This improves UI consistency and adheres to current IntelliJ platform standards. However, there is a regression in DartRemoteDebugConfigurationEditor where manual path entry is no longer correctly handled, and the display text in the editable field now includes presentable names instead of raw paths.
...in/java/com/jetbrains/lang/dart/ide/runner/server/ui/DartRemoteDebugConfigurationEditor.java
Outdated
Show resolved
Hide resolved
...in/java/com/jetbrains/lang/dart/ide/runner/server/ui/DartRemoteDebugConfigurationEditor.java
Show resolved
Hide resolved
|
/gemini review latest |
There was a problem hiding this comment.
Code Review
This pull request refactors several UI components, replacing ComboboxWithBrowseButton with a modern ComboBox that uses an ExtendableTextField as its editor. The changes are well-executed across multiple files, including UI forms and their corresponding Java classes. The new implementation correctly replicates the old functionality, such as the browse-for-folder action and dynamic content loading. I've found a couple of minor issues that could improve the robustness and consistency of the implementation.
...in/java/com/jetbrains/lang/dart/ide/runner/server/ui/DartRemoteDebugConfigurationEditor.java
Outdated
Show resolved
Hide resolved
…erver/ui/DartRemoteDebugConfigurationEditor.java Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
|
/gemini can you look one more time? |
There was a problem hiding this comment.
Code Review
This pull request successfully replaces the deprecated ComboboxWithBrowseButton with modern ComboBox editors across various UI components. The implementation is clean and follows current IntelliJ Platform UI best practices. I've found one area for improvement to ensure UI consistency, which is detailed in the review comment.
|
Hi @pq : comprehensive reviewer note for this PR. Why this change existsThe primary goal is to replace Scope summaryPR #268 updates 8 files (Java + .form + bundle strings):
Net effect: replace wrapper browse-combo widgets with plain File-by-file details
Reviewer-facing behavior changes to double-check
Potential risks / edge cases
Validation performed
Suggested manual spot checks (high value)
If you want, I can follow up by adding a focused regression test around remote-debug path round-tripping for typed string input (non- |
This code attempts to replace the deprecated ComboboxWithBrowseButton. It was entirely coded with AI and reviewed by AI. It should be reviewed carefully by a human prior to accepting.