skiadas / PanthR

Statistics front-end and webserver with R connection
1 stars 2 forks source link

Comment feature on objects #25

Closed altermattw closed 11 years ago

altermattw commented 11 years ago

It would be nice to enable users to post comments onto objects. For example, the user could click a particular output and write something like "main effect of time opposite to expectation". An author could delete their own comment. If the object were already shared with another user, that other user would receive notification of the comment addition. This would require an array called "Comments" to be added to each object, and would record the author, date/time of posting, the text of the comment, and an empty field that would store subsequent replies to that comment.

At the R level, an easy implementation of this would be attributes. Every object in R, including variables and even specific regression coefficients, can be assigned an attribute. If we can make our JSON objects that atomic, then users could assign comments not to whole output reports but rather to specific parts of the report (e.g., a p-value).

skiadas commented 11 years ago

I'm thinking the UI required to allow comments on extremely specific parts of a report might be a bit of an overkill, i.e. overcomplicating things and crowding the UI. The comments idea is great, but I feel it should stay on the overall object level.

I'm adding the comments idea to the documentation and closing the issue.