konveyor / tackle2-ui

Tackle (2nd generation) UI component.
Apache License 2.0
8 stars 43 forks source link

:bug: Use standard filters for languages in the Set Targets step (#2045) #2055

Closed konveyor-ci-bot[bot] closed 3 months ago

konveyor-ci-bot[bot] commented 3 months ago

Before, in the Set Targets step, if the languages were not pre-selected automatically then no cards were visible. In order to see target cards user had to select at least one language. After this fix, all target cards will be visible.

Additional changes:

  1. wait (display a spinner) until all necessary queries finished before displaying Set Targets step
  2. improve error handling
    1. display error when targets could not be loaded
  3. silently ignore failed optional queries and continue without extra featues
  4. extract data fetching into one hook

Resolves: https://github.com/konveyor/tackle2-ui/issues/2009 Resolves: https://issues.redhat.com/browse/MTA-3515


Signed-off-by: Radoslaw Szwajkowski rszwajko@redhat.com Signed-off-by: Scott J Dickerson sdickers@redhat.com Co-authored-by: Scott J Dickerson sdickers@redhat.com Signed-off-by: Cherry Picker noreply@github.com