konveyor/tackle2-ui

Enhance default analysis mode to be aware of application configurations

Opened this issue · 1 comments

Summary

When starting the analysis wizard, and selecting the analysis mode, a better default choice could be automatically made. This can avoid the case where there is a validation message displayed by static default choice. For example, we would like to avoid the analysis wizard opening looking like this:

Screenshot 2024-04-10 at 9 34 17 AM

Change requested

If 1 application has been selected to be analyzed and the application is configured to have...

  • Binary definitions only → select Binary
  • Source definitions only → select Source + Dependencies
  • Source and Binary definitions → select Source + Dependencies
  • No definitions → No default selection

If >1 application has been selected to be analyzed, two options are available:

  • Default to a static Source + Dependencies
  • Follow the same rules as for a single application and if they all select the same option, select that one. If any are different, default to a static Source + Dependencies

Reference

The enhancement follows up on #1364 and #1819 (comment)

This issue is currently awaiting triage.
If contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.
The triage/accepted label can be added by org members.