feat(#38): document edit history with diff and compare mode #52

Merged
marcel merged 13 commits from feat/38-document-edit-history into main 2026-03-23 17:27:57 +01:00
Showing only changes of commit d84b997965 - Show all commits

View File

@@ -307,7 +307,7 @@ function formatDateTime(iso: string): string {
}
function versionLabel(v: VersionSummary, index: number): string {
return `Version ${versions.length - index}${v.editorName}${formatDateTime(v.savedAt)}`;
return `Version ${index + 1}${v.editorName}${formatDateTime(v.savedAt)}`;
}
</script>
@@ -720,7 +720,7 @@ function versionLabel(v: VersionSummary, index: number): string {
>
<div class="flex items-baseline justify-between gap-2">
<span class="font-sans text-xs font-medium text-brand-navy">
Version {versions.length - i}
Version {i + 1}
</span>
<span class="font-sans text-[10px] text-gray-400">
{formatDateTime(v.savedAt)}