if we are using labels.yml to keep information and sync from there maybe additional fields such as "area: yes" and "title: sth" can be added without causing it to fail (it's javascript after all).
Then changelog can read that info which we now have hardcoded in the code.
Example:
- name: internal/test-infra
color: e8e540
description: "Internal: related to project testing"
title: "Project infrastructure"
type: area
- name: kind/bug
color: "008672"
description: "Kind: Not working as expected"
title: "Bugfix"
type: kind
This way we can easily model area / subcategories (kinds) rendering
if we are using
labels.ymlto keep information and sync from there maybe additional fields such as "area: yes" and "title: sth" can be added without causing it to fail (it's javascript after all).Then changelog can read that info which we now have hardcoded in the code.
Example:
This way we can easily model area / subcategories (kinds) rendering