Fix versioning: start at 9.9.1, move changelog into app shell

Bump starting version from 9.9.0 to 9.9.1. Move the /changelog page
from a standalone layout into AppLayout so the project sidebar is
available. Remove it from the settings nav since it's its own page.
This commit is contained in:
Alex Gleason committed 2026-04-02 02:19:50 -05:00
1 parent b7ce705b2b
commit 37c19be7ee
13 files changed
+52 -51

No files matched your search

+1
View File
@@ -83,6 +83,7 @@ export const getSettingsCategories = (t: (key: string) => string): SettingsCateg
title: t('aboutShakespeare'),
href: '/settings/about',
},
],
},
];
+1
View File
@@ -240,6 +240,7 @@
"mirrors": "Mirrors",
"mirrorsDescription": "Shakespeare is available at multiple mirror URLs for redundancy and accessibility.",
"changelog": "Changelog",
"changelogDescription": "See what's new in each release of Shakespeare.",
"sourceCode": "Source Code",
"description": "Description",
"license": "License",
+1
View File
@@ -268,6 +268,7 @@
"mirrors": "Madubai",
"mirrorsDescription": "Shakespeare yana samuwa a URLs masu yawa don inganci da samun dama.",
"changelog": "Tarihin Canje-canje",
"changelogDescription": "Duba abubuwan da suka canja a kowane sigar Shakespeare.",
"sourceCode": "Lambar Tushe",
"description": "Bayanin",
"license": "Lasisi",
+1
View File
@@ -268,6 +268,7 @@
"mirrors": "Enyo",
"mirrorsDescription": "Shakespeare dị na ọtụtụ URL enyo maka nnọchi na nnweta.",
"changelog": "Ndekọ Mgbanwe",
"changelogDescription": "Lee ihe ọhụrụ n'ụdị ọ bụla nke Shakespeare.",
"sourceCode": "Koodu Isi",
"description": "Nkọwa",
"license": "Ikike",
+1
View File
@@ -277,6 +277,7 @@
"mirrors": "Espelhos",
"mirrorsDescription": "Shakespeare está disponível em vários URLs espelhados para redundância e acessibilidade.",
"changelog": "Registro de alterações",
"changelogDescription": "Veja as novidades em cada versão do Shakespeare.",
"sourceCode": "Código-fonte",
"description": "Descrição",
"license": "Licença",
+1
View File
@@ -268,6 +268,7 @@
"mirrors": "Awọn Digi",
"mirrorsDescription": "Shakespeare wa ni awọn URL digi pupọ fun aredundan ati iraye si.",
"changelog": "Akọsilẹ Ayipada",
"changelogDescription": "Wo ohun tuntun ninu ẹya kọọkan ti Shakespeare.",
"sourceCode": "Koodu Orisun",
"description": "Apejuwe",
"license": "Iwe-aṣẹ",
+1
View File
@@ -277,6 +277,7 @@
"mirrors": "镜像",
"mirrorsDescription": "Shakespeare可通过多个镜像URL访问,以确保冗余和可访问性。",
"changelog": "更新日志",
"changelogDescription": "查看Shakespeare每个版本的更新内容。",
"sourceCode": "源代码",
"description": "描述",
"license": "许可证",
+39 -45
View File
@@ -1,9 +1,8 @@
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
import { Link } from 'react-router-dom';
import { useSeoMeta } from '@unhead/react';
import { ArrowLeft, Bug, FlaskConical, Minus, Package, Plus, RefreshCw, ShieldAlert } from 'lucide-react';
import { Bug, FlaskConical, Minus, Package, Plus, RefreshCw, ScrollText, ShieldAlert } from 'lucide-react';
import { Button } from '@/components/ui/button';
import { AppLayout } from '@/components/AppLayout';
import { Skeleton } from '@/components/ui/skeleton';
import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip';
import { parseChangelog } from '@/lib/changelog';
@@ -56,49 +55,44 @@ export function ChangelogPage() {
const latestVersion = entries[0]?.version;
return (
<main className="min-h-screen bg-background">
{/* Header */}
<div className="border-b">
<div className="max-w-2xl mx-auto px-4 py-3 flex items-center gap-3">
<Button variant="ghost" size="sm" className="h-8 w-8 p-0" asChild>
<Link to="/settings/about">
<ArrowLeft className="size-4" />
</Link>
</Button>
<h1 className="text-lg font-semibold">Changelog</h1>
<AppLayout>
<div className="max-w-2xl mx-auto">
<div className="flex items-center gap-3 mb-6">
<ScrollText className="size-6 text-primary" />
<h1 className="text-2xl font-bold">Changelog</h1>
</div>
<div className="space-y-4">
{error ? (
<p className="text-sm text-muted-foreground pt-4">Failed to load changelog.</p>
) : content === null ? (
<ChangelogSkeleton />
) : entries.length === 0 ? (
<p className="text-sm text-muted-foreground pt-4">No releases yet.</p>
) : (
<>
{isPreRelease && latestVersion && <PreReleaseBanner latestVersion={latestVersion} />}
<LatestRelease entry={entries[0]} />
{entries.length > 1 && (
<>
<div className="flex items-center gap-3 pt-4 pb-1">
<div className="h-px flex-1 bg-border" />
<span className="text-xs font-medium text-muted-foreground uppercase tracking-wider">Past releases</span>
<div className="h-px flex-1 bg-border" />
</div>
{entries.slice(1).map((entry) => (
<ChangelogEntryCard key={entry.version} entry={entry} />
))}
</>
)}
</>
)}
</div>
</div>
<div className="max-w-2xl mx-auto px-4 pt-3 pb-16 space-y-4">
{error ? (
<p className="text-sm text-muted-foreground pt-4">Failed to load changelog.</p>
) : content === null ? (
<ChangelogSkeleton />
) : entries.length === 0 ? (
<p className="text-sm text-muted-foreground pt-4">No releases yet.</p>
) : (
<>
{isPreRelease && latestVersion && <PreReleaseBanner latestVersion={latestVersion} />}
<LatestRelease entry={entries[0]} />
{entries.length > 1 && (
<>
<div className="flex items-center gap-3 pt-4 pb-1">
<div className="h-px flex-1 bg-border" />
<span className="text-xs font-medium text-muted-foreground uppercase tracking-wider">Past releases</span>
<div className="h-px flex-1 bg-border" />
</div>
{entries.slice(1).map((entry) => (
<ChangelogEntryCard key={entry.version} entry={entry} />
))}
</>
)}
</>
)}
</div>
</main>
</AppLayout>
);
}
@@ -120,7 +114,7 @@ function LatestRelease({ entry }: { entry: ChangelogEntry }) {
}, [measure]);
return (
<div className="pt-2 pb-1 px-4">
<div className="pt-2 pb-1">
{/* Big centered version + date */}
<a
href={`${GITLAB_REPO}/-/releases/v${entry.version}`}