fossunited/mon_school

Show comment count on sketch page

Closed this issue · 0 comments

Show the number of comments for each sketch in the sketch listing page.

Computing the number of comments every time would be cumbersome. Create a doctype Simple Metric to store the metrics as key-value pairs associated with each document and update the metrics on save.

Configure hooks to update the metrics every time a comment is added.