Skip to content

refactor: sort content by published field #122

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

Turupawn
Copy link
Collaborator

@Turupawn Turupawn commented Apr 7, 2025

The content is currently sorted by the sequential index field. In this PR we sort using the already existing published date field and remove all references to index since now it would be unnecessary.

Rationale

Sorting by a published field will make the process of adding new articles easier since we don't have to coordinate which article goes first. Now multiple articles from different contributors can be submitted simultaneously without coordination between them. This makes this repo more friendly for external open source contributions.

Copy link

vercel bot commented Apr 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
app ❌ Failed (Inspect) Apr 7, 2025 1:51pm

@Turupawn Turupawn changed the title Sort content by published field refactor: sort content by published field Apr 7, 2025
@Holybasil
Copy link
Collaborator

an error occurred during the build, it’s advisable to retain "index" since it’s utilized by MoreContent

CleanShot 2025-04-09 at 20 08 04@2x

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