Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

feat(release-notes): the sheet expands into full Local and Cloud sections

purpleebfa2f904178
diff --git a/src/components/release/ReleaseNotesModal.tsx b/src/components/release/ReleaseNotesModal.tsx
index 227b291b..8ad56098 100644
--- a/src/components/release/ReleaseNotesModal.tsx
+++ b/src/components/release/ReleaseNotesModal.tsx
@@ -3,8 +3,9 @@
// animated stage on top, framer-motion in and out, backdrop and X both close.
// Dismissing stamps the version, so it never comes back for this build.
+import { useState } from 'react'
import { AnimatePresence, motion } from 'framer-motion'
-import { X, Sparkles } from 'lucide-react'
+import { X, Sparkles, ChevronDown } from 'lucide-react'
import { version as currentVersion } from '../../../package.json'
import { useSettingsStore } from '../../stores/settingsStore'
import { useReleaseNotesStore, shouldShowReleaseNotes } from '../../stores/releaseNotesStore'
@@ -14,6 +15,7 @@ export function ReleaseNotesModal() {
const lastNotesVersion = useReleaseNotesStore((s) => s.lastNotesVersion)
const markNotesSeen = useReleaseNotesStore((s) => s.markNotesSeen)
const onboardingDone = useSettingsStore((s) => s.settings.onboardingDone)
+ const [expanded, setExpanded] = useState(false)
const open = shouldShowReleaseNotes(currentVersion, lastNotesVersion, onboardingDone)
const note = releaseNoteFor(currentVersion)
@@ -49,7 +51,7 @@ export function ReleaseNotesModal() {
</button>
</div>
- <div className="p-4 space-y-3">
+ <div className="p-4 space-y-3 max-h-[60vh] overflow-y-auto">
<div className="flex items-center gap-2">
<Sparkles size={14} className="text-violet-300" />
<h3 className="text-[0.85rem] font-semibold text-white">What is new</h3>
@@ -66,6 +68,39 @@ export function ReleaseNotesModal() {
</li>
))}
</ul>
+
+ {note.details && note.details.length > 0 && (
+ <>
+ <button
+ onClick={() => setExpanded(!expanded)}
+ className="flex items-center gap-1 text-[0.62rem] text-violet-300/90 hover:text-violet-200 transition-colors"
+ aria-expanded={expanded}
+ >
+ <ChevronDown size={12} className={`transition-transform ${expanded ? 'rotate-180' : ''}`} />
+ {expanded ? 'Hide details' : 'Show all changes'}
+ </button>
+ {expanded && (
+ <div className="space-y-3">
+ {note.details.map((section) => (
+ <div key={section.title} className="space-y-1.5">
+ <p className="text-[0.55rem] font-semibold uppercase tracking-widest text-gray-500">
+ {section.title}
+ </p>
+ <ul className="space-y-1">
+ {section.items.map((item) => (
+ <li key={item} className="flex gap-2 text-[0.6rem] leading-relaxed text-gray-500">
+ <span className="mt-[0.32rem] w-1 h-1 rounded-full bg-gray-600 shrink-0" />
+ <span>{item}</span>
+ </li>
+ ))}
+ </ul>
+ </div>
+ ))}
+ </div>
+ )}
+ </>
+ )}
+
<div className="flex items-center gap-2 pt-1">
<button
onClick={close}
diff --git a/src/lib/release-notes.ts b/src/lib/release-notes.ts
index 9f0a7048..75bb8d96 100644
--- a/src/lib/release-notes.ts
+++ b/src/lib/release-notes.ts
@@ -9,15 +9,25 @@
* An empty sheet is worse than no sheet, and a release whose notes nobody wrote
* should simply stay quiet rather than greet the user with a headline and
* nothing under it.
+ *
+ * `lines` is the short read on the sheet. `details` sits behind the Show all
+ * changes expander, grouped into sections (Local, Cloud), and may be long.
*/
+export interface ReleaseNoteSection {
+ title: string
+ items: string[]
+}
+
export interface ReleaseNote {
/** Exact version string, matched against package.json. */
version: string
/** One line the user reads first. */
headline: string
- /** Two to five short lines. Anything longer stops being read. */
+ /** Two to five short lines. Anything longer goes into `details`. */
lines: string[]
+ /** The full list behind the expander, grouped into sections. */
+ details?: ReleaseNoteSection[]
}
export const RELEASE_NOTES: ReleaseNote[] = [
@@ -26,10 +36,40 @@ export const RELEASE_NOTES: ReleaseNote[] = [
headline: 'Agent runs you can trust, and a lighter, faster app',
lines: [
'Agent and Code mode got a deep reliability pass: runs no longer stall, loop, or invent results, small local models drive tools properly, and Stop always stops.',
- 'Long chats stopped eating memory, streaming stays smooth, and generated images now survive a restart.',
- 'Every cloud model shows its price up front, and the credits meter counts video and training budgets truthfully.',
- 'The benchmark measures cost and correctness, not just speed, and marks answers that were cut off.',
- 'New: native HiRes fix for local image generation, and the agent opens folders and programs on request.',
+ 'New: group chat with 2 to 4 local models, editable model answers, Wan native video sizes, HiRes fix, and character training on RTX 50 cards.',
+ 'Cloud: personal API keys for the OpenAI compatible endpoint, your own lyrics really get sung, and every model shows its price up front.',
+ 'Long chats stopped eating memory, streaming stays smooth, and generated images survive a restart.',
+ ],
+ details: [
+ {
+ title: 'Local',
+ items: [
+ 'Agent and Code runs no longer stall, loop, or invent results, and Stop always stops.',
+ 'A thinking-only round continues the run instead of ending it.',
+ 'Thinking streams in a small window between the steps, in order, and the plan bar stays out of the chat history.',
+ 'Small local models drive tools properly, including LM Studio and other OpenAI compatible local servers.',
+ 'The agent knows your OS and shell, and opens folders and starts programs on request.',
+ 'The agent context window sizes itself to what your server actually loaded.',
+ 'Group chat: pick 2 to 4 local models, they answer in turn in one conversation, every answer labeled.',
+ 'Edit any model answer in place; the conversation continues from your correction.',
+ 'Wan native video sizes: 480p in both orientations, a portrait or landscape flip, and ratio chips that keep the pixel budget.',
+ 'Native HiRes fix for local image generation.',
+ 'Character training works on RTX 50 cards, and a broken trainer environment says so before the run starts.',
+ 'A ComfyUI that dies at startup shows the real reason instead of reinstalling in a loop.',
+ 'Read aloud plays again; our own security policy had blocked it.',
+ 'The benchmark measures cost and correctness, and answers that were cut off are marked, in the benchmark and in chat.',
+ 'Long chats stopped eating memory, generated images survive a restart, and the remote tab is named AI Terminal.',
+ ],
+ },
+ {
+ title: 'Cloud',
+ items: [
+ 'Personal API keys: mint keys in the account settings on lu-labs.ai and use your plan from Aider or any OpenAI compatible tool.',
+ 'Your own lyrics really get sung, with a how-to next to the lyrics box.',
+ 'Every cloud model shows its price up front in the picker.',
+ 'The credits meter counts video and training budgets truthfully.',
+ ],
+ },
],
},
]
diff --git a/src/stores/__tests__/releaseNotesStore.test.ts b/src/stores/__tests__/releaseNotesStore.test.ts
index 379fed33..9eb370fb 100644
--- a/src/stores/__tests__/releaseNotesStore.test.ts
+++ b/src/stores/__tests__/releaseNotesStore.test.ts
@@ -39,6 +39,28 @@ describe('the notes table', () => {
const versions = RELEASE_NOTES.map((n) => n.version)
expect(new Set(versions).size).toBe(versions.length)
})
+
+ it('2.6.3 carries full details with a Local and a Cloud section', () => {
+ const note = releaseNoteFor('2.6.3')
+ const titles = (note?.details ?? []).map((s) => s.title)
+ expect(titles).toContain('Local')
+ expect(titles).toContain('Cloud')
+ for (const s of note?.details ?? []) {
+ expect(s.items.length, `${s.title}: items`).toBeGreaterThanOrEqual(3)
+ for (const i of s.items) expect(i.trim().length, `${s.title}: empty item`).toBeGreaterThan(0)
+ }
+ })
+
+ it('the modal renders the expander and the sections', () => {
+ // Source guard, same pattern as the settings guards: the sheet must offer
+ // Show all changes and map note.details, or the table above is dead data.
+ const { readFileSync } = require('node:fs')
+ const { resolve } = require('node:path')
+ const src = readFileSync(resolve(__dirname, '../../components/release/ReleaseNotesModal.tsx'), 'utf8')
+ expect(src).toContain('Show all changes')
+ expect(src).toContain('note.details.map')
+ expect(src).toContain('section.items.map')
+ })
})
describe('shouldShowReleaseNotes', () => {