On Tue, Sep 29, 2009 at 12:55 PM, Craig Andrews
<[email protected]>wrote:

> > Might this be better to do client-side in the web UI, like for the
> > attachment preview popups?
> >
> That would be easy to do. Would the short url have a tooltip with the long
> url when the user hovers over it? Or should the short url be automatically
> transformed to the long url, in line, on page load? Or something else?
>

Tooltip on hover should be fine for desktop usage; mainly I find I want to
check the target URL before clicking so I've got some idea what I'm getting
into. ;)

Hover tooltips might not work too well on mobile browsers, though... of
course then you've got the problem that the long URL probably won't fit on
screen, so we can live with that!


Another possibility might be to do similar to how inline links get formatted
on slashdot; put the hostname from the long-form URL inline in the text:

This at least lets you distinguish between these cases without having to
seek out a hover:

"Dude this is awesome! http://ur1.ca/xxxxxx [osnews.com]"
"Dude this is awesome! http://ur1.ca/xxxxxx [goatse.cx]"

The full-form URL often contains relevant title text, especially for blogs
and wikis, so it's nice to still be able to expose that in a tooltip... Some
browsers like Safari default to not showing a status bar, so you can't
necessarily rely on just sticking the long-form URL in the <a href> either.

If doing this way as an inline, though, I think we're back to it making more
sense on the server side...

-- brion
_______________________________________________
StatusNet-dev mailing list
[email protected]
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to