buildkite / templates

Buildkite pipeline templates
https://buildkite.com/pipelines/templates
MIT License
2 stars 1 forks source link

Store category slugs for templates #114

Closed dannymidnight closed 3 months ago

dannymidnight commented 3 months ago

When categories are published to DatoCMS we generate a URL slug for them which is later used for lookup. This PR updates the categories stored against templates, to use slugs rather than full name, to ensure they map correctly when the data is eventually forwarded onto Algolia (our search index).

Why now? This wasn't so much an issue before because we didn't have any categories with spaces in their names.

A future enhancement that's probably worth pursuing is updating platforms, languages, use_cases, and tools to use linked fields. For now, this change will fix some broken links.

e.g. See "Hosted Agents" below not finding any results.

Screenshot 2024-05-13 at 5 38 17 pm