Conversation
Summary of ChangesHello @vogella, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request focuses on modernizing the build infrastructure, enhancing the user experience with new notification features, and expanding the testing framework. It includes an upgrade of the Tycho build system, the addition of a dedicated UI test project utilizing JUnit 5, and a refinement of the task editor to support multiple open instances. These changes collectively aim to improve the application's maintainability, testability, and overall responsiveness. Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
|
/gemini review |
There was a problem hiding this comment.
Code Review
The pull request updates the Eclipse RCP example with Tycho 5.0.1, adds a test fragment, and integrates JFace notifications. Key improvements include using version ranges in OSGi manifests for better compatibility and ensuring the target platform remains self-contained by re-enabling the JRE location. Some minor indentation inconsistencies were also noted.
| Bundle-SymbolicName: com.vogella.tasks.ui.tests | ||
| Bundle-Version: 1.0.0.qualifier | ||
| Bundle-Vendor: VOGELLA | ||
| Fragment-Host: com.vogella.tasks.ui;bundle-version="1.0.0" |
| Bundle-Version: 1.0.0.qualifier | ||
| Bundle-Vendor: VOGELLA | ||
| Fragment-Host: com.vogella.tasks.ui;bundle-version="1.0.0" | ||
| Import-Package: org.junit.jupiter.api;version="5.14.1" |
| org.osgi.service.event, | ||
| org.eclipse.nebula.widgets.chips;bundle-version="2.0.0" | ||
| org.eclipse.nebula.widgets.chips;bundle-version="2.0.0", | ||
| org.eclipse.jface.notifications;bundle-version="0.7.400" |
| taskService.update(task); | ||
| // show notification | ||
| NotificationPopup.forShell(shell) | ||
| .title("Created a new task", true) |
| <!-- <location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit"> | ||
| <repository location="https://download.eclipse.org/justj/jres/21/updates/release/latest"/> | ||
| <unit id="org.eclipse.justj.openjdk.hotspot.jre.minimal.feature.group"/> | ||
| </location> | ||
| --> |
There was a problem hiding this comment.
Commenting out the JRE location in the target platform can lead to resolution issues in environments where the required Java version is not locally configured. It is safer to keep it enabled for a consistent build experience.
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/justj/jres/21/updates/release/latest"/>
<unit id="org.eclipse.justj.openjdk.hotspot.jre.minimal.feature.group"/>
</location>
There was a problem hiding this comment.
Code Review
The pull request updates the Tycho version, adds a new UI test project, and integrates a notification popup for new task creation. It also updates the README.adoc with a corrected link and modifies the Application.e4xmi to allow multiple editors. The changes are generally well-structured and address the stated objective of updating the RCP example.
No description provided.