-
-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project Version Picker Should Indicate Inactive Versions #844
Comments
Note, the API will need to be updated to include the The code for querying the version information displayed in this dropdown is here: https://github.com/DependencyTrack/dependency-track/blob/06e6eba67e67fa173a7b1ea46b46515962e61b13/src/main/java/org/dependencytrack/persistence/ProjectQueryManager.java#L1209-L1215 |
Hi folks, Option 1 - Warning Icon Option 2 - Strikethrough I'm leaning towards Option 1, since
Eager to know your thoughts! |
@aravindparappil46 I think using Perhaps using a "muted" text style would make sense, indicating that those items are less important than the rest. We could further sort the version list such that inactive versions are grouped towards the bottom of the dropdown. Another option - note that I haven't looked at how the dropdown is currently implemented - could be to use |
Would it be a manual action then to set the version inactive? In other words, it would be a deliberate decision to set a version inactive, and if you don't, you will have multiple versions active? |
Yes. In the UI, this is set via the dialog displayed when clicking the "View Details" button for a project. Flagging a project as inactive is a great way to ensure that it does not "pollute" the portfolio metrics. The justification for why a project version might be flagged as inactive rather than simply being deleted will depend on your processes/preferences. But note that incoming regulation in Europe will mandate that such data be retained for 10 years AFTER a product is EOL. Thus, the use of "inactive" in DT will most likely increase in the future. |
Current Behavior
When viewing a project, one can switch to a different version of the project using a dropdown picker. The list of available versions does not indicate which are active and which are inactive
Proposed Behavior
The list of versions displayed in the version picker dropdown should indicate when a version is inactive. Perhaps by using strikethrough?
Checklist
The text was updated successfully, but these errors were encountered: