-
Notifications
You must be signed in to change notification settings - Fork 6
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
minor: fallback on the project id if the namespace is missing #3353
Conversation
You can access the deployment of this PR at https://renku-ci-ui-3353.dev.renku.ch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks. One small nitpick below.
4677eab
to
eb7714c
Compare
@@ -263,7 +263,7 @@ interface SearchV2ResultProjectProps { | |||
project: Project; | |||
} | |||
function SearchV2ResultProject({ project }: SearchV2ResultProjectProps) { | |||
const { creationDate, description, name, namespace, slug, visibility } = | |||
const { creationDate, description, id, name, namespace, slug, visibility } = | |||
project; | |||
|
|||
const namespaceUrl = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should have another fix where we don't show this if we get null
from search.
Tearing down the temporary RenkuLab deplyoment for this PR. |
In production there is a case of a project that has no namespace in the search DB, but the ID is correct. This change should make the search display more robust against such projects.
/deploy renku=leafty/improve-cypress-tests