LookUpGroup27 / LookUp

0 stars 1 forks source link

Feature/exclude own posts from feed #153

Closed raniabbrk closed 5 days ago

raniabbrk commented 1 week ago

Description: This PR updates the feed functionality to enhance the browsing experience by ensuring that posts displayed in the feed are exclusively created by other users, excluding the logged-in user's posts.

Key Change: Feed Filtering: Added logic to filter out posts created by the logged-in user (FirebaseAuth.currentUser.email). Modified the nearbyPosts property to include only posts from other users.

Testing : Updated test cases to verify the exclusion of the logged-in user's posts. Ensured posts from other users are still displayed and correctly formatted.

Acceptance Criteria Fulfilled: Posts from the logged-in user are excluded from the feed. Posts from other users are displayed with their usernames and photos. UI remains visually consistent and functional. Verified through test cases.

sonarcloud[bot] commented 1 week ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud