Skip to content

Commit a215bd2

Browse files
authored
Merge branch 'main' into dependabot/maven/quarkus.platform.version-3.31.2
2 parents 5df9fed + f920e83 commit a215bd2

File tree

16 files changed

+44
-17
lines changed

16 files changed

+44
-17
lines changed

CHANGELOG.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,23 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
99

1010
### Added
1111

12-
- Add statistics enabled task
13-
- Add logging task
12+
- Start the statistics enabled task (not fully functional yet)
13+
- Start the logging task (not fully functional yet)
1414
- Add support for multi-typeahead components
1515
- Add support to create dependent resources in typeahead components on the fly
1616

17+
### Changed
18+
19+
- Add `autocomplete=off` to all form inputs
20+
21+
### Fixed
22+
23+
- Enable deep SPA links to work in halOP standalone.
24+
1725
### Upgrades
1826

19-
- Bump Elemento to 2.4.7
20-
- Bump PatternFly Java to 0.4.13
27+
- Bump Elemento to 2.4.8
28+
- Bump PatternFly Java to 0.4.16
2129

2230
## [0.0.9] - 2025-12-18
2331

WHATS_NEW.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,15 @@ Pending...
2828

2929
The model browser has been greatly improved:
3030

31+
- Resizable tree view
3132
- History of selected resources and buttons to go backwards and forwards
3233
- Search the management model for resource addresses, types and names
3334
- Go to arbitrary resources by specifying the resource address
3435
- Clickable breadcrumbs that reflect the currently selected resource address
3536
- Copy the current address to the clipboard
3637
- Descriptions in resources list views
3738
- Follow capability references
38-
- Resizable tree view
39+
- Create dependent resources on the fly
3940

4041
### Data
4142

op/console/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

op/console/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"dependencies": {
1919
"@patternfly/patternfly": "^6.4.0",
20-
"@patternfly-java/charts": "^0.0.11",
20+
"@patternfly-java/charts": "^0.0.13",
2121
"dompurify": "^3.3.1"
2222
},
2323
"devDependencies": {

op/console/src/main/java/org/jboss/hal/op/endpoint/EndpointForm.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ class EndpointForm implements IsElement<HTMLElement> {
6868
.addGroup(formGroup("mi-name").required()
6969
.addLabel(formGroupLabel("Name"))
7070
.addControl(nameControl = formGroupControl()
71-
.addControl(nameInput = textInput("mi-name"))))
71+
.addControl(nameInput = textInput("mi-name")
72+
.applyTo(input -> input.autocomplete("off")))))
7273
.addGroup(formGroup("mi-protocol").required()
7374
.addLabel(formGroupLabel("Protocol").noPaddingTop())
7475
.addControl(formGroupControl()

op/standalone/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<description>HAL standalone console on premise</description>
3535

3636
<properties>
37-
<compiler-plugin.version>3.14.1</compiler-plugin.version>
37+
<compiler-plugin.version>3.15.0</compiler-plugin.version>
3838
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3939
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
4040
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>

op/standalone/src/main/java/org/jboss/hal/standalone/Main.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,14 @@ public class Main {
2626

2727
public void init(@Observes Router router) {
2828
router.get().order(0).handler(StaticHandler.create());
29+
// Make SPA deep linking work.
30+
router.get().order(1).handler(ctx -> {
31+
String path = ctx.request().path();
32+
if (!path.equals("/") && !path.contains(".")) {
33+
ctx.reroute("/");
34+
} else {
35+
ctx.next();
36+
}
37+
});
2938
}
3039
}

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,15 @@
8282
<properties>
8383
<!-- Dependency versions -->
8484
<version.checkstyle.config>1.0.8.Final</version.checkstyle.config>
85-
<version.elemento>2.4.7</version.elemento>
85+
<version.elemento>2.4.8</version.elemento>
8686
<version.gwt.event>1.0.0-RC1</version.gwt.event>
8787
<version.gwt.safehtml>1.0.0-RC1</version.gwt.safehtml>
8888
<version.junit>6.0.2</version.junit>
8989
<version.kie.j2cl.bom>0.5</version.kie.j2cl.bom>
9090
<version.mockito>5.21.0</version.mockito>
9191
<version.node>v24.10.0</version.node>
9292
<version.patternfly>6.4.0</version.patternfly>
93-
<version.patternfly.java>0.4.13</version.patternfly.java>
93+
<version.patternfly.java>0.4.16</version.patternfly.java>
9494

9595
<!-- Plugin versions -->
9696
<version.central.publishing.plugin>0.10.0</version.central.publishing.plugin>

ui/src/main/java/org/jboss/hal/ui/resource/CapabilityReferenceFormItem.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616
package org.jboss.hal.ui.resource;
1717

18-
import org.jboss.hal.core.LabelBuilder;
1918
import org.jboss.hal.dmr.ModelNode;
2019
import org.jboss.hal.meta.AddressTemplate;
2120
import org.patternfly.component.form.FormGroupControl;
@@ -81,7 +80,6 @@ HTMLElement nativeContainer() {
8180
}
8281

8382
private SingleTypeahead typeaheadControl() {
84-
LabelBuilder labelBuilder = new LabelBuilder();
8583
SearchReloadInput searchReloadInput = searchReloadInput(identifier)
8684
.plain()
8785
.placeholder("")

ui/src/main/java/org/jboss/hal/ui/resource/FilterReloadInput.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ static FilterReloadInput filterReloadInput(String id) {
4646
super(ComponentType.FilterInput, id);
4747
this.onReload = new ArrayList<>();
4848

49+
inputElement.autocomplete = "off";
4950
addUtilities(textInputGroupUtilities()
5051
.add(clearButton = button().icon(times()).plain().onClick((e, b) -> {
5152
if (defaultOnClear != null) {

0 commit comments

Comments
 (0)