New `collection` option: `defaultSort`
This PR is an alternative to #1105 which provides an option for the default sort to be used by a Collection list view.
I chose the following API:
defaultSort: SortDescriptor
This provides a way for users to default to e.g. a reverse chronological order on their collections list view for a set of blog posts.
⚠️ No Changeset found
Latest commit: f8974d9bde7b10c90613b12d732a7ac8be269585
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated (UTC) |
|---|---|---|---|
| keystatic-site | ✅ Ready (Inspect) | Visit Preview | Apr 30, 2024 0:34am |
FYI: Something similar is planned as part of a larger "columns definition" body of work, which is slated as a roadmap item to be picked up in the near future.
Closing this to defer to this roadmap item
Is there a way to track that roadmap item? I'm interested in seeing column sort happening! 💜