filecoin-saturn / L1-dashboard

https://dashboard.saturn.tech
Other
6 stars 4 forks source link

always show multiple badges in the UI #54

Open gruns opened 1 year ago

gruns commented 1 year ago

if a node has multiple badges, they're currently replaced with ..., which sucks for the node operator. the entire point of badges is to show them off

image

on mouseover both badges are displayed in the popup. but multiple badges -- up to some sane limit -- should be displayed by default. and that limit should be greater than one 🙂

gruns commented 1 year ago

note: this behavior is intermittent, as dependent on the character width of the nodeid, as the nodeid font is a proportional font, not a monospaced font: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif

image

  1. a monospaced font would help this be a consistent problem
  2. either way, wider nodeids should still show multiple badges

one potential solution: show/enumerate the badges from left to right underneath the nodeid

image