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:
@@ -120,18 +120,27 @@ function changelogApp() {
|
||||
{ key: 'all', label: 'All' },
|
||||
{ key: 'features', label: 'Features' },
|
||||
{ key: 'fixes', label: 'Fixes' },
|
||||
{ key: 'performance', label: 'Performance' },
|
||||
{ key: 'accessibility', label: 'Accessibility' },
|
||||
{ key: 'documentation', label: 'Docs' },
|
||||
{ key: 'other', label: 'Other' },
|
||||
],
|
||||
|
||||
categoryLabels: {
|
||||
features: 'Features',
|
||||
fixes: 'Fixes',
|
||||
performance: 'Performance',
|
||||
accessibility: 'Accessibility',
|
||||
documentation: 'Docs',
|
||||
other: 'Other',
|
||||
},
|
||||
|
||||
categoryColors: {
|
||||
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',
|
||||
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',
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user