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:
Introduced tabs for filtering notes by status (Open/Closed) on the user profile page.
When no status is specified in the URL, the Open Notes tab is selected and displayed by default.
The URL is updated with a status parameter to reflect the current filter state, ensuring clarity for users and enabling easy sharing/bookmarking of filtered views.
Maintains existing pagination and ordering logic, ensuring consistency with the current note display behavior.
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.
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.
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:
status
parameter to reflect the current filter state, ensuring clarity for users and enabling easy sharing/bookmarking of filtered views.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: