This generally works for most names except I've found in certain contexts from previous experience that truncating in the front made more sense, e.g. "...xyz" for MAC Addresses and SAN nicknames as it was less useful doing it as "xyz..." since the beginning portion was repeated a lot and didn't help so much with uniquely identifying the object.
An interesting consideration is if there is a need for truncation of an IPv6 addresses, how do we tackle this. I know IPv6 already includes truncation in the spec, but there are going to be circumstances where we may need to go beyond this. Thoughts? Regards, Ju On Sat, Oct 8, 2016 at 11:59 AM, Greg Sheremeta <[email protected]> wrote: > Hi Matt / all, > > This gets tricky when you have machine names in your listings! > my_super_important_vm_1 > my_super_important_vm_2 > his_super_important_vm_1 > > ^ Either way you truncate that "column", someone's going to lose some > important info, and looking through the column will be frustrating for the > users. > > In oVirt, we take the simple approach and truncate at the end. And, in > most places where there is truncation, hovering over the truncated string > shows you (via tooltip) the entire string: > > [image: Inline image 1] > > My recommendation for PatternFly: recommend / default to end truncation > with "...". I like the hover-show-full-name feature -- that's something UX > people should discuss re: if it should exist and what it would look like. > (We use PF tooltips, but I could see other widgets being useful.) > > Best wishes, > Greg > > On Fri, Oct 7, 2016 at 2:08 PM, Matt Carrano <[email protected]> wrote: > >> Hey Patternflyers, >> >> I am currently working on the Tendrl storage console project and need to >> come up with some guidance on how to truncate long names that may appear in >> our UI. I'm thinking of things like hostnames, disk names, and other types >> of objects that may take on a potentially long path name based on user >> naming. PatternFly currently provides some general guidance, but no >> specific rules. >> >> I'm curious how you are handling this on other projects as I know it's a >> common problem. Do you truncate in the middle of the string, the end of >> the string, or have another method? >> >> Any advice or examples will be welcome. >> >> Regards, >> >> Matt >> >> -- >> Matt Carrano >> Sr. Interaction Designer >> Red Hat, Inc. >> [email protected] >> >> _______________________________________________ >> Patternfly mailing list >> [email protected] >> https://www.redhat.com/mailman/listinfo/patternfly >> >> > > > -- > Greg Sheremeta, MBA > Red Hat, Inc. > Sr. Software Engineer > [email protected] > > _______________________________________________ > Patternfly mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/patternfly > > -- Ju Lim Red Hat Office: 978-399-0422 Mobile: 781-507-1323 Email: [email protected] IRC: julim
_______________________________________________ Patternfly mailing list [email protected] https://www.redhat.com/mailman/listinfo/patternfly
