canopy icon indicating copy to clipboard operation
canopy copied to clipboard

[BUG] NetAddress exceeds cell dimensions

Open andrewnguyen22 opened this issue 1 year ago • 2 comments

Describe the bug

  • The net address is not contained within its cell in the block explorer under the 'validators' tab
Image

I wonder if this applies to other fields.

Steps to reproduce

Steps to reproduce the behavior:

  1. Stake a validator with a really long net address
  2. Go the the validator tab
  3. See the error

Expected behavior

The net address should have a center ellipsis | tcp://areally...address |

Environment

  • Browser: Chrome

Required Tags

  • Priority: Medium
  • Module: Explorer

andrewnguyen22 avatar Mar 15 '25 15:03 andrewnguyen22

@andrewnguyen22 , @rem1niscence - can I take this bug up? Looks like this can be quickly resolved just by adding a check for netAddress to use Truncate component in cmd/rpc/web/explorer/components/table.jsx.

PTSoup avatar Apr 23 '25 17:04 PTSoup

sure go ahead, if you think you can deal with an issue you can assign yourself, don't worry about it

rem1niscence avatar Apr 23 '25 17:04 rem1niscence