Investigate: Support for events on PersonalSnippets
We want to get an idea of the amount of work needed to display activity related to PersonalSnippets in the user's profile (along with ProjectSnippets activity). As per [Fran's suggestion](https://gitlab.com/gitlab-org/gitlab/issues/19998#note_287499006), we could achieve that by: - Removing [this return in `Notes::PostProcessService`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/services/notes/post_process_service.rb#L16) - Including snippets with `project_id: nil` in [this query from `Gitlab::ContributionsCalendar`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/contributions_calendar.rb#L51). Possibly, trying that in [`Gitlab::ContributionsCalendar#events_by_date`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/contributions_calendar.rb#L49-52) and [`UserRecentEventsFinder#execute`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/finders/user_recent_events_finder.rb#L28-35) as well - Testing related views like [calendar_activities](https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/views/users/calendar_activities.html.haml) to help identify other changes ### Context - Currently, only comments on `ProjectSnippets` are shown as activity items in the user's profile. - The snippets related activity is scoped to the projects the user contributes to. - Comments on PersonalSnippets create events in the db but are not displayed as they don't belong to any project. - Other types of events would need to be created as currently only comments are tracked.
issue