diff --git a/src/components/changelog/docsChangelog.tsx b/src/components/changelog/docsChangelog.tsx index 296749375354a..1319382f769b3 100644 --- a/src/components/changelog/docsChangelog.tsx +++ b/src/components/changelog/docsChangelog.tsx @@ -43,9 +43,12 @@ export async function DocsChangelog() { ); } + // Show only the 20 most recent entries + const recentEntries = entries.slice(0, 20); + return (
- {entries.map(entry => { + {recentEntries.map(entry => { const date = new Date(entry.publishedAt); const totalFiles = (entry.filesChanged?.added?.length || 0) + @@ -134,6 +137,31 @@ export async function DocsChangelog() { ); })} + {entries.length > 20 && ( +
+

+ Showing the 20 most recent updates. View the{' '} + + full content dashboard + + {' '}or subscribe to the{' '} + + RSS feed + + . +

+
+ )}
); }