Skip to content
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

✨ Support new dropdown for language select #1136

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

ibolton336
Copy link
Member

@nachandr
Copy link
Contributor

Hi @ibolton336 , these changes look good. As a rule, PRs are merged after a successful Jenkins run. Since, PR 1951 has not been merged yet, could you please attach a screenshot of the results of the local run of this PR on analysis/source_analysis.test.ts tests with the changes from PR 1951 ? I'm available on Slack if you need something from me.

@nachandr
Copy link
Contributor

nachandr commented Jun 17, 2024

I checked tackle2-ui-ci-run-PR1951 that shows that 1) the analysis/source_analysis_without_creds .test.ts file(tier0 test) was run through 'global-ci-job' and 2) that the test passed.

@abrugaro abrugaro self-requested a review June 18, 2024 07:16
Signed-off-by: Ian Bolton <ibolton@redhat.com>
Copy link
Collaborator

@abrugaro abrugaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Thanks @ibolton336 !!

Copy link
Collaborator

@kpunwatk kpunwatk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@abrugaro abrugaro merged commit d235cf0 into konveyor:main Jun 20, 2024
6 of 7 checks passed
ibolton336 added a commit to konveyor/tackle2-ui that referenced this pull request Jun 20, 2024
Resolves #1950

UI Tests PR: 1136

Needs: konveyor/tackle-ui-tests#1136

Includes: 
- Provide a "(Show All)" option to display all targets regardless of
language tags. Adds a new component to handle this new menu type.
- Populate the options list from the Provider field of the fetched
targets.
- Initially select the languages based on the tags, of tag category
"Language", across the applications selected for analysis.
- Update TS type for Target to reflect the provider type changing to a
string[].
- Covers the hub change to the task model described here:
>The application Analysis fields used to correlated to task by addon.
This needs to be updated to correlate by kind == "analyzer" (when not
blank) else fallback on addon == "analyzer". The fallback is needed to
correlate tasks created in previous releases.
- Each target card should always display a label with it's provider.
This will allow cards that belong to different providers to be
differentiated when more than one language is selected.


<img width="1360" alt="Screenshot 2024-06-12 at 3 37 47 PM"
src="https://github.com/konveyor/tackle2-ui/assets/11218376/085de6c1-3b56-4532-ab38-81732da377e6">

---------

Signed-off-by: Ian Bolton <ibolton@redhat.com>
Co-authored-by: Radoslaw Szwajkowski <rszwajko@redhat.com>
sjd78 added a commit to sjd78/tackle-ui-tests that referenced this pull request Jun 28, 2024
Follow-up to konveyor#1136

To make sure the test does not unselected the desired target
language that is automatically selected from the application's
tags (language-discovery automatically adds tags when the
application is created), switch from a `click` action to a
`check` action.  A bit more code is used to get to the input
checkbox so the `check()` will work.

Signed-off-by: Scott J Dickerson <sdickers@redhat.com>
sjd78 added a commit to sjd78/tackle-ui-tests that referenced this pull request Jun 28, 2024
Follow-up to konveyor#1136

To make sure the test does not unselected the desired target
language that is automatically selected from the application's
tags (language-discovery automatically adds tags when the
application is created), switch from a `click` action to a
`check` action.  A bit more code is used to get to the input
checkbox so the `check()` will work.

Signed-off-by: Scott J Dickerson <sdickers@redhat.com>
sjd78 added a commit to sjd78/tackle-ui-tests that referenced this pull request Jun 28, 2024
Follow-up to konveyor#1136

To make sure the test does not unselected the desired target
language that is automatically selected from the application's
tags (language-discovery automatically adds tags when the
application is created), switch from a `click` action to a
`check` action.  A bit more code is used to get to the input
checkbox so the `check()` will work.

Signed-off-by: Scott J Dickerson <sdickers@redhat.com>
sshveta pushed a commit that referenced this pull request Jun 28, 2024
* [RFR] Fix selecting language on analysis wizard, targets step

Follow-up to #1136

To make sure the test does not unselected the desired target
language that is automatically selected from the application's
tags (language-discovery automatically adds tags when the
application is created), switch from a `click` action to a
`check` action.  A bit more code is used to get to the input
checkbox so the `check()` will work.

Signed-off-by: Scott J Dickerson <sdickers@redhat.com>

* run prettier and have it ignore cypress run files

Signed-off-by: Scott J Dickerson <sdickers@redhat.com>

---------

Signed-off-by: Scott J Dickerson <sdickers@redhat.com>
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.

4 participants