apupier commented on code in PR #8913:
URL: https://github.com/apache/camel-quarkus/pull/8913#discussion_r3644338759


##########
extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/devui/CamelCoreDevConsoleProcessor.java:
##########
@@ -35,47 +44,58 @@ void createDevUICards(BuildProducer<CardPageBuildItem> 
cardsProducer) {
         cardPageBuildItem.addPage(Page.webComponentPageBuilder()
                 .title("Blocked Exchanges")
                 .icon("font-awesome-solid:circle-xmark")
-                .componentLink("qwc-camel-core-blocked-exchanges.js"));
+                .componentLink("qwc-camel-core-blocked-exchanges.js")
+                .metadata(CamelDevUIConstants.CONSOLE_ID_METADATA_KEY, 
"blocked"));
 
         cardPageBuildItem.addPage(Page.webComponentPageBuilder()
                 .title("Browse")
                 .icon("font-awesome-solid:magnifying-glass")
-                .componentLink("qwc-camel-core-browse.js"));
+                .componentLink("qwc-camel-core-browse.js")
+                .metadata(CamelDevUIConstants.CONSOLE_ID_METADATA_KEY, 
"browse")
+                .metadata(CamelDevUIConstants.ALLOWED_OPTIONS_METADATA_KEY, 
"dump=false"));

Review Comment:
   If we can provide a single value, shouldn't we remove the option and 
hardcode it in qwc-camel-core-browse.js file directly?
   Or is it that we want user to be able to create their own dev UI which can 
activate this option?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to