diff --git a/README.md b/README.md index 59b1c93..528323d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # HAL Foundation -This repository contains the foundation for the next major version of the HAL management console and the upcoming OpenShift version halOS. +This repository contains the foundation for the next major version of the HAL management console (halOP) and the upcoming +OpenShift version halOS. The work is in a very early state and very much in progress. @@ -11,7 +12,7 @@ The work is in a very early state and very much in progress. - [Crysknife CDI](https://github.com/crysknife-io/crysknife) - [Elemento](https://github.com/hal/elemento) - [PatternFly Java](https://github.com/patternfly-java) -- [Maven](https://maven.apache.org/) and [Parcel](https://parceljs.org/) +- [Maven](https://maven.apache.org/), [Parcel](https://parceljs.org/), and [NPM](https://www.npmjs.com/) # Get Started @@ -33,10 +34,12 @@ In another shell run ```shell cd op/console -yarn run watch +npm run watch ``` -This will open a browser at http://localhost:1234 and watch for changes to your HTML, CSS, JavaScript, and Java code. Each time a change is made, the browser reloads the page automatically. +This will open a browser at http://localhost:1234. Changes to HTML and CSS will be detected by Parcel, and the browser reloads +the page automatically. Changes to the Java code will be detected by the J2CL Maven plugin, but you need to reload the browser +manually. ## Production mode @@ -66,7 +69,8 @@ to start it and open a browser at http://localhost:9090. # Contributing -This is an open source project. That means that everybody can contribute. It's not hard to get started. So start [contributing](CONTRIBUTING.md) today! +This is an open source project. That means that everybody can contribute. It's not hard to get started. So +start [contributing](CONTRIBUTING.md) today! # Licenses diff --git a/op/console/src/main/java/org/jboss/hal/op/dashboard/DashboardPage.java b/op/console/src/main/java/org/jboss/hal/op/dashboard/DashboardPage.java index a63d574..c919d28 100644 --- a/op/console/src/main/java/org/jboss/hal/op/dashboard/DashboardPage.java +++ b/op/console/src/main/java/org/jboss/hal/op/dashboard/DashboardPage.java @@ -30,9 +30,7 @@ import org.jboss.hal.env.Environment; import org.jboss.hal.meta.StatementContext; import org.jboss.hal.model.deployment.Deployments; -import org.patternfly.layout.flex.Direction; import org.patternfly.layout.flex.FlexItem; -import org.patternfly.layout.flex.Gap; import elemental2.dom.HTMLElement; diff --git a/op/console/src/main/java/org/jboss/hal/op/dashboard/HealthCard.java b/op/console/src/main/java/org/jboss/hal/op/dashboard/HealthCard.java index 4b746b2..fb8ab49 100644 --- a/op/console/src/main/java/org/jboss/hal/op/dashboard/HealthCard.java +++ b/op/console/src/main/java/org/jboss/hal/op/dashboard/HealthCard.java @@ -29,7 +29,6 @@ import org.jboss.hal.dmr.dispatch.Dispatcher; import org.jboss.hal.meta.AddressTemplate; import org.patternfly.component.icon.Icon; -import org.patternfly.style.Classes; import elemental2.dom.HTMLDivElement; import elemental2.dom.HTMLElement; @@ -56,7 +55,6 @@ import static org.patternfly.icon.IconSets.fas.exclamationCircle; import static org.patternfly.icon.IconSets.fas.exclamationTriangle; import static org.patternfly.style.Classes.modifier; -import static org.patternfly.style.GridBreakpoint.none; import static org.patternfly.style.Status.danger; import static org.patternfly.style.Status.success; import static org.patternfly.style.Status.warning; diff --git a/op/console/src/main/java/org/jboss/hal/op/dashboard/ProductInfoCard.java b/op/console/src/main/java/org/jboss/hal/op/dashboard/ProductInfoCard.java index 200fba2..4f95ee6 100644 --- a/op/console/src/main/java/org/jboss/hal/op/dashboard/ProductInfoCard.java +++ b/op/console/src/main/java/org/jboss/hal/op/dashboard/ProductInfoCard.java @@ -15,9 +15,7 @@ */ package org.jboss.hal.op.dashboard; -import org.jboss.hal.dmr.dispatch.Dispatcher; import org.jboss.hal.env.Environment; -import org.patternfly.component.card.CardBody; import elemental2.dom.HTMLElement; diff --git a/op/console/src/main/java/org/jboss/hal/op/resources/Assets.java b/op/console/src/main/java/org/jboss/hal/op/resources/Assets.java index 6276870..5d5a414 100644 --- a/op/console/src/main/java/org/jboss/hal/op/resources/Assets.java +++ b/op/console/src/main/java/org/jboss/hal/op/resources/Assets.java @@ -17,7 +17,6 @@ import org.kie.j2cl.tools.processors.annotations.GWT3Resource; import org.kie.j2cl.tools.processors.common.resources.ClientBundle; -import org.kie.j2cl.tools.processors.common.resources.ImageResource; import org.kie.j2cl.tools.processors.common.resources.TextResource; @GWT3Resource @@ -27,4 +26,4 @@ public interface Assets extends ClientBundle { @Source("hal-logo.svg") TextResource logo(); -} \ No newline at end of file +} diff --git a/pom.xml b/pom.xml index 568af7a..48f7944 100644 --- a/pom.xml +++ b/pom.xml @@ -95,7 +95,7 @@ 5.14.2 v20.18.0 5.2.1 - 0.2.11-SNAPSHOT + 0.2.11 3.3.0 diff --git a/ui/src/main/java/org/jboss/hal/ui/resource/ResourceToolbar.java b/ui/src/main/java/org/jboss/hal/ui/resource/ResourceToolbar.java index ec7f51e..bf0ac80 100644 --- a/ui/src/main/java/org/jboss/hal/ui/resource/ResourceToolbar.java +++ b/ui/src/main/java/org/jboss/hal/ui/resource/ResourceToolbar.java @@ -60,7 +60,6 @@ import static org.patternfly.icon.IconSets.fas.edit; import static org.patternfly.icon.IconSets.fas.powerOff; import static org.patternfly.icon.IconSets.fas.redo; -import static org.patternfly.icon.IconSets.fas.undo; import static org.patternfly.popper.Placement.auto; import static org.patternfly.style.Classes.modifier;