diff --git a/src/features/settings/components/changelog-tab.tsx b/src/features/settings/components/changelog-tab.tsx index 84d4b22..74b8a71 100644 --- a/src/features/settings/components/changelog-tab.tsx +++ b/src/features/settings/components/changelog-tab.tsx @@ -38,6 +38,11 @@ export function ChangelogTab({ versions }: { versions: ChangelogVersion[] }) {
+ {version.summary && ( +

+ {version.summary} +

+ )} {version.sections.map((section) => (
0) { + currentVersion.summary = summaryLines.join(" ").trim(); + summaryLines = []; + } if (currentSection) { currentVersion.sections.push(currentSection); } @@ -55,6 +62,11 @@ export function parseChangelog(): ChangelogVersion[] { continue; } + if (currentVersion && !currentSection && line.trim()) { + summaryLines.push(line.trim()); + continue; + } + // **Contribuições:** ou **Autor:** com texto/link opcional const contributorMatch = line.match( /^\*\*(?:Contribuições|Autor):\*\*\s*(.+)$/,