yuluo-yx opened a new issue, #2759: URL: https://github.com/apache/rocketmq-dashboard/issues/2759
## Problem MiniBar uses raw metric samples in Math.max, CSS height calculations, and its generated aria-label. NaN, Infinity, or negative values can therefore produce invalid CSS lengths and expose malformed values to assistive technology. ## Expected behavior Normalize non-finite and negative samples to zero before calculating bar dimensions and the default accessible label. ## Verification Add a focused MiniBar regression test covering NaN, Infinity, negative, and valid samples. -- 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]
