openstreetmap / openstreetmap-website

The Rails application that powers OpenStreetMap
https://www.openstreetmap.org/
GNU General Public License v2.0
2.17k stars 910 forks source link

Allow filtering of notes by status (open/closed) on user profile #5239

Open kcne opened 4 days ago

kcne commented 4 days ago

This PR implements a basic filtering functionality for the notes displayed on a user's profile page, addressing part of the long-standing request from issue #832.

Key Changes:

Future Steps:

This is the first step toward more comprehensive sorting and filtering functionalities, such as sorting by creation date, solved date, and more, as requested in #832. By implementing this, we improve the visibility of open (unresolved) notes while preserving the ability to view both open and closed notes for users accustomed to that behavior.

Screenshots:

Screenshot 2024-09-26 at 04 46 21 Screenshot 2024-09-26 at 04 46 39 Screenshot 2024-09-26 at 04 46 55
AntonKhorev commented 3 days ago

How about "All notes" tab to be able to see the list like it's shown now? "Open" and "closed" are not the only possible states. This list currently gives the only easy way to see hidden notes because #3934 is not merged.