Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
feat(changelog): surface release notes from sidebar menu + update prompt (#1485)
Bohan Jiang747d9492cf0d
diff --git a/apps/desktop/src/renderer/src/components/update-notification.tsx b/apps/desktop/src/renderer/src/components/update-notification.tsxindex 4ef34c6d54..5b4fe00758 100644--- a/apps/desktop/src/renderer/src/components/update-notification.tsx+++ b/apps/desktop/src/renderer/src/components/update-notification.tsx@@ -110,12 +110,25 @@ export function UpdateNotification() {<p className="text-xs text-muted-foreground mt-0.5">Restart to apply the update</p>- <button- onClick={handleInstall}- className="mt-2 inline-flex items-center rounded-md bg-primary px-3 py-1.5 text-xs font-medium text-primary-foreground hover:bg-primary/90 transition-colors"- >- Restart now- </button>+ <div className="mt-2 flex items-center gap-1.5">+ {/* Secondary "See changes" — gives the user a reason to+ restart by surfacing what they're about to get. Opens+ in the default browser via the shared openExternal+ bridge so the URL hits the same allow-list as every+ other outbound link. */}+ <button+ onClick={() => window.desktopAPI.openExternal("https://multica.ai/changelog")}+ className="inline-flex items-center rounded-md border border-border bg-background px-3 py-1.5 text-xs font-medium text-foreground hover:bg-accent transition-colors"+ >+ See changes+ </button>+ <button+ onClick={handleInstall}+ className="inline-flex items-center rounded-md bg-primary px-3 py-1.5 text-xs font-medium text-primary-foreground hover:bg-primary/90 transition-colors"+ >+ Restart now+ </button>+ </div></div></div>)}diff --git a/packages/views/layout/app-sidebar.tsx b/packages/views/layout/app-sidebar.tsxindex 3a791b0500..452f419e66 100644--- a/packages/views/layout/app-sidebar.tsx+++ b/packages/views/layout/app-sidebar.tsx@@ -28,6 +28,7 @@ import {SquarePen,CircleUser,FolderKanban,+ Sparkles,X,Zap,} from "lucide-react";@@ -515,6 +516,22 @@ export function AppSidebar({ topSlot, searchSlot, headerClassName, headerStyle })}<DropdownMenuSeparator /><DropdownMenuGroup>+ {/* Plain anchor with target=_blank works on both web+ (new tab) and desktop (intercepted by the main+ process's setWindowOpenHandler → openExternalSafely),+ so the shared component doesn't need to branch. */}+ <DropdownMenuItem+ render={+ <a+ href="https://multica.ai/changelog"+ target="_blank"+ rel="noopener noreferrer"+ />+ }+ >+ <Sparkles className="h-3.5 w-3.5" />+ What's new+ </DropdownMenuItem><DropdownMenuItem variant="destructive" onClick={logout}><LogOut className="h-3.5 w-3.5" />Log out@@ -700,6 +717,15 @@ export function AppSidebar({ topSlot, searchSlot, headerClassName, headerStyle }</div></div><div className="p-1">+ <a+ href="https://multica.ai/changelog"+ target="_blank"+ rel="noopener noreferrer"+ className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-sm text-foreground hover:bg-accent transition-colors cursor-pointer"+ >+ <Sparkles className="h-3.5 w-3.5" />+ What's new+ </a><buttononClick={logout}className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-sm text-destructive hover:bg-destructive/10 transition-colors cursor-pointer"