Skip to content

Add current and new plugin versions while update#1001

Open
subyssurendran666 wants to merge 1 commit intoeclipse-equinox:masterfrom
subyssurendran666:current_and_update_plugin_version_935
Open

Add current and new plugin versions while update#1001
subyssurendran666 wants to merge 1 commit intoeclipse-equinox:masterfrom
subyssurendran666:current_and_update_plugin_version_935

Conversation

@subyssurendran666
Copy link

@subyssurendran666 subyssurendran666 commented Feb 13, 2026

This change enhances the update wizard to display both the currently installed version and the available update version for each feature. This allows users to easily compare versions and make more informed decisions when selecting updates.
image

Fix: #935

This change enhances the update wizard to display both the currently
installed version and the available update version for each feature.
This allows users to easily compare versions and make more informed
decisions when selecting updates.

Fix: eclipse-equinox#935
@iloveeclipse
Copy link
Member

Screenshot?

@subyssurendran666
Copy link
Author

There are two areas where changes were required for this fix. I have added a unit test for IUDetailsLabelProvider, but I’m unsure how to write a unit test for ResolutionResultsWizardPage. I also reviewed the revision history of the modified area, and it appears that no unit tests were added there previously. Could someone please guide me on how to approach testing this part?

@subyssurendran666
Copy link
Author

image

I also have a concern regarding the UX aspect of this approach. If both version IDs are too long, it could significantly affect readability. I considered displaying the new version in a separate column, but that may not be ideal from a UX perspective either

@github-actions
Copy link

Test Results

  384 files  ±0    384 suites  ±0   40m 8s ⏱️ - 3m 44s
1 908 tests +1  1 905 ✅ +1  3 💤 ±0  0 ❌ ±0 
6 724 runs  +3  6 715 ✅ +3  9 💤 ±0  0 ❌ ±0 

Results for commit 46565ca. ± Comparison against base commit d5bb33c.

@laeubi
Copy link
Member

laeubi commented Feb 13, 2026

I would say display both versions in two colums (From, To)

If you are concerned about the length I think one can shorten the version for display, e.g. only Major.Minor.Micro the qualifier is almost useless in all cases.

I think a good algorithm would be to find the first differing segment and reduce it to that e.g. lets say the Major version is different then just show Major version, if minor is different show major+minor and so on... that's the actual relevant information and the full version details can be shown when hovering in a tooltip or elsewhere.

@merks
Copy link
Contributor

merks commented Feb 13, 2026

One useful bit of information in the qualifier is the date which is typically the only information that's meaningful to the user who is generally not familiar with the versioning scheme of the unit. I agree though that it looks a bit like "too much information" and that two columns would allow one to squeeze down the column to truncation the qualifier. (I wonder, are the columns packed or is a column layout used.)

@subyssurendran666
Copy link
Author

subyssurendran666 commented Feb 13, 2026

Thanks for the feedbacks, I will come up with a two columns approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Display the currently installed version of a feature in the update wizard

4 participants