Skip to content

Conversation

@markbang
Copy link

support shorts feed
feed
fix content <br>
br compare

@vercel
Copy link

vercel bot commented Aug 24, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
xlog Ignored Ignored Aug 24, 2025 7:48am

@github-actions
Copy link

📦 Next.js Bundle Analysis for xlog

This analysis was generated by the Next.js Bundle Analysis action. 🤖

🎉 Global Bundle Size Decreased

Page Size (compressed)
global 90.62 KB (-1 B)
Details

The 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 <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

@usagiryu usagiryu requested review from Copilot and yzhe819 August 25, 2025 00:05
Copy link

Copilot AI left a 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.

@markbang
Copy link
Author

xLog address: 0x6DdaF3ee1A2337986ccB04bCADA40439885226d1
Discord ID: markbangwu
my xLog address and Discord ID🙏
I want to make xLog more stable. I have been using xLog as my writing platform for almost 500 days. If there are any issues later, I will be happy to help.

@markbang
Copy link
Author

@yzhe819 hello, don't forget to review🥺

@yzhe819
Copy link
Contributor

yzhe819 commented Aug 27, 2025

Thanks for the support, I'll review this later. ❤️

@markbang
Copy link
Author

@yzhe819 hello 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants