Thinkmill / Thinkmill/keystatic

Feature request: option to use field instead of slug in collections view

Open
#1,457 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.4k
Forks
159
Avg merge
21h 41m
Merged PRs (30d)
2

Description

The collections view displays post slugs, with no way to disable that.

I don't need to see the slugs for some collections; my blog posts have titles, so I'd like to just show that. I can show both title & slug, but that takes up a lot of space and makes it hard to fit other fields on screen too.

Please add an option to specify a field that will override the display text in the collections view.

I think this will also affect the search box, which seems to only search slugs, and not any other fields.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the collections view and the search-box implementation in the TypeScript application. Trace how the displayed slug and searchable fields are selected, then determine how a configurable override field should apply to both. Done means a collection can show a chosen field instead of its slug and that field is included in search behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, search
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.