Kleine fixs. Aber am wichtigsten FollowingFeed ist daaaaaaa aboooowww…#109
Merged
Kleine fixs. Aber am wichtigsten FollowingFeed ist daaaaaaa aboooowww…#109
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request introduces a new "Following Feed" feature and refactors the timestamp field from createdAt to updatedAt across the post-related codebase. The PR adds a dedicated feed page for viewing posts from followed users, integrates it into the navigation system, and updates the Post type system to use update timestamps instead of creation timestamps.
Changes:
- Added new FollowingFeed page with pagination and empty state handling
- Changed Post timestamp field from
createdAttoupdatedAtacross all components and types - Added navigation links for the new Following feed (desktop and mobile)
- Modified Tailwind CSS classes in Navigation and CreatePostDialog components
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/types/post.ts | Renamed Post interface field from createdAt to updatedAt |
| src/pages/FollowingFeed.tsx | New page component for displaying posts from followed users with pagination |
| src/pages/Feed.tsx | Updated to use updatedAt instead of createdAt |
| src/components/userProfile/ProfileFeed.tsx | Updated to use updatedAt instead of createdAt |
| src/components/nav/Navigation.tsx | Added "Freunde" (Friends) navigation links and modified CSS classes |
| src/components/PostCard.tsx | Updated date display to use updatedAt field |
| src/components/CreatePostDialog.tsx | Modified textarea min-height CSS class |
| src/api/postService.ts | Added getFollowingPosts function and renamed Post interface field |
| src/main.tsx | Added route for /following path |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Julius257
approved these changes
Feb 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…ww!!!!