Quoting In Comment Replies

pudge on 2006-11-22T07:53:11

Now you can click the "Quote" button in your reply to, you know, quote the comment you're replying to.

See examples below.


Wow!

pudge on 2006-11-22T07:53:48

This is the best feature ever! You rule! I wish I could be just like you!

Re:Wow!

pudge on 2006-11-22T07:54:10

This is the best feature ever! You rule! I wish I could be just like you!
Dude, have some dignity.

Re:Wow!

pudge on 2006-11-22T07:54:43

This is the best feature ever! You rule! I wish I could be just like you!
Dude, have some dignity.
Oh, you only wish you could be as cool as me.

Re:Wow!

pudge on 2006-11-22T07:55:21

This is the best feature ever! You rule! I wish I could be just like you!
Dude, have some dignity.
Oh, you only wish you could be as cool as me.
I hate you! Moooooooom!

Re:Wow!

Abigail on 2006-11-22T09:32:22

I don't see a 'quote' button. Where did you hide it?

Re:Wow!

pudge on 2006-11-22T09:51:20

I don't see a 'quote' button. Where did you hide it?
Ah, forgot to mention one thing: you need to have Discussion2 turned on. You should see "Slashdot's New Discussion System Testing" under "Discussion Style" on your comment preferences.

Re:Wow!

Abigail on 2006-11-22T10:22:16

O well. No quotes for me then.

Re:Wow!

Dom2 on 2006-11-22T12:15:31

I don't see a 'quote' button. Where did you hide it?
Ah, forgot to mention one thing: you need to have Discussion2 turned on. You should see "Slashdot's New Discussion System Testing" under "Discussion Style" on your comment preferences.

Speaking of which, is use.perl running an older slash? The floating comment thingy works fine for on Slashdot (sites in the left column), but on use.perl it obscures the top of the screen.

Why yes, I am a Safari user. :-)

-Dom

Re:Wow!

pudge on 2006-11-22T16:23:49

Speaking of which, is use.perl running an older slash? The floating comment thingy works fine for on Slashdot (sites in the left column), but on use.perl it obscures the top of the screen.

No, useperl is actually a newer version of slash. It's just a design difference. useperl actually has no room on the lefthand side. We'll be cleaning up the horizontal bar though, sometime soon.

Re:Wow!

sigzero on 2006-11-22T13:30:51

I don't see a 'quote' button. Where did you hide it?
Ah, forgot to mention one thing: you need to have Discussion2 turned on. You should see "Slashdot's New Discussion System Testing" under "Discussion Style" on your comment preferences.

Do the titles have to cascade in this mode?

Re:Wow!

pudge on 2006-11-22T16:23:36

Ah, forgot to mention one thing: you need to have Discussion2 turned on. You should see "Slashdot's New Discussion System Testing" under "Discussion Style" on your comment preferences.

Do the titles have to cascade in this mode?

I don't know what you mean. Please explain titles/cascade.

Re:Wow!

sigzero on 2006-11-22T18:51:45

Ah, forgot to mention one thing: you need to have Discussion2 turned on. You should see "Slashdot's New Discussion System Testing" under "Discussion Style" on your comment preferences.

Do the titles have to cascade in this mode?

I don't know what you mean. Please explain titles/cascade.

They do this:

Re:
    Re:
        Re:
            Re:

Re:Wow!

pudge on 2006-11-22T21:51:15

OK, now explain "have to." :-)

The way it works is that if the comment is a reply and has the same subject line, then we just use "Re:" in "abbreviated"/"oneline" mode, to reduce clutter and take up less space. There's no way around that currently.

Does that answer your question? Would you prefer the whole subject line be displayed?

Re:Wow!

sigzero on 2006-11-22T23:31:42

OK, now explain "have to." :-)

The way it works is that if the comment is a reply and has the same subject line, then we just use "Re:" in "abbreviated"/"oneline" mode, to reduce clutter and take up less space. There's no way around that currently.

Does that answer your question? Would you prefer the whole subject line be displayed?

I would actually rather it do this:

Re:
Re:
Re:

That way it stays on the "page".

Re:Wow!

pudge on 2006-11-22T23:38:42

I don't understand. They are indented because they are children. If they were immediately below instead of indented, they would look like children of a common parent, instead of children of each other.

Re:Wow!

DAxelrod on 2006-11-22T21:01:38

Ah, forgot to mention one thing: you need to have Discussion2 turned on.
This convinced me to turn on Discussion2.

More info on quote tag?

DAxelrod on 2006-11-22T21:32:26

The quote button indeed rules. Quite a lot. Thank you!

I noticed quoting is done by by wrapping a <quote> tag around quoted text. Is this tag new? Is it documented somewhere?

HTML's <q> and <blockquote> have a cite attribute for indicating the source of a quotation. Is anything like that supported for <quote>? If so, is there any possibility of having the quote button automatically add attribution?

Re:More info on quote tag?

pudge on 2006-11-22T21:51:28

quote is a new "tag" we made up, like ecode. We are tossing around ideas for attribution; co-opting the cite attribute is a good idea, thanks.

Re:More info on quote tag?

DAxelrod on 2006-11-22T22:02:43

We are tossing around ideas for attribution

An idea I just had is that you might use the cid (or whatever the post number is, the post I'm quoting is 51856) as the value of the cite attribute.

A common use-case for me on Slashdot is seeing a reply buried 5 levels down quoting something and responding to it, but none of its parents are displayed; so I have to use the "Parent" links to traverse up the thread until I find the quote. It would be stellar if I had some way of going directly to the quoted post. (Of course, this still doesn't handle the UI issue of how you display that info...)

Re:More info on quote tag?

pudge on 2006-11-22T22:48:32

We are tossing around ideas for attribution

An idea I just had is that you might use the cid (or whatever the post number is, the post I'm quoting is 51856) as the value of the cite attribute.

Yeah, another good idea. I was thinking of merging the user and CID, but ... why CID knows UID.

The question is, though, how to catch that information and use it. I have some ideas, and it's not hard, but then when we come back with nested quotes, it becomes kinda hard. See here, I clicked Quote, and it took the <div class="quote"> around your quote of my comment, and turned it back into <quote>, because, we don't want to leave it as <div class="quote"> for two major reasons: it's ugly to look at when you are editing your reply, and we don't want to allow you to use the class attribute!

So that means we also need a way to turn <div class="quote">, with attribution (however that is formed), back into <quote cite="$cid">. Not impossible or anything, of course. Maybe co-opt some DIV attribute. Maybe "title" or "id". It might be hard to make ID reliably unique, so TITLE might be better: we just need to make sure the value also makes sense as an ACTUAL title. :-) Or it could be an HTML comment immediately following the DIV.

Anyway, you get the point, I think. Needs some thought for how to make it work right.

Re:More info on quote tag?

DAxelrod on 2006-11-25T19:58:00

Interesting. I had always assumed that Slash stored the original representation of whatever a user entered so that editing was possible, and rendered that as "output" HTML when dispaying a page (and possibly cached the rendered version).

I'm really impressed that you're able to roundtrip everything with the quote button, if my assumption was incorrect.

Re:More info on quote tag?

Aristotle on 2006-12-02T22:42:51

That’s not how it works. The only valid values for the cite attribute are URIs.

intentionally left blank

jplindstrom on 2006-11-23T16:59:28

One other feature I'd really like to see here is for the Subject field to be pre-filled with "Re: ORIGINAL SUBJECT", like in e-mail clients.

Re:intentionally left blank

pudge on 2006-11-23T17:46:29

One other feature I'd really like to see here is for the Subject field to be pre-filled with "Re: ORIGINAL SUBJECT", like in e-mail clients.
It is. It's only not prefilled if you are replying to the story/journal/etc., because then almost every comment would have the same subject as the story title. We don't want that, so if you respond to the story itself, you have to add your own subject. But if you reply to another comment (as I am doing here), then it is prefilled (as it was here).

Re:intentionally left blank

jplindstrom on 2006-11-29T14:09:53

Ok. That doesn't make sense to me.

Why wouldn't you want the same subject? That's the current context in which you write the reply. If the conversation changes to something else, then you change the subject.

But never mind, if you already think of it as a feature I doubt I'll change your mind.

Re:intentionally left blank

Aristotle on 2006-12-02T22:44:30

It makes more sense on Slashdot, where there are often hundreds of comments on a single story. On use.perl, I don’t see the point.