This is an automated email from the ASF dual-hosted git repository.
zitadombi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new a0de490420 HDDS-9224. Recon HeatMap UI issues (#5232)
a0de490420 is described below
commit a0de49042030a526eace01ad5a5ac10930eec32b
Author: Smita <[email protected]>
AuthorDate: Fri Sep 15 19:15:58 2023 +0530
HDDS-9224. Recon HeatMap UI issues (#5232)
---
.../ozone-recon-web/src/views/heatMap/heatMapConfiguration.tsx | 6 +++---
.../webapps/recon/ozone-recon-web/src/views/heatMap/heatmap.tsx | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git
a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/heatMap/heatMapConfiguration.tsx
b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/heatMap/heatMapConfiguration.tsx
index 614c311785..ba184a42a8 100644
---
a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/heatMap/heatMapConfiguration.tsx
+++
b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/heatMap/heatMapConfiguration.tsx
@@ -126,9 +126,9 @@ export default class HeatMapConfiguration extends
React.Component<IHeatmapConfig
`;}
if (params.datum.label !== "") {
tooltipContent += `<br/>
- File Name:
- ${params.datum.label ? params.datum.label.split("/").slice(-1) : ""}
- `;
+ Entity Name:
+ ${params.datum.label ? params.datum.label.split("/").slice(-1) : ""}
+ `;
}
tooltipContent += '</span>';
return tooltipContent;
diff --git
a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/heatMap/heatmap.tsx
b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/heatMap/heatmap.tsx
index a9376ebb82..f4be027649 100644
---
a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/heatMap/heatmap.tsx
+++
b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/heatMap/heatmap.tsx
@@ -133,8 +133,8 @@ export class Heatmap extends React.Component<Record<string,
object>, ITreeState>
const value = e.target.value;
let inputValid = "";
let helpMessage = ""
- // Only allow letters, numbers,underscores and forward slashes
- const regex = /^[a-zA-Z0-9_/]*$/;
+ // Only allow letters, numbers,underscores and forward slashes and hyphen
+ const regex = /^[a-zA-Z0-9_/-]*$/;
if (!regex.test(value)) {
helpMessage = "Please enter valid path"
inputValid = "error"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]