del82 / ezra

ezra on rails
2 stars 1 forks source link

User and target activity tracking/stats #11

Open del82 opened 11 years ago

del82 commented 11 years ago

Activity tracking for users and targets. This would allow stat collection per user per target. the user/admin could then see his/her personal stats and those of the users she is supervising.

del82 commented 11 years ago

The public_activity gem looks like a good bet for this. Railscast.

del82 commented 11 years ago

Added initial activity tracking for hits (only) in a064c4bd953b4ad7707cab7588819550d08d56ac.

Also added development data for activities to the sample_data generator, so re-doing rake db:populate will create activity which can be viewed in a browser. The /activities index currently dumps each activity's attributes to the screen so that we can see what's in it while writing the views.

parryc commented 11 years ago

What kind of output should be displayed? I think a list would be nice, but what kind of graphs might be useful? Some sort of time series graph, probably.

(Also, deferred to 1.1, since the basics are done, but it could be better)

del82 commented 11 years ago

On second thought I think the public_activity gem isn't right for this feature set, because it doesn't have a built in way to track the actual changes being made. Perhaps audited is a better choice for user activity tracking/auditing.