-
Notifications
You must be signed in to change notification settings - Fork 257
feat(shorts): support shorts feed and fix shorts content <br>
#2244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
📦 Next.js Bundle Analysis for xlogThis analysis was generated by the Next.js Bundle Analysis action. 🤖 🎉 Global Bundle Size Decreased
DetailsThe global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster. Any third party scripts you have added directly to your app using the If you want further insight into what is behind the changes, give @next/bundle-analyzer a try! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for shorts feed functionality and fixes content formatting issues with line breaks in shorts content. The implementation includes changes to IPFS gateway URLs and introduces dedicated shorts feed endpoints.
- Adds a new dedicated shorts feed endpoint at
/[locale]/site/[site]/feed/shorts/route.ts - Integrates shorts content into the main feed with proper sorting and formatting
- Fixes shorts content display by converting newlines to HTML
<br/>tags
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/lib/ipfs-parser.ts | Updates IPFS gateway URL from 4everland.xyz to 4everland.io |
| src/lib/env.ts | Updates default IPFS gateway URL configuration |
| src/app/[locale]/site/[site]/feed/shorts/route.ts | Creates new dedicated shorts feed endpoint with RSS and JSON support |
| src/app/[locale]/site/[site]/feed/route.ts | Integrates shorts into main feed with optional inclusion via query parameter |
| src/app/[locale]/site/[site]/[slug]/page.tsx | Fixes shorts content display by converting newlines to HTML breaks |
| package.json | Updates Docker Compose command syntax |
| .env.example | Updates example IPFS gateway URL |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
xLog address: 0x6DdaF3ee1A2337986ccB04bCADA40439885226d1 |
|
@yzhe819 hello, don't forget to review🥺 |
|
Thanks for the support, I'll review this later. ❤️ |
|
@yzhe819 hello 👀 |
support shorts feed


fix content
<br>