feat(changelog): add performance, accessibility, docs category tabs

Aligns the changelog page with the updated indiekit endpoint-github
patch (patch-endpoint-github-changelog-categories.mjs) which now
categorizes perf:/a11y:/docs: commit prefixes in addition to
feat:/fix:.
This commit is contained in:
svemagie
2026-03-10 17:29:30 +01:00
parent 8932227ef9
commit cfddaaf7bc

View File

@@ -120,18 +120,27 @@ function changelogApp() {
{ key: 'all', label: 'All' }, { key: 'all', label: 'All' },
{ key: 'features', label: 'Features' }, { key: 'features', label: 'Features' },
{ key: 'fixes', label: 'Fixes' }, { key: 'fixes', label: 'Fixes' },
{ key: 'performance', label: 'Performance' },
{ key: 'accessibility', label: 'Accessibility' },
{ key: 'documentation', label: 'Docs' },
{ key: 'other', label: 'Other' }, { key: 'other', label: 'Other' },
], ],
categoryLabels: { categoryLabels: {
features: 'Features', features: 'Features',
fixes: 'Fixes', fixes: 'Fixes',
performance: 'Performance',
accessibility: 'Accessibility',
documentation: 'Docs',
other: 'Other', other: 'Other',
}, },
categoryColors: { categoryColors: {
features: 'bg-green-100 dark:bg-green-900 text-green-700 dark:text-green-300', features: 'bg-green-100 dark:bg-green-900 text-green-700 dark:text-green-300',
fixes: 'bg-orange-100 dark:bg-orange-900 text-orange-700 dark:text-orange-300', fixes: 'bg-orange-100 dark:bg-orange-900 text-orange-700 dark:text-orange-300',
performance: 'bg-blue-100 dark:bg-blue-900 text-blue-700 dark:text-blue-300',
accessibility: 'bg-purple-100 dark:bg-purple-900 text-purple-700 dark:text-purple-300',
documentation: 'bg-yellow-100 dark:bg-yellow-900 text-yellow-700 dark:text-yellow-300',
other: 'bg-surface-100 dark:bg-surface-800 text-surface-700 dark:text-surface-300', other: 'bg-surface-100 dark:bg-surface-800 text-surface-700 dark:text-surface-300',
}, },