Ancestors

Written by Scott Jenson on 2024-12-18 at 21:43

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 ;-)

=> View attached media

=> More informations about this toot | More toots from scottjenson@social.coop

Written by Roman Karavia on 2024-12-19 at 22:09

@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

Written by Roman Karavia on 2024-12-19 at 22:18

@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

Toot

Written by Scott Jenson on 2024-12-20 at 00:30

@rkaravia This is very cool! Thanks for sharing

=> More informations about this toot | More toots from scottjenson@social.coop

Descendants

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113682325184565043
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
262.571692 milliseconds
Gemini-to-HTML Time
0.760857 milliseconds

This content has been proxied by September (ba2dc).