From 7c9e9089dbdfb94cd26293ae3248d017874770c1 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Tue, 11 Apr 2023 16:26:27 +0200 Subject: [PATCH] Dev UI 2 - Hide the score on the home page Until we fix the fact that blocking endpoints are reported as something bad, better hide the score as it might be interpreted like "I upgraded to Quarkus 3, I need to move to reactive endpoints". Per discussion with Phillip. --- .../deployment/devui/ResteasyReactiveDevUIProcessor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/resteasy-reactive/quarkus-resteasy-reactive/deployment/src/main/java/io/quarkus/resteasy/reactive/server/deployment/devui/ResteasyReactiveDevUIProcessor.java b/extensions/resteasy-reactive/quarkus-resteasy-reactive/deployment/src/main/java/io/quarkus/resteasy/reactive/server/deployment/devui/ResteasyReactiveDevUIProcessor.java index b715670f734c2..0cf97ef9cbdfc 100644 --- a/extensions/resteasy-reactive/quarkus-resteasy-reactive/deployment/src/main/java/io/quarkus/resteasy/reactive/server/deployment/devui/ResteasyReactiveDevUIProcessor.java +++ b/extensions/resteasy-reactive/quarkus-resteasy-reactive/deployment/src/main/java/io/quarkus/resteasy/reactive/server/deployment/devui/ResteasyReactiveDevUIProcessor.java @@ -34,7 +34,8 @@ public void createPages(BuildProducer cardPageProducer) { .icon("font-awesome-solid:arrow-right-arrow-left")); // Custom Card - cardPageBuildItem.setCustomCard("qwc-resteasy-reactive-card.js"); + // For now, we don't display the score as it might be confusing for people using blocking + //cardPageBuildItem.setCustomCard("qwc-resteasy-reactive-card.js"); cardPageProducer.produce(cardPageBuildItem); }