Better Addon details#719
Conversation
Hide Addon size if it is "0.0 B". And hide "v" if it is alphabetic like "dev" or "alpha".
archef2000
left a comment
There was a problem hiding this comment.
Correction of space
|
I think the UI should till say something if the addon is 0 bytes, if it doesn't say anything users will be confused or assume the size is unknown. Though I agree that "0.0 B" isn't very pretty, I think it might be better to have this method return "0 bytes" just to make it clear. That method is where the size gets formatted for the UI. I suspect the handling with NaN in your javascript doesn't produce the behavior you're aiming for. |
Hide Addon size if it is "0.0 B".
And hide "v" if it is alphabetic like "dev" or "alpha".