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

Add a link to gitea in the DevUI #151

Merged
merged 1 commit into from
Oct 13, 2024
Merged

Conversation

iocanel
Copy link
Contributor

@iocanel iocanel commented Oct 12, 2024

No description provided.

@iocanel iocanel requested a review from a team as a code owner October 12, 2024 10:12
Copy link
Member

@gastaldi gastaldi left a comment

Choose a reason for hiding this comment

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

Added some concerns


@BuildStep
void createCard(Optional<GiteaDevServiceInfoBuildItem> info, BuildProducer<CardPageBuildItem> cardPage) {
info.ifPresent(i -> {
Copy link
Member

Choose a reason for hiding this comment

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

Why making it Optional? If the GiteaDevServiceInfoBuildItem isn't produced, it won't call this method, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, the method will be called with a 'null' value.

@gastaldi gastaldi linked an issue Oct 13, 2024 that may be closed by this pull request
@gastaldi gastaldi merged commit 359c563 into quarkiverse:main Oct 13, 2024
1 check passed
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.

Add a DevUI card with a link to the DevService
3 participants