insistedMarin opened a new pull request, #672: URL: https://github.com/apache/incubator-answer/pull/672
This Pull Request introduces a new filtering functionality to the `userprofile` page. The main objective of this update is to enhance the user experience by providing a more refined control over the visibility of posts. **Key Changes:** 1. **Filter Implementation for `topData` and `listData`:** The `topData` and `listData` on the `userprofile` page have been updated with a filtering mechanism. This feature filters out 'unlisted' posts, ensuring that they are only visible to specific user roles. 2. **Role-Based Visibility:** The visibility of 'unlisted' posts is now restricted. These posts are only displayed to the Post author, Admin, and Moderator roles. **Testing:** The new filter functionality has been thoroughly tested to ensure it operates as intended across various scenarios. Tests included checking the visibility of posts for different user roles and verifying the correct functioning of the `topData` and `listData` filters. Looking forward to your feedback and suggestions on this implementation. Thank you for considering this Pull Request. Related issue: #661 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
