smartchicago / foodborne

Manages tweets about food poisoning in Chicago and presents Open311 form for reporting incidents.
http://foodborne.smartchicagoapps.org/
29 stars 11 forks source link

Submission and Tweet relationship #22

Open srobbin opened 11 years ago

srobbin commented 11 years ago

Comment on Rails code:

Right now, the Submission model refers to a tweet_id, but does not have a true ActiveRecord relationship. At some point, we'll want to reconcile that.

danxoneil commented 11 years ago

On the display side, that means that each record here: http://foodborne.smartchicagoapps.org/admin/submissions will have the originating tweet associated with it, ya?

srobbin commented 11 years ago

Currently, that page should already show tweet information, if we have it. It just so happens that none of those tweets have the info.

This ticket is about making that relationship more efficient.

danxoneil commented 11 years ago

UnderstoodSir. Re-classifying as enhancement.

RaedMan commented 11 years ago

Under "View" for the page for individual submission details, "TWITTER HANDLE" row states "EMPTY" for those submissions that replied through Twitter. It should be populating that row with the known Twitter Handle noted from the "In Reply To" Column listed in the previous page or is this entry supposed to be filled out by the resident?

srobbin commented 11 years ago

I think, in the original app, the user would fill in that field. However, once we started recording referring tweet, we stopped displaying that as a form option. So, now it just sits there, blank and lonely.

Would it be helpful to have that filled out in addition to the "Reply To" column, or should I just delete it to avoid any confusion?