#1928: Added Upgrade IDEasy and Update functionalities to the GUI with pro active notifications - #2396
Open
JoelAdbu wants to merge 83 commits into
Conversation
- Added testing class for modals
- Added logging to IdeGuiStateManager. - Added functionality, that selecting a different project now switches the IdeContext to the new project.
- Added testing class for modals
- Added logging to IdeGuiStateManager. - Added functionality, that selecting a different project now switches the IdeContext to the new project.
…t-for-gui' into devonfw#1785-implement-modals-in-idecontext
- Added functionality, that selecting a different project now switches the IdeContext to the new project.
…plementation' into devonfw#1802-state-management-implementation
…r other ui feature branches
- added DI for IdeGuiStateManager.switchContext
…reading the list of workspaces/projects instead of reading those from the UI
…nager, when switchContext(Path rootDirectory, ...) is called.
This reverts commit 6f92d93.
…plementation' into devonfw#1802-state-management-implementation
…tateManager is now set when calling getInstance(), allowing us to provide a getInstance() method with a DI parameter
… getInstance()) (see previous commit)
…can be extended by tests
…plementation' into devonfw#1802-state-management-implementation
…/1928-show-pro-active-notifications-of-updates-in-gui
…n-gui' of https://github.com/KarimALotfy/IDEasy into feature/1928-show-pro-active-notifications-of-updates-in-gui
…n-gui' of https://github.com/KarimALotfy/IDEasy into feature/1928-show-pro-active-notifications-of-updates-in-gui
…/1928-show-pro-active-notifications-of-updates-in-gui
…ro-active-notifications-of-updates-in-gui
- resolving merge conflicts
- spotless...
8 tasks
Collaborator
Coverage Report for CI Build 33508642804Coverage decreased (-0.3%) to 73.29%Details
Uncovered ChangesNo uncovered changes found. Coverage Regressions81 previously-covered lines in 4 files lost coverage.
Coverage Stats💛 - Coveralls |
- for testing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes #1928
This PR continues the work started in: #2027
Implemented Changes
Created UpgradeController
Created UpdateController
ComboBox, opening a dialog that allows running the update command.Controller / architecture adjustments
MainControllerto allow dependency injection.Localization
#1936.messages.propertiesandmessages_de.properties.Tests
UpgradeUpdateFlowTestas end-to-end GUI integration tests for both update and upgrade flows using the new indicator + dialog pattern.UI refactoring
main-view.fxmlso the tool cards are displayed in a grid layout, aligned with the Figma design:Tray notification service
TrayNotificationServiceto avoid duplicated tray-indicator logic.UpgradeControllerandUpdateControllerto show the clickable tray indicator when an upgrade or update is available.Testing Instructions
1. GUI testing with overridden configuration
A test configuration class was added:
TestGuiConfigurationThis allows overriding the current IDEasy version and update availability via environment variables when launching the GUI.
Example:
IDE_VERSION=2026.02.001;IDE_UPDATE_AVAILABLE=trueUsage:
Upgrade flow
Update flow
ComboBox.2. Run automated tests
Run the following test class:
UpgradeUpdateFlowTestThis validates both update and upgrade flows
Checklist for this PR
Make sure everything is checked before merging this PR. For further info please also see
our DoD.
mvn clean testlocally all tests pass and build is successful#«issue-id»: «brief summary»(e.g.#921: fixed setup.bat). If no issue ID exists, title only.In Progressand assigned to you or there is no issue (might happen for very small PRs)with
internal