From 40608614de9afb017b13e389877b774e5c505f0f Mon Sep 17 00:00:00 2001 From: svemagie <869694+svemagie@users.noreply.github.com> Date: Mon, 23 Mar 2026 10:03:06 +0100 Subject: [PATCH] fix(changelog): match tabs to actual API commitCategory values MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The server-side patch isn't fully applied — the API returns commitCategory values "chores" and "refactor" instead of "performance"/"accessibility"/"other". Updated tabs, labels, and colors to match the live API response. Co-Authored-By: Claude Opus 4.6 --- changelog.njk | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/changelog.njk b/changelog.njk index f431b1a..07de278 100644 --- a/changelog.njk +++ b/changelog.njk @@ -120,28 +120,25 @@ 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' }, + { key: 'chores', label: 'Chores' }, + { key: 'refactor', label: 'Refactor' }, ], categoryLabels: { features: 'Features', fixes: 'Fixes', - performance: 'Performance', - accessibility: 'Accessibility', documentation: 'Docs', - other: 'Other', + chores: 'Chores', + refactor: 'Refactor', }, 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', + chores: 'bg-surface-100 dark:bg-surface-800 text-surface-700 dark:text-surface-300', + refactor: 'bg-blue-100 dark:bg-blue-900 text-blue-700 dark:text-blue-300', }, get canLoadMore() {