Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contribution activity on user page #5298

Open
kcne opened this issue Oct 31, 2024 · 3 comments
Open

Contribution activity on user page #5298

kcne opened this issue Oct 31, 2024 · 3 comments

Comments

@kcne
Copy link
Contributor

kcne commented Oct 31, 2024

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.

Edit:

After further thought and experimentation, we've decided to focus on an approach that retrieves all user activity directly from the database. This will allow for a more comprehensive and scalable solution.

Here are some activity types we plan to include:

Changesets

  • Opened N Changesets (e.g., last week)
  • Opened N Changesets in total
  • Added N Changeset Comments (e.g., last week)

Comments

  • Added N Comments to Diary Entries
  • Added N Comments to David’s Diaries
  • Created N Diary Entries
  • Created N Diary Entries with Names: …

Followers/Following

  • Followed N Users
  • Was Followed by N Users

GPX Files

  • Added N GPX Files
  • Added N GPX Files with Names: …

Issues (for moderators only, requires indexing)

  • Resolved N Issues
  • Rejected N Issues
  • Created N Reports

Notes

  • Created N Notes (requires indexing)
  • Added N Note Comments
  • Added N Note Comments to David’s Notes

Moderation (for moderators only, requires indexing)

  • Created N Redactions
  • Blocked N Users
  • Muted N Users
  • Was promoted to Administrator

Additionally, we are refining the design to align with this approach. The new design will reflect these expanded activity types while maintaining a clean and user-friendly interface.

Screenshots

Screenshot 2024-10-31 at 09 43 43

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.

@maro-21
Copy link

maro-21 commented Dec 15, 2024

I don't see why OSM should look like GitHub.

OSM is a map editor, not a social network. What you are proposing is to turn OSM into a social network.

The activities you listed can be seen at:

The diagram you provided in the picture is not readable to me at all. There are a lot of symbols and the whole thing is difficult to understand.

@nertc nertc mentioned this issue Dec 23, 2024
5 tasks
@kcne
Copy link
Contributor Author

kcne commented Feb 17, 2025

After some consideration, we’ve decided that directly querying the data from the database is a better approach for this feature. I’ve updated the original issue to reflect these changes.

Additionally, here is the new design we came up with. Feedback and suggestions are always welcome!

Image

@kcne
Copy link
Contributor Author

kcne commented Feb 27, 2025

I've successfully implemented this locally and plan to start opening PRs for this soon. The implementation will be completed in stages, with the following plan:

  1. Add new indexes to activity-related tables to optimize query performance.
  2. Implement activity query logic and update the controller.
  3. Integrate activity UI, including activity icons, basic styles, and activity templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants