columbusrb / conclave

Soon to be the greatest web forum EVER DEVISED.
http://conclaveapp.herokuapp.com/
17 stars 14 forks source link

Clean up terminology in cucumber specs #86

Closed mdarby closed 12 years ago

mdarby commented 12 years ago

It seems that we have a few different ways of referencing the "conversation page"

Obviously, I'm for making Forum#show the main page of the app. Thoughts? Any reason to keep it as Comments#index with the matching route?

skord commented 12 years ago

The one that gets me is the definition of a reply. I'd vote that a reply is only a reply if the parent_id is set. Otherwise it's just another comment.

mdarby commented 12 years ago

I'm back and forth on this as well... If we are doing one flattened list of comments, what is then a "reply". To me, a "reply_id" denotes that we're doing a threaded view.

I vote that we nix the reply_id parent/child altogether and let the user "@" a user (like Github).

Thoughts?

skord commented 12 years ago

My only concern with that is how do you know another user is trying to get your attention? With the parent_id, you could scope comments.my_replies.unread. Either that or trigger the creation of a new object/model called "notification" or something. Say, that's not a terrible idea.

On Oct 3, 2012, at 6:19 PM, Matt Darby notifications@github.com wrote:

I'm back and forth on this as well... If we are doing one flattened list of comments, what is then a "reply". To me, a "reply_id" denotes that we're doing a threaded view.

I vote that we nix the reply_id parent/child altogether and let the user "@" a user (like Github).

Thoughts?

\ Reply to this email directly or view it on GitHub.

mdarby commented 12 years ago

I dig a notification object, but we could easily do a simple highlight on comments that mention the current user's handle too.

skord commented 12 years ago

Agreed for the time being. Probably best left for another time anyway. I think that one is going to require some thought.

mdarby commented 12 years ago

I moved Comments#index into Conversation#show (I think it makes more sense): 3b5cdaf