ipwb icon indicating copy to clipboard operation
ipwb copied to clipboard

Really long paths cause left-aligned second line wrapping in admin interface

Open machawk1 opened this issue 7 years ago • 4 comments

screen shot 2018-08-14 at 5 27 53 pm

This is testing with docker, so the paths are a bit longer but really any long path will cause this. Note the index path wrapping.

machawk1 avatar Aug 14 '18 21:08 machawk1

Perhaps it should be a column-based display where the second line wraps to the second column. As an alternative, we could also use "..." or some other UI overflow mechanism.

machawk1 avatar Aug 14 '18 21:08 machawk1

CSS Grid can solve this issue very easily. And yes, ellipsis is another good alternative, but we cannot rely on automatic ellipsis behavior as it will clip the text from the end which is more important than the long path prefixes.

ibnesayeed avatar Aug 14 '18 21:08 ibnesayeed

Ultimately this information will not be restricted to its small width (once #213 is complete), so in the meantime we ought to get it at least wrapping a little more aesthetically.

machawk1 avatar Aug 14 '18 21:08 machawk1

I am unable to replicate this display with ipwb replay ipwb/samples/indexes/sample-1.cdxj but the misalignment likely still exists.

machawk1 avatar Aug 29 '18 15:08 machawk1