Skip to content

Commit

Permalink
Remove DevUI JsonRpcService no longer needed (#582)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Dec 6, 2023
1 parent 77b53ed commit bea5c37
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 122 deletions.
100 changes: 24 additions & 76 deletions deployment/src/main/resources/dev-ui/qwc-quinoa-card.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
import {LitElement, html, css} from 'lit';
import {JsonRpc} from 'jsonrpc';
import {notifier} from 'notifier';
import {pages} from 'build-time-data';
import '@vaadin/progress-bar';
import '@vaadin/button';
import { LitElement, html, css} from 'lit';
import { pages } from 'build-time-data';
import 'qwc/qwc-extension-link.js';

const NAME = "Quinoa";
const DESCRIPTION = "Quinoa serves single page applications or web components (built with NodeJS: React, Angular, Vue, Lit, …)";

export class QwcQuinoaCard extends LitElement {

jsonRpc = new JsonRpc(this);

static styles = css`
.identity {
display: flex;
Expand Down Expand Up @@ -42,23 +33,13 @@ export class QwcQuinoaCard extends LitElement {
flex-flow: column wrap;
padding-top: 5px;
}
.button {
cursor: pointer;
}
.restartIcon {
color: var(--lumo-primary-text-colo);
}
`;

static properties = {
description: {type: String},
build_in_progress: {state: true, type: Boolean},
build_complete: {state: true, type: Boolean},
build_error: {state: true, type: Boolean},
result: {type: String}
extensionName: {attribute: true},
description: {attribute: true},
guide: {attribute: true},
namespace: {attribute: true},
};

constructor() {
Expand All @@ -67,62 +48,30 @@ export class QwcQuinoaCard extends LitElement {

connectedCallback() {
super.connectedCallback();
this.build_in_progress = false;
this.build_complete = false;
this.build_error = false;
this.result = "";
}

render() {
let progress;
if (this.build_in_progress) {
progress = html`
<div class="report">
<div>Executing Node command...</div>
<vaadin-progress-bar indeterminate theme="contrast"></vaadin-progress-bar>
</div>`;
} else if (this.build_complete) {
progress = html`
<div class="report">
<div>${this.result}</div>
<vaadin-progress-bar value="1"
theme="${this.build_error} ? 'error' : 'success'"></vaadin-progress-bar>
</div>`;
} else {
progress = html`
<div class="report"></div>`;
}

return html`
<div class="card-content" slot="content">
<div class="identity">
<div class="logo">
<img src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjI1NnB4IiBoZWlnaHQ9IjI4OXB4IiB2aWV3Qm94PSIwIDAgMjU2IDI4OSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCI+CiAgICA8Zz4KICAgICAgICA8cGF0aCBkPSJNMTI3Ljk5OTk5OSwyODguNDYzNzcxIEMxMjQuMDI0ODQ0LDI4OC40NjM3NzEgMTIwLjMxNDY5OSwyODcuNDAzNzI4IDExNi44Njk1NjQsMjg1LjU0ODY1NiBMODEuNjIzMTg4NCwyNjQuNjEyODM4IEM3Ni4zMjI5OCwyNjEuNjk3NzI0IDc4Ljk3MzA4NTQsMjYwLjYzNzY4MiA4MC41NjMxNDU4LDI2MC4xMDc2NjEgQzg3LjcxODQyNTksMjU3LjcyMjU3IDg5LjA0MzQ3NzUsMjU3LjE5MjU0NyA5Ni40NjM3Njg4LDI1Mi45NTIzODEgQzk3LjI1ODc5NzksMjUyLjQyMjM2MSA5OC4zMTg4NDA1LDI1Mi42ODczNzIgOTkuMTEzODcxOCwyNTMuMjE3MzkyIEwxMjYuMTQ0OTI3LDI2OS4zODMwMjQgQzEyNy4yMDQ5NywyNjkuOTEzMDQ1IDEyOC41MzAwMjEsMjY5LjkxMzA0NSAxMjkuMzI1MDUzLDI2OS4zODMwMjQgTDIzNS4wNjQxODIsMjA4LjE2NTYzNCBDMjM2LjEyNDIyNSwyMDcuNjM1NjExIDIzNi42NTQyNDUsMjA2LjU3NTU3MSAyMzYuNjU0Mj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yAxMjkuMzI1MDUzLDEyMC40NDcyMDUgQzEyOS4zMjUwNTMsMTI4LjEzMjUwNiAxMzIuNzcwMTg3LDEzMC41MTc2IDE2NS42MzE0NzEsMTM0Ljc1Nzc2NiBDMTk4LjIyNzc0NCwxMzguOTk3OTMxIDIxMy41OTgzNDQsMTQ1LjA5MzE2OSAyMTMuNTk4MzQ0LDE2Ny44ODQwNTggQzIxMy4zMzMzMzMsMTkxLjIwNDk3IDE5NC4yNTI1ODksMjA0LjQ1NTQ4OCAxNjAuNTk2Mjc0LDIwNC40NTU0ODggTDE2MC41OTYyNzQsMjA0LjQ1NTQ4OCBaIiBmaWxsPSIjNTM5RTQzIj48L3BhdGg+CiAgICA8L2c+Cjwvc3ZnPgo="
alt="${NAME}"
title="${NAME}"
width="32"
height="32">
</div>
<div class="description">${DESCRIPTION}</div>
return html`<div class="card-content" slot="content">
<div class="identity">
<div class="logo">
<img src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjI1NnB4IiBoZWlnaHQ9IjI4OXB4IiB2aWV3Qm94PSIwIDAgMjU2IDI4OSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCI+CiAgICA8Zz4KICAgICAgICA8cGF0aCBkPSJNMTI3Ljk5OTk5OSwyODguNDYzNzcxIEMxMjQuMDI0ODQ0LDI4OC40NjM3NzEgMTIwLjMxNDY5OSwyODcuNDAzNzI4IDExNi44Njk1NjQsMjg1LjU0ODY1NiBMODEuNjIzMTg4NCwyNjQuNjEyODM4IEM3Ni4zMjI5OCwyNjEuNjk3NzI0IDc4Ljk3MzA4NTQsMjYwLjYzN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MzcxIDIwOS4wOTMxNjcsMTI1LjQ4MjQwMyAyMDguNTYzMTQ3LDEyNi4yNzc0MzQgQzIwOC4wMzMxMjcsMTI2LjgwNzQ1NCAyMDcuMjM4MDk1LDEyNy4zMzc0NzQgMjA2LjQ0MzA2NCwxMjcuMzM3NDc0IEwxOTIuNjYyNTI2LDEyNy4zMzc0NzQgQzE5MS4zMzc0NzUsMTI3LjMzNzQ3NCAxOTAuMDEyNDIzLDEyNi4yNzc0MzQgMTg5Ljc0NzQxMiwxMjQuOTUyMzgyIEMxODYuNTY3Mjg5LDExMC4zNzY4MTMgMTc4LjM1MTk2NiwxMDUuNjA2NjI1IDE1Ni42MjExMTksMTA1LjYwNjYyNSBDMTMyLjI0MDE2NSwxMDUuNjA2NjI1IDEyOS4zMjUwNTMsMTE0LjA4Njk1NyAxMjkuMzI1MDUzLDEyMC40NDcyMDUgQzEyOS4zMjUwNTMsMTI4LjEzMjUwNiAxMzIuNzcwMTg3LDEzMC41MTc2IDE2NS42MzE0NzEsMTM0Ljc1Nzc2NiBDMTk4LjIyNzc0NCwxMzguOTk3OTMxIDIxMy41OTgzNDQsMTQ1LjA5MzE2OSAyMTMuNTk4MzQ0LDE2Ny44ODQwNTggQzIxMy4zMzMzMzMsMTkxLjIwNDk3IDE5NC4yNTI1ODksMjA0LjQ1NTQ4OCAxNjAuNTk2Mjc0LDIwNC40NTU0ODggTDE2MC41OTYyNzQsMjA0LjQ1NTQ4OCBaIiBmaWxsPSIjNTM5RTQzIj48L3BhdGg+CiAgICA8L2c+Cjwvc3ZnPgo="
alt="${this.extensionName}"
title="${this.extensionName}"
width="32"
height="32">
</div>
${this._renderCardLinks()}
${progress}
<div class="description">${this.description}</div>
</div>
${this._renderCardLinks()}
</div>
`;
}

_success(message) {
notifier.showSuccessMessage(message, "top-center");
}

_error(message) {
notifier.showErrorMessage(message, "top-stretch");
}

_renderCardLinks() {
_renderCardLinks(){
return html`${pages.map(page => html`
<qwc-extension-link slot="link"
extensionName="${NAME}"
<qwc-extension-link slot="link"
namespace="${this.namespace}"
extensionName="${this.extensionName}"
iconName="${page.icon}"
displayName="${page.title}"
staticLabel="${page.staticLabel}"
Expand All @@ -131,11 +80,10 @@ export class QwcQuinoaCard extends LitElement {
path="${page.id}"
?embed=${page.embed}
externalUrl="${page.metadata.externalUrl}"
webcomponent="${page.componentLink}">
</qwc-extension-link>
`)}`;
webcomponent="${page.componentLink}" >
</qwc-extension-link>
`)}`;
}

}

customElements.define('qwc-quinoa-card', QwcQuinoaCard);
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<version>999-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Quarkus - Quinoa - Parent</name>
<description>Quinoa is a Quarkus extension which eases the development, the build and serving of single page apps or web components alongside Quarkus. It is possible to use it with a Quarkus backend in a single project.</description>
<description>Node.js extension which allows serving of single page apps alongside Quarkus.</description>
<url>https://github.com/quarkiverse/quarkus-quinoa</url>
<modules>
<module>deployment-testing</module>
Expand Down

This file was deleted.

6 changes: 2 additions & 4 deletions runtime/src/main/resources/META-INF/quarkus-extension.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
name: Quinoa
description: |
Quinoa is a Quarkus extension which eases the development, the build and serving single page apps or web components (built with NodeJS: React, Angular, Vue, Lit, Svelte, Astro, SolidJS, Emberjs, Aurelia, Polymer …) alongside other Quarkus services (REST, GraphQL, Security, Events, ...).
Live code the backend and frontend together with close to no configuration. When enabled in development mode, Quinoa will start the UI live coding server provided by the target framework and forward relevant requests to it. In production mode, Quinoa will run the build and process the generated files to serve them at runtime.
metadata:
keywords:
- quinoa
Expand All @@ -26,6 +22,8 @@ metadata:
icon-url: "https://raw.githubusercontent.com/quarkiverse/quarkus-quinoa/main/docs/modules/ROOT/assets/images/node_logo.svg"
categories:
- "web"
config:
- "quarkus.quinoa."
status: "stable"
codestart:
name: "quinoa"
Expand Down

0 comments on commit bea5c37

Please sign in to comment.