More Columns on Dashboard #375
Replies: 1 comment 1 reply
-
Hey @etmartinkazoo, thanks for the feedback, this is something we've been thinking about adding. For background, the concern here is performance — right now, Keystatic can render that screen by just querying the list of files in the collection directory, which scales pretty well, but adding the ability to have columns from the frontmatter / json / etc would potentially mean actually reading a large number of files before the screen can be rendered. For small collections that's obviously not going to be an issue but we're wary of adding foot guns. We're considering adding some indexing (possibly optional) to the system, which would make this possible, or at least making the less-performant option available for now and show a warning if it's used with large collections. Long story short, it's not impossible, just not necessarily trivial. We're going to come out with a solve for it before too long, and it's helpful to know you've got the use case so we can prioritise it. Related, we've also discussed adding sorting and filtering on fields other than the slug which also has implications on how we build support for showing fields in the table, so shout out if that's something that would be super useful too. |
Beta Was this translation helpful? Give feedback.
-
In the below screenshot, the list of packages are present. Some packages have the same name and are only differentiated by their "tag" relationship. Some are wedding, some are corporate, and some are social. Is there a way to create a column called "Tag" that would display the name of the tag selected in the relationship field in addition to the "Name" column?
Thanks all!
Beta Was this translation helpful? Give feedback.
All reactions