Skip to content

#2329: workspace main should be auto selected when selecting a project in the gui - #2354

Open
samuelkos17 wants to merge 4 commits into
devonfw:mainfrom
samuelkos17:feature/2329-workspace-main-should-be-auto-selected-when-selecting-a-project-in-the-gui
Open

#2329: workspace main should be auto selected when selecting a project in the gui#2354
samuelkos17 wants to merge 4 commits into
devonfw:mainfrom
samuelkos17:feature/2329-workspace-main-should-be-auto-selected-when-selecting-a-project-in-the-gui

Conversation

@samuelkos17

@samuelkos17 samuelkos17 commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

This PR fixes #2329

Implemented changes:

  • Added auto-selection logic of the workspace "main" to setWorkspaceComboBox in MainController.java
  • Changed tests to fit the auto-selection logic

Testing instructions

Please add conscise, understandable instructions on how a reviewer can test/verify the functionality of your contribution here:

  1. Run ./build-local-dev.sh (when #2351: Fixed GUI not launching with local dev build #2352 is merged)
  2. Open a shell and run ide gui
  3. Select a project in the gui and observe the workspace combobox, it should contain "main" and the IDE-buttons should be clickable.

Checklist for this PR

Make sure everything is checked before merging this PR. For further info please also see
our DoD.

  • When running mvn clean test locally all tests pass and build is successful
  • PR title is of the form #«issue-id»: «brief summary» (e.g. #921: fixed setup.bat and not feature/921 fixed setup.bat). If no issue ID exists, title only.
  • PR top-level comment summaries what has been done and contains link to addressed issue(s)
  • PR and issue(s) have suitable labels
  • Issue is set to In Progress and assigned to you or there is no issue (might happen for very small PRs)
  • You followed all coding conventions
  • You have added the issue implemented by your PR in CHANGELOG.adoc unless issue is labelled
    with internal
  • You have not changed any dependency in pom.xml files or otherwise if runtime dependencies changed, you have updated our LICENSE.asciidoc
  • You have formulated clear instructions on how to test your contribution under "Testing instructions"

…ain-should-be-auto-selected-when-selecting-a-project-in-the-gui

# Conflicts:
#	gui/src/main/java/com/devonfw/ide/gui/MainController.java
@github-project-automation github-project-automation Bot moved this to 🆕 New in IDEasy board Aug 19, 2026
@samuelkos17 samuelkos17 self-assigned this Aug 19, 2026
@samuelkos17 samuelkos17 moved this from 🆕 New to Team Review in IDEasy board Aug 19, 2026
@samuelkos17 samuelkos17 added enhancement New feature or request GUI Graphical User Interface of IDEasy (aka dashboard) build with JavaFx labels Aug 19, 2026
@samuelkos17 samuelkos17 added this to the release:2026.08.002 milestone Aug 19, 2026
@samuelkos17 samuelkos17 moved this from Team Review to 🏗 In progress in IDEasy board Aug 20, 2026
@coveralls

coveralls commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Coverage Report for CI Build 32347205334

Coverage increased (+0.006%) to 72.942%

Details

  • Coverage increased (+0.006%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • 13 coverage regressions across 1 file.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

13 previously-covered lines in 1 file lost coverage.

File Lines Losing Coverage Coverage
com/devonfw/ide/gui/MainController.java 13 67.88%

Coverage Stats

Coverage Status
Relevant Lines: 17571
Covered Lines: 13367
Line Coverage: 76.07%
Relevant Branches: 7771
Covered Branches: 5118
Branch Coverage: 65.86%
Branches in Coverage %: Yes
Coverage Strength: 3.23 hits per line

💛 - Coveralls

@samuelkos17 samuelkos17 moved this from 🏗 In progress to Team Review in IDEasy board Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request GUI Graphical User Interface of IDEasy (aka dashboard) build with JavaFx

Projects

Status: Team Review

Development

Successfully merging this pull request may close these issues.

Workspace "main" should be auto-selected when selecting a project in the GUI

2 participants