63

Currently, oneboxing requires that the URL be the only thing in a chat message. If additional text is added with the url in the same chat message, oneboxing won't work.

If other people are chatting, they can break in and divorce the onebox from the descriptive text:

enter image description here

Please fix chat in some way so that the descriptive text can stay with the onebox, without messages from other chat users breaking in:

enter image description here

27

Since this is presented better I've voted to close this post as a dupe of this. I made a suggestion there that I'll reproduce below.


I would like this feature as well, but on the other hand I don't want every link to onebox. I propose something like the following:

Gets oneboxed

Link by itself (current behavior)

https://meta.stackexchange.com/q/120285/154510

Inline link with some sort of markup, e.g. prefixed with ! (new behavior)

Check this out: !https://meta.stackexchange.com/q/120285/154510

This was actually how I thought it worked when I first started using chat. I think it makes sense to use the ! similar to posting an image in a question/answer, since you're creating an emphasized visual element, but the syntax could be anything.

Doesn't get oneboxed

Inline link with no markup (current behavior)

Check this out: https://meta.stackexchange.com/q/120285/154510
  • 1
    Wouldn't you just put the link on its own line like it is now? – Michael Mrozek Jan 25 '12 at 18:16
  • 2
    @MichaelMrozek You could, sure, but a lot of people don't put newlines in chat messages (used to Enter sending a message, not knowing about Shift-Enter, whatever). I'm up for any syntax really though, as long as it's simple enough. – Matthew Read Jan 25 '12 at 18:19
  • I think it would be easier on the logic if the url was either the first or last line of a multi-line message, it would still be oneboxed with the additional content still be part of the message. Then of course, people will have to know about how to put in the multi-line messages which is less of an issue. – Jeff Mercado Jan 25 '12 at 19:13
  • 1
    ! is already used in chat for oneboxing images from URLs without image file extensions. – TCPMAN.EXE Jan 25 '12 at 19:43
  • @mootinator Thaaaat explains my confusion before! Thanks. – Matthew Read Jan 26 '12 at 0:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .