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

fix: Fix job name search #1282

Merged
merged 2 commits into from
Dec 5, 2024
Merged

fix: Fix job name search #1282

merged 2 commits into from
Dec 5, 2024

Conversation

minghay
Copy link
Contributor

@minghay minghay commented Dec 4, 2024

Context

When searching for a job in the v2 jobs table, jobs that have a display name annotation configured are not able to be search for properly

Objective

Fixes the job name so that it is searchable.

References

screwdriver-cd/screwdriver#3200

License

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@tkyi
Copy link
Member

tkyi commented Dec 5, 2024

With this change, if displayName annotation is set can you not search by original job name?

@minghay
Copy link
Contributor Author

minghay commented Dec 5, 2024

With this change, if displayName annotation is set can you not search by original job name?

That would be the case for now, yes. I need to spend a little bit more time to see if I can get the search to work for both the original job name and the display name. As it currently stands, the display name, if configured, would be the one that is expected to be found as the original name requires a mouse-over to display

@tkyi
Copy link
Member

tkyi commented Dec 5, 2024

I'm not sure what is expected behavior from the user. But I guess for now it makes sense that you can search by what you can see

@minghay minghay merged commit 1a114de into master Dec 5, 2024
2 checks passed
@minghay minghay deleted the fix-job-name-search branch December 5, 2024 19:00
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.

2 participants