One of my earliest UX wins was for Mac System 7. The Finder team wanted to truncate files names with '…' if it wouldn’t fit. I argued that too much critical info would be lost and suggested it be in the middle instead. The Finder team loved it and implemented it later that day. They were so easy to work with.
I'd totally forgotten about it until I overheard someone commenting it was an example of Apple's attention to detail. I'd didn't say anything at the time but yeah, that was me ;-)
=> More informations about this toot | More toots from scottjenson@social.coop
@scottjenson There's a discussion on how to add this to CSS here: https://github.com/w3c/csswg-drafts/issues/3937
Sounds like there's lots of interesting little details to figure out.
There's also a CSS trick that (ab)uses text direction to get a similar result with the existing CSS text-overflow feature: https://github.com/w3c/csswg-drafts/issues/3937#issuecomment-496688096
=> More informations about this toot | More toots from rkaravia@mastodon.online
@scottjenson I have seen an attempt of a middle-ellipsis CSS hack in the wild on GitLab, but it's IMHO a bit flawed because it results in extra left-to-right mark (U+200E) chars when copy-pasting the filename.
=> View attached media | View attached media
=> More informations about this toot | More toots from rkaravia@mastodon.online
@rkaravia This is very cool! Thanks for sharing
=> More informations about this toot | More toots from scottjenson@social.coop
text/gemini
This content has been proxied by September (ba2dc).