diff --git a/docs/src/main/asciidoc/dev-ui.adoc b/docs/src/main/asciidoc/dev-ui.adoc index 75c4d41b0531a..dedfcef592f0d 100644 --- a/docs/src/main/asciidoc/dev-ui.adoc +++ b/docs/src/main/asciidoc/dev-ui.adoc @@ -747,7 +747,7 @@ import 'qui-ide-link'; [${sourceClassNameFull}]; + lineNumber='${sourceLineNumber}'>[${sourceClassNameFull}]; ---- https://github.com/quarkusio/quarkus/blob/582f1f78806d2268885faea7aa8f5a4d2b3f5b98/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-server-log.js#L315[Example code] diff --git a/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-beans.js b/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-beans.js index b7f0fa17190f1..b4a54b0f54423 100644 --- a/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-beans.js +++ b/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-beans.js @@ -130,8 +130,7 @@ export class QwcArcBeans extends LitElement { ${bean.nonDefaultQualifiers.map(qualifier => html`${this._qualifierRenderer(qualifier)}` )} - ${bean.providerType.name} + ${bean.providerType.name} `; } @@ -213,4 +212,4 @@ export class QwcArcBeans extends LitElement { }); } } -customElements.define('qwc-arc-beans', QwcArcBeans); \ No newline at end of file +customElements.define('qwc-arc-beans', QwcArcBeans); diff --git a/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-observers.js b/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-observers.js index 4b2ae091e50d9..9baa1c606b2e3 100644 --- a/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-observers.js +++ b/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-observers.js @@ -90,8 +90,7 @@ export class QwcArcObservers extends LitElement { } _sourceRenderer(bean){ - return html`${bean.declaringClass.name}#${bean.methodName}()`; + return html`${bean.declaringClass.name}#${bean.methodName}()`; } _typeRenderer(bean){ @@ -144,4 +143,4 @@ export class QwcArcObservers extends LitElement { return s.replaceAll('_', ' '); } } -customElements.define('qwc-arc-observers', QwcArcObservers); \ No newline at end of file +customElements.define('qwc-arc-observers', QwcArcObservers); diff --git a/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-removed-components.js b/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-removed-components.js index 4532b052a728b..28a1afe244677 100644 --- a/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-removed-components.js +++ b/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-removed-components.js @@ -143,8 +143,7 @@ export class QwcArcRemovedComponents extends LitElement { ${bean.nonDefaultQualifiers.map(qualifier => html`${this._simpleNameRenderer(qualifier)}` )} - ${bean.providerType.name} + ${bean.providerType.name} `; } @@ -204,4 +203,4 @@ export class QwcArcRemovedComponents extends LitElement { }); } } -customElements.define('qwc-arc-removed-components', QwcArcRemovedComponents); \ No newline at end of file +customElements.define('qwc-arc-removed-components', QwcArcRemovedComponents); diff --git a/extensions/grpc/deployment/src/main/resources/dev-ui/qwc-grpc-services.js b/extensions/grpc/deployment/src/main/resources/dev-ui/qwc-grpc-services.js index 1675b06f73056..945e8520174e7 100644 --- a/extensions/grpc/deployment/src/main/resources/dev-ui/qwc-grpc-services.js +++ b/extensions/grpc/deployment/src/main/resources/dev-ui/qwc-grpc-services.js @@ -153,8 +153,7 @@ export class QwcGrpcServices extends observeState(QwcHotReloadElement) { } _serviceClassRenderer(service){ - return html`${service.serviceClass}`; + return html`${service.serviceClass}`; } _methodsRenderer(service){ @@ -368,4 +367,4 @@ export class QwcGrpcServices extends observeState(QwcHotReloadElement) { return JSON.stringify(JSON.parse(content), null, 2); } } -customElements.define('qwc-grpc-services', QwcGrpcServices); \ No newline at end of file +customElements.define('qwc-grpc-services', QwcGrpcServices); diff --git a/extensions/vertx-http/deployment/src/main/java/io/quarkus/devui/deployment/ide/IdeProcessor.java b/extensions/vertx-http/deployment/src/main/java/io/quarkus/devui/deployment/ide/IdeProcessor.java index ffee04566e460..368c57ec0a632 100644 --- a/extensions/vertx-http/deployment/src/main/java/io/quarkus/devui/deployment/ide/IdeProcessor.java +++ b/extensions/vertx-http/deployment/src/main/java/io/quarkus/devui/deployment/ide/IdeProcessor.java @@ -8,8 +8,6 @@ import java.util.Optional; import java.util.concurrent.TimeUnit; -import org.eclipse.microprofile.config.Config; -import org.eclipse.microprofile.config.ConfigProvider; import org.jboss.logging.Logger; import io.quarkus.deployment.IsDevelopment; @@ -126,7 +124,6 @@ public static void openBrowser(HttpRootPathBuildItem rp, NonApplicationRootPathB } StringBuilder sb = new StringBuilder("http://"); - Config c = ConfigProvider.getConfig(); sb.append(host); sb.append(":"); sb.append(port); diff --git a/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-continuous-testing.js b/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-continuous-testing.js index 1990ae871aecf..70451790bf5ca 100644 --- a/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-continuous-testing.js +++ b/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-continuous-testing.js @@ -279,7 +279,7 @@ export class QwcContinuousTesting extends QwcHotReloadElement { _renderStacktrace(stackTraces){ return html`${stackTraces.map((stackTrace) => html`
${stackTrace.className}#${stackTrace.methodName}(${stackTrace.fileName}:${stackTrace.lineNumber})` + lineNumber='${stackTrace.lineNumber}'>${stackTrace.className}#${stackTrace.methodName}(${stackTrace.fileName}:${stackTrace.lineNumber})` )}`; } @@ -314,8 +314,7 @@ export class QwcContinuousTesting extends QwcHotReloadElement { _testRenderer(testLine){ let level = testLine.style ?? ''; - return html` + return html` @@ -434,4 +433,4 @@ export class QwcContinuousTesting extends QwcHotReloadElement { this._displayTags = !this._displayTags; } } -customElements.define('qwc-continuous-testing', QwcContinuousTesting); \ No newline at end of file +customElements.define('qwc-continuous-testing', QwcContinuousTesting); diff --git a/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-server-log.js b/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-server-log.js index 5a3b9e8fcb2bc..c364e755d3be4 100644 --- a/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-server-log.js +++ b/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-server-log.js @@ -332,7 +332,7 @@ export class QwcServerLog extends QwcAbstractLogElement { return html`[${sourceClassNameFull}]`; + lineNumber='${sourceLineNumber}'>[${sourceClassNameFull}]`; } } @@ -341,7 +341,7 @@ export class QwcServerLog extends QwcAbstractLogElement { return html`[${sourceClassNameFullShort}]`; + lineNumber='${sourceLineNumber}'>[${sourceClassNameFullShort}]`; } } @@ -350,7 +350,7 @@ export class QwcServerLog extends QwcAbstractLogElement { return html`[${sourceClassName}]`; + lineNumber='${sourceLineNumber}'>[${sourceClassName}]`; } } @@ -365,7 +365,7 @@ export class QwcServerLog extends QwcAbstractLogElement { return html`${sourceFileName}`; + lineNumber='${sourceLineNumber}'>${sourceFileName}`; } }