Merge remote-tracking branch 'public-gh/master' into paperclip-subissues

* public-gh/master:
  hide version until loaded
  add app version label
This commit is contained in:
Dotta
2026-03-17 09:54:30 -05:00
5 changed files with 22 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
export type HealthStatus = {
status: "ok";
version?: string;
deploymentMode?: "local_trusted" | "authenticated";
deploymentExposure?: "private" | "public";
authReady?: boolean;

View File

@@ -297,6 +297,9 @@ export function Layout() {
<BookOpen className="h-4 w-4 shrink-0" />
<span className="truncate">Documentation</span>
</a>
{health?.version && (
<span className="px-2 text-xs text-muted-foreground shrink-0">v{health.version}</span>
)}
<Button variant="ghost" size="icon-sm" className="text-muted-foreground shrink-0" asChild>
<Link
to={instanceSettingsTarget}
@@ -347,6 +350,9 @@ export function Layout() {
<BookOpen className="h-4 w-4 shrink-0" />
<span className="truncate">Documentation</span>
</a>
{health?.version && (
<span className="px-2 text-xs text-muted-foreground shrink-0">v{health.version}</span>
)}
<Button variant="ghost" size="icon-sm" className="text-muted-foreground shrink-0" asChild>
<Link
to={instanceSettingsTarget}