devmadhuu commented on code in PR #5090:
URL: https://github.com/apache/ozone/pull/5090#discussion_r1270592122
##########
hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/heatMap/heatmap.tsx:
##########
@@ -104,22 +150,22 @@ export class Heatmap extends
React.Component<Record<string, object>, ITreeState>
const regex = /^[a-zA-Z0-9_/]*$/;
if (regex.test(value)) {
validExpression = value;
- }
+ }
else {
alert("Please Enter Valid Input Path.");
Review Comment:
@devabhishekpal Thanks for working on this patch, as part of improvement, a
minor suggestion , can we just display the text beside the textbox in red and
disable any actionable UI components instead of showing annoying alert box.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]