You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the OpenStreetMap user profile page lacks a comprehensive contribution activity feed similar to those seen on platforms like GitHub. This means users cannot easily track or showcase their activity across changeset edits, note interactions, diary entries, and GPS trace uploads. This gap limits the visibility of a user's contributions and engagement within the community.
Description
This is proposal for adding a user activity feed to the OpenStreetMap profile page to provide a detailed view of contributions. This would enhance user interaction by showcasing a summary of recent actions in a structured and engaging format.
Technical Proposal
The implementation will be split into multiple Pull Requests (PRs) for incremental development:
Problem
Currently, the OpenStreetMap user profile page lacks a comprehensive contribution activity feed similar to those seen on platforms like GitHub. This means users cannot easily track or showcase their activity across changeset edits, note interactions, diary entries, and GPS trace uploads. This gap limits the visibility of a user's contributions and engagement within the community.
Description
This is proposal for adding a user activity feed to the OpenStreetMap profile page to provide a detailed view of contributions. This would enhance user interaction by showcasing a summary of recent actions in a structured and engaging format.
Technical Proposal
The implementation will be split into multiple Pull Requests (PRs) for incremental development:
PR-1-1: Database Schema Setup
user_activities
table:id
,user_id
(indexed),activity_type
,object_type
,object_id
,metadata
,created_at
(indexed).PR-1-2: Model Layer - UserActivity Model and Basic Tracking Logic
UserActivity
Model:belongs_to :user
) and basic validations.after_create
andafter_update
callbacks in relevant models (Changeset
,Note
,DiaryEntry
,GPSTrace
) for logging actions.ActivityTrackable
concern for models needing activity tracking logic.PR-2: Controller Layer - User Activity Controller
UserActivityController
:index
action to fetch user activities with support for pagination, filtering, and sorting.UserActivity
model for efficient filtering and preloading of data.PR-3: Frontend Layer - Activity Feed Display
Screenshots
This is the fast mockup i came up with. Could be modified to fit our use case a bit better according to feedback. Thank you.
The text was updated successfully, but these errors were encountered: