Thinkmill / Thinkmill/keystatic
Pass the whole object to the `generate` property of a slug field
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 159
- Avg merge
- 21h 41m
- Merged PRs (30d)
- 2
Description
Hey! Awesome product and tool. Really. Great job. I will consider donating a few coffees later on :)
As for the feature request, I think it would be nice if we could generate an entry's slug based on all its fields (language, for example). It should be fairly easy to implement.
Thanks!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the repository for the slug field and its generate property, then inspect how the current value is passed to generation. Check for existing slug-related tests or examples and determine how the full entry object should be exposed for fields such as language. Done means a slug can be generated from more than the current field value without breaking existing usage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- content
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100