Skip to content

Conversation

ciyer
Copy link
Contributor

@ciyer ciyer commented Sep 12, 2025

Show a warning on the project page if the internal GitLab is referenced by a code repository or session environment.

Testing

Create a Renku project (V2) and add a session launcher that references an image in the renkulab image repository (registry.renkulab.io) or a repo that points to the renkulab gitlab gitlab.renkulab.io (or both). Then you will see a warning.

image

/deploy

@ciyer ciyer force-pushed the ciyer/gitlab-warning branch 3 times, most recently from 56cd45d to ffcf464 Compare September 15, 2025 08:31
@RenkuBot
Copy link
Contributor

You can access the deployment of this PR at https://renku-ci-ui-3845.dev.renku.ch

@ciyer ciyer force-pushed the ciyer/gitlab-warning branch 8 times, most recently from 48e7dc5 to 7a187af Compare September 18, 2025 14:34
@ciyer ciyer marked this pull request as ready for review September 18, 2025 14:34
@ciyer ciyer requested a review from a team as a code owner September 18, 2025 14:34
@ciyer ciyer changed the title wip: show internal gitlab reference warning Show internal gitlab reference warning Sep 19, 2025
@ciyer ciyer force-pushed the ciyer/gitlab-warning branch from 7a187af to 22a6979 Compare September 23, 2025 07:30
@leafty leafty self-requested a review September 23, 2025 13:05
Copy link
Member

Choose a reason for hiding this comment

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

I would rather remove this file then. Though I don't understand why the original file is not kept.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I started adding more components to this module, and I found that the one file was becoming unwieldy.

Copy link
Member

Choose a reason for hiding this comment

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

I think I would much prefer sticking to our coding guideline then: export one component per file (https://github.com/SwissDataScienceCenter/renku-ui/wiki/Develop#r004-include-a-default-export-when-appropriate).
Then remove this index.tsx file and update the imports.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Addressed in 9364a39

@ciyer ciyer force-pushed the ciyer/gitlab-warning branch from 22a6979 to ac6d05d Compare September 24, 2025 07:37
@ciyer ciyer requested a review from leafty September 24, 2025 08:11
@ciyer ciyer force-pushed the ciyer/gitlab-warning branch from 0a968e9 to 2351d86 Compare September 25, 2025 06:58
Copy link
Member

Choose a reason for hiding this comment

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

I think I would much prefer sticking to our coding guideline then: export one component per file (https://github.com/SwissDataScienceCenter/renku-ui/wiki/Develop#r004-include-a-default-export-when-appropriate).
Then remove this index.tsx file and update the imports.

@ciyer ciyer requested a review from leafty September 25, 2025 09:26
@ciyer ciyer merged commit 2539f98 into main Sep 25, 2025
26 of 28 checks passed
@ciyer ciyer deleted the ciyer/gitlab-warning branch September 25, 2025 09:52
@RenkuBot
Copy link
Contributor

Tearing down the temporary RenkuLab deplyoment for this PR.

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.

3 participants