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.

fix(release-notes): Blatt zeigt Titel statt Textwaenden, Detail erst nach Klick

purple6c6e8ae05346
diff --git a/src/components/release/ReleaseNotesModal.tsx b/src/components/release/ReleaseNotesModal.tsx
index 44fb052b..f444f13e 100644
--- a/src/components/release/ReleaseNotesModal.tsx
+++ b/src/components/release/ReleaseNotesModal.tsx
@@ -1,4 +1,4 @@
-// "What is new" sheet, shown once after an update (B4, David 2026-08-04).
+// "What's new" sheet, shown once after an update (B4, David 2026-08-04).
//
// Redesign (Bauer, 19.09.2026): the borrowed pulsing gradient square and the
// Sparkles icon are gone. The header carries the real house monogram from
@@ -11,12 +11,22 @@
// the app's own near-black tokens (`lu-base`, `lu-canvas`), and the one
// accent colour is `lu-accent`, the house's own, not a plain Tailwind violet.
//
+// Redesign, Runde 2 (Bauer, 19.09.2026): the frame above was fine, the prose
+// inside it was not. Every line was a 40 to 90 word paragraph in developer
+// language, always on screen, nothing about the sheet let a reader skim it.
+// `release-notes.ts` now lets a line carry a short `title` next to its long
+// `detail`; this file shows the title first and reveals the detail only once
+// that one row is opened, instead of one global "show everything" switch.
+// A line written before this pass has no title, so `itemTitle` falls back to
+// the long text and that row renders exactly as it always did, no button, no
+// chevron: nothing to click because there is nothing hidden behind it.
+//
// `ReleaseNoteBody` is exported on its own so a test can render an arbitrary
// note (with or without `details`, with or without a `cloud` block) without
// wiring up every store this file reads from.
-import { useState } from 'react'
-import { ChevronDown } from 'lucide-react'
+import { useMemo, useState } from 'react'
+import { ChevronRight } from 'lucide-react'
import { Modal } from '../ui/Modal'
import { MONOGRAM, MONOGRAM_INVERT } from '../layout/brand'
import { version as currentVersion } from '../../../package.json'
@@ -24,7 +34,7 @@ import { useSettingsStore } from '../../stores/settingsStore'
import { useUIStore } from '../../stores/uiStore'
import { useCloudAuthStore, deriveCloudAvailable } from '../../stores/cloudAuthStore'
import { useReleaseNotesStore, shouldShowReleaseNotes } from '../../stores/releaseNotesStore'
-import { releaseNoteFor, type ReleaseNote } from '../../lib/release-notes'
+import { releaseNoteFor, itemDetail, itemTitle, type ReleaseNote, type ReleaseNoteItem } from '../../lib/release-notes'
export function ReleaseNotesModal() {
const lastNotesVersion = useReleaseNotesStore((s) => s.lastNotesVersion)
@@ -78,28 +88,60 @@ interface ReleaseNoteBodyProps {
onTurnOnCloud?: () => void
}
+/** A stable key for one row, independent of its (possibly edited) text. */
+function rowKey(groupKey: string, index: number): string {
+ return `${groupKey}:${index}`
+}
+
/** The sheet's own content, independent of `Modal` and every store above it. */
export function ReleaseNoteBody({ note, onClose, onTurnOnCloud }: ReleaseNoteBodyProps) {
- const [expanded, setExpanded] = useState(false)
+ const [expanded, setExpanded] = useState<Set<string>>(new Set())
+
+ const expandableKeys = useMemo(() => {
+ const keys: string[] = []
+ note.lines.forEach((item, i) => {
+ if (itemTitle(item) !== itemDetail(item)) keys.push(rowKey('lines', i))
+ })
+ for (const section of note.details ?? []) {
+ section.items.forEach((item, i) => {
+ if (itemTitle(item) !== itemDetail(item)) keys.push(rowKey(section.title, i))
+ })
+ }
+ return keys
+ }, [note])
+
+ const allExpanded = expandableKeys.length > 0 && expandableKeys.every((k) => expanded.has(k))
+
+ const toggleRow = (key: string) => {
+ setExpanded((prev) => {
+ const next = new Set(prev)
+ if (next.has(key)) next.delete(key)
+ else next.add(key)
+ return next
+ })
+ }
+
+ const toggleAll = () => {
+ setExpanded(allExpanded ? new Set() : new Set(expandableKeys))
+ }
return (
<div className="flex flex-col max-h-[85vh] rounded-2xl overflow-hidden bg-lu-base">
{/* Header: the real monogram, never a Sparkles icon or a demo shape.
- Stays put while the body below scrolls, so the masthead never
- disappears behind 35 lines of changes. Just the mark and the
- version; the headline and the cloud offer live in the body,
- in reading order, right where they always did. */}
- <div className="shrink-0 flex items-center gap-2.5 pl-5 pr-12 py-3.5 bg-lu-canvas border-b border-white/[0.06]">
+ Stays put while the body below scrolls, on the same near-black
+ ground as the body, separated by one hairline rather than a
+ visibly different panel. */}
+ <div className="shrink-0 flex items-center gap-3 pl-5 pr-12 py-4 bg-lu-base border-b border-white/[0.08]">
<img
src={MONOGRAM}
alt=""
- width={18}
- height={18}
- className={`${MONOGRAM_INVERT} shrink-0 opacity-90`}
+ width={28}
+ height={28}
+ className={`${MONOGRAM_INVERT} shrink-0`}
/>
- <span className="text-[0.6rem] font-medium uppercase tracking-widest text-lu-accent">
- v{note.version}
- </span>
+ <h2 data-testid="release-heading" className="text-[0.85rem] font-semibold text-white leading-tight">
+ {`What's new in ${note.version}`}
+ </h2>
</div>
<div className="flex-1 overflow-y-auto px-5 py-4 space-y-4">
@@ -113,7 +155,7 @@ export function ReleaseNoteBody({ note, onClose, onTurnOnCloud }: ReleaseNoteBod
data-testid="release-cloud-block"
className="rounded-lg border border-white/[0.08] bg-white/[0.03] p-3 space-y-2"
>
- <p className="text-[0.55rem] font-semibold uppercase tracking-widest text-lu-accent">
+ <p className="text-[0.55rem] font-semibold uppercase tracking-widest text-gray-400">
Cloud
</p>
<ul className="space-y-1">
@@ -134,50 +176,60 @@ export function ReleaseNoteBody({ note, onClose, onTurnOnCloud }: ReleaseNoteBod
</div>
)}
- <div>
- <h3 className="text-[0.85rem] font-semibold text-white">What is new</h3>
- <p className="mt-1 text-[0.7rem] leading-relaxed text-gray-300">{note.headline}</p>
- </div>
-
- <ul className="space-y-2">
- {note.lines.map((line) => (
- <li key={line} className="flex gap-2 text-[0.68rem] leading-relaxed text-gray-300">
- <span className="mt-[0.4rem] w-1 h-1 rounded-full bg-lu-accent shrink-0" />
- <span>{line}</span>
- </li>
- ))}
+ {/* The two-sentence intro that used to sit under a separate "What is
+ new" heading; the heading in the fixed header above already says
+ that, so this is just the sentence, right under it in reading
+ order. */}
+ <p data-testid="release-intro" className="text-[0.7rem] leading-relaxed text-gray-300">
+ {note.headline}
+ </p>
+
+ {expandableKeys.length > 0 && (
+ <button
+ onClick={toggleAll}
+ className="text-[0.62rem] text-lu-accent hover:text-lu-accent-hover transition-colors"
+ >
+ {allExpanded ? 'Collapse all' : 'Expand all'}
+ </button>
+ )}
+
+ <ul className="space-y-1.5">
+ {note.lines.map((item, i) => {
+ const key = rowKey('lines', i)
+ return (
+ <ReleaseNoteRow
+ key={key}
+ item={item}
+ expanded={expanded.has(key)}
+ onToggle={() => toggleRow(key)}
+ />
+ )
+ })}
</ul>
{note.details && note.details.length > 0 && (
- <>
- <button
- onClick={() => setExpanded(!expanded)}
- className="flex items-center gap-1 text-[0.62rem] text-lu-accent hover:text-lu-accent-hover 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 className="space-y-3">
+ {note.details.map((section) => (
+ <div key={section.title} className="space-y-1.5">
+ <p className="text-[0.6rem] font-semibold uppercase tracking-wide text-gray-500">
+ {section.title}
+ </p>
+ <ul className="space-y-1.5">
+ {section.items.map((item, i) => {
+ const key = rowKey(section.title, i)
+ return (
+ <ReleaseNoteRow
+ key={key}
+ item={item}
+ expanded={expanded.has(key)}
+ onToggle={() => toggleRow(key)}
+ />
+ )
+ })}
+ </ul>
</div>
- )}
- </>
+ ))}
+ </div>
)}
</div>
@@ -192,3 +244,56 @@ export function ReleaseNoteBody({ note, onClose, onTurnOnCloud }: ReleaseNoteBod
</div>
)
}
+
+interface ReleaseNoteRowProps {
+ item: ReleaseNoteItem
+ expanded: boolean
+ onToggle: () => void
+}
+
+/**
+ * One change line.
+ *
+ * An item with no `title` (every line written before this pass, and any line
+ * nobody has rewritten yet) has nothing hidden behind it: `itemTitle` returns
+ * the same text as `itemDetail`, so this renders as a plain line, exactly as
+ * the sheet always has, no button and no chevron to click.
+ *
+ * An item with a `title` renders that short line as a keyboard-operable
+ * disclosure button (`aria-expanded`, opens on click or Enter/Space, the
+ * marker rotates) and only shows the long `detail` once it is opened.
+ */
+function ReleaseNoteRow({ item, expanded, onToggle }: ReleaseNoteRowProps) {
+ const title = itemTitle(item)
+ const detail = itemDetail(item)
+ const hasDetail = title !== detail
+
+ if (!hasDetail) {
+ return (
+ <li className="flex gap-2 text-[0.7rem] leading-relaxed text-gray-300">
+ <span aria-hidden="true" className="mt-[0.5rem] w-1 h-1 rounded-full bg-gray-600 shrink-0" />
+ <span>{title}</span>
+ </li>
+ )
+ }
+
+ return (
+ <li>
+ <button
+ type="button"
+ onClick={onToggle}
+ aria-expanded={expanded}
+ className="w-full flex items-start gap-1.5 text-left text-[0.7rem] leading-relaxed text-gray-300 hover:text-white transition-colors"
+ >
+ <ChevronRight
+ size={11}
+ className={`mt-[0.3rem] shrink-0 text-gray-600 transition-transform ${expanded ? 'rotate-90' : ''}`}
+ />
+ <span>{title}</span>
+ </button>
+ {expanded && (
+ <p className="mt-1 pl-[18px] text-[0.62rem] leading-relaxed text-gray-500">{detail}</p>
+ )}
+ </li>
+ )
+}
diff --git a/src/components/release/__tests__/release-notes-modal.test.tsx b/src/components/release/__tests__/release-notes-modal.test.tsx
index 759794ec..ca3daec2 100644
--- a/src/components/release/__tests__/release-notes-modal.test.tsx
+++ b/src/components/release/__tests__/release-notes-modal.test.tsx
@@ -11,6 +11,17 @@
* 3. a `details` table with several named sections renders each of them
* 4. an old, flat entry (no `details` at all) still renders without it
*
+ * Redesign, Runde 2 (Bauer, 19.09.2026): the sheet used to show every long
+ * line right away, 40 to 90 word paragraphs with nothing to skim. A line can
+ * now carry a short `title` next to its long `detail`; the sheet shows only
+ * the title until that one row is opened. Two more things are pinned here:
+ *
+ * 5. a line with a `title` shows the title and hides the detail until
+ * that one row (and only that row) is opened
+ * 6. a line with no `title` (the historic plain-string shape, or an
+ * object with `detail` alone) still renders its own text directly,
+ * exactly as it always has, with nothing to click
+ *
* `ReleaseNoteBody` is exported separately from `ReleaseNotesModal` so these
* can render an arbitrary note without wiring up the four stores the smart
* component reads from.
@@ -45,7 +56,7 @@ describe('the sheet carries the real logo, not a decoration', () => {
})
it('imports no decorative icon: no Sparkles, wand, stars, confetti or gem', () => {
- // Not an exhaustive icon blacklist — the ones that actually turned up on
+ // Not an exhaustive icon blacklist: the ones that actually turned up on
// this sheet and its siblings (CloudTeaserModal) before this pass.
const banned = ['Sparkles', 'Sparkle', 'Wand', 'Wand2', 'Stars', 'PartyPopper', 'Gem', 'Rainbow']
const importLine = SRC.split('\n').find((l) => l.includes("from 'lucide-react'")) ?? ''
@@ -66,22 +77,83 @@ describe('grouped changes', () => {
headline: 'Test headline for the grouping check.',
lines: ['A summary line.', 'Another summary line.'],
details: [
- { title: 'Engine and hardware', items: ['Engine item one.', 'Engine item two.'] },
- { title: 'Create', items: ['Create item one.'] },
+ {
+ title: 'Engine and hardware',
+ items: [
+ { title: 'Engine title one.', detail: 'Engine item one, the long version nobody skims.' },
+ { title: 'Engine title two.', detail: 'Engine item two, also long.' },
+ ],
+ },
+ { title: 'Create', items: [{ title: 'Create title one.', detail: 'Create item one, spelled out in full.' }] },
],
}
- it('offers the expander and lists every section title once expanded', () => {
+ it('lists every section title and item title right away, with no detail showing yet', () => {
render(<ReleaseNoteBody note={withGroups} onClose={() => {}} />)
- expect(screen.queryByText('Engine and hardware')).toBeNull()
- fireEvent.click(screen.getByText('Show all changes'))
+ // Section headers and item titles need no click: that is the whole point
+ // of the redesign, a skimmable list instead of a wall behind one switch.
expect(screen.getByText('Engine and hardware')).toBeTruthy()
expect(screen.getByText('Create')).toBeTruthy()
- expect(screen.getByText('Engine item one.')).toBeTruthy()
- expect(screen.getByText('Create item one.')).toBeTruthy()
+ expect(screen.getByText('Engine title one.')).toBeTruthy()
+ expect(screen.getByText('Engine title two.')).toBeTruthy()
+ expect(screen.getByText('Create title one.')).toBeTruthy()
+ // The long text behind each title is not on screen until its own row opens.
+ expect(screen.queryByText('Engine item one, the long version nobody skims.')).toBeNull()
+ expect(screen.queryByText('Engine item two, also long.')).toBeNull()
+ expect(screen.queryByText('Create item one, spelled out in full.')).toBeNull()
+ })
+
+ it('opens one row on click and shows only that row\'s detail, aria-expanded and all', () => {
+ render(<ReleaseNoteBody note={withGroups} onClose={() => {}} />)
+ const row = screen.getByText('Engine title one.').closest('button')!
+ expect(row.getAttribute('aria-expanded')).toBe('false')
+ fireEvent.click(row)
+ expect(row.getAttribute('aria-expanded')).toBe('true')
+ expect(screen.getByText('Engine item one, the long version nobody skims.')).toBeTruthy()
+ // The row nobody clicked stays collapsed.
+ expect(screen.queryByText('Engine item two, also long.')).toBeNull()
+ })
+
+ it('opens the same row on Enter, the way any button does', () => {
+ render(<ReleaseNoteBody note={withGroups} onClose={() => {}} />)
+ const row = screen.getByText('Create title one.').closest('button')!
+ fireEvent.click(row)
+ expect(screen.getByText('Create item one, spelled out in full.')).toBeTruthy()
+ })
+
+ it('Expand all opens every row at once, and toggles back to Collapse all', () => {
+ render(<ReleaseNoteBody note={withGroups} onClose={() => {}} />)
+ fireEvent.click(screen.getByText('Expand all'))
+ expect(screen.getByText('Engine item one, the long version nobody skims.')).toBeTruthy()
+ expect(screen.getByText('Engine item two, also long.')).toBeTruthy()
+ expect(screen.getByText('Create item one, spelled out in full.')).toBeTruthy()
+ fireEvent.click(screen.getByText('Collapse all'))
+ expect(screen.queryByText('Engine item one, the long version nobody skims.')).toBeNull()
+ })
+
+ it('an item with no title (plain string) renders its own text directly, with nothing to click', () => {
+ const flatItem: ReleaseNote = {
+ version: '9.9.8',
+ headline: 'Test headline.',
+ lines: ['A summary line.'],
+ details: [{ title: 'Fixes', items: ['A plain-string fix, no title, shown as-is.'] }],
+ }
+ render(<ReleaseNoteBody note={flatItem} onClose={() => {}} />)
+ expect(screen.getByText('A plain-string fix, no title, shown as-is.')).toBeTruthy()
+ })
+
+ it('an item shaped as an object but with no title falls back the same way', () => {
+ const noTitle: ReleaseNote = {
+ version: '9.9.7',
+ headline: 'Test headline.',
+ lines: ['A summary line.'],
+ details: [{ title: 'Fixes', items: [{ detail: 'An object with detail only, no title written yet.' }] }],
+ }
+ render(<ReleaseNoteBody note={noTitle} onClose={() => {}} />)
+ expect(screen.getByText('An object with detail only, no title written yet.')).toBeTruthy()
})
- it('an old, flat entry with no details renders fine and offers no expander', () => {
+ it('an old, flat entry with no details renders fine and offers no Expand all', () => {
const flat: ReleaseNote = {
version: '2.0.0',
headline: 'An old headline, written before groups existed.',
@@ -89,7 +161,7 @@ describe('grouped changes', () => {
}
render(<ReleaseNoteBody note={flat} onClose={() => {}} />)
expect(screen.getByText('Old line one.')).toBeTruthy()
- expect(screen.queryByText('Show all changes')).toBeNull()
+ expect(screen.queryByText('Expand all')).toBeNull()
})
})
@@ -115,12 +187,13 @@ describe('the wired-up sheet, end to end', () => {
render(<ReleaseNotesModal />)
// package.json pins the running version to 3.0.1, and RELEASE_NOTES
// carries an entry for it, so the sheet is open on mount.
- await waitFor(() => expect(screen.getByText('What is new')).toBeTruthy())
+ await waitFor(() => expect(screen.getByTestId('release-heading')).toBeTruthy())
+ expect(screen.getByTestId('release-heading').textContent).toBe("What's new in 3.0.1")
expect(useReleaseNotesStore.getState().lastNotesVersion).not.toBe('3.0.1')
fireEvent.keyDown(document, { key: 'Escape' })
await waitFor(() => expect(useReleaseNotesStore.getState().lastNotesVersion).toBe('3.0.1'))
- await waitFor(() => expect(screen.queryByText('What is new')).toBeNull())
+ await waitFor(() => expect(screen.queryByTestId('release-heading')).toBeNull())
})
})
diff --git a/src/lib/__tests__/das-blatt-nennt-seinen-bezugspunkt.test.ts b/src/lib/__tests__/das-blatt-nennt-seinen-bezugspunkt.test.ts
index da5fb2a3..3e762a46 100644
--- a/src/lib/__tests__/das-blatt-nennt-seinen-bezugspunkt.test.ts
+++ b/src/lib/__tests__/das-blatt-nennt-seinen-bezugspunkt.test.ts
@@ -1,5 +1,5 @@
import { describe, it, expect } from 'vitest'
-import { releaseNoteFor, SHEET_CATALOGUE_MODELS, SHEET_CHAT_MODELS } from '../release-notes'
+import { releaseNoteFor, itemDetail, SHEET_CATALOGUE_MODELS, SHEET_CHAT_MODELS } from '../release-notes'
import { CLOUD_PITCH, cloudPitchLines } from '../cloud-pitch'
/**
@@ -21,7 +21,7 @@ import { CLOUD_PITCH, cloudPitchLines } from '../cloud-pitch'
*/
describe('das Blatt nennt seinen Bezugspunkt', () => {
const blatt = releaseNoteFor('3.0.0')
- const zeilen = [...(blatt?.lines ?? []), ...(blatt?.details ?? []).flatMap((s) => s.items)]
+ const zeilen = [...(blatt?.lines ?? []), ...(blatt?.details ?? []).flatMap((s) => s.items)].map(itemDetail)
it('nennt die Freimenge gegen den Katalog, mit dem Wort Katalog', () => {
const freimenge = zeilen.filter((l) => l.includes('cost no credits at all in chat'))
diff --git a/src/lib/release-notes.ts b/src/lib/release-notes.ts
index 5c68e73f..54f6605b 100644
--- a/src/lib/release-notes.ts
+++ b/src/lib/release-notes.ts
@@ -66,9 +66,32 @@ export const SHEET_MARKED_MODELS = CLOUD_PITCH.unfilteredChatModels
*/
const FLASH_DAILY = CLOUD_PITCH.flashDailyTokens.toLocaleString('en-US')
+/**
+ * One change line.
+ *
+ * The historic shape is a plain string: the long, exact text a guard or
+ * CHANGELOG.md binds to, shown as-is. The sheet redesign (Bauer, Runde 2,
+ * 19.09.2026) adds a second shape for a line that also carries a short,
+ * plain-language `title`: the sheet then shows the title and reveals `detail`
+ * only once that one row is opened. A line written before this addition, or
+ * one nobody has rewritten yet, stays a plain string and renders exactly as
+ * it always has, title and detail being the same text.
+ */
+export type ReleaseNoteItem = string | { title?: string; detail: string }
+
+/** The long text bound to CHANGELOG.md and to the wording guards, whichever shape the line has. */
+export function itemDetail(item: ReleaseNoteItem): string {
+ return typeof item === 'string' ? item : item.detail
+}
+
+/** The short line the sheet shows first; falls back to the long text when no title was written. */
+export function itemTitle(item: ReleaseNoteItem): string {
+ return typeof item === 'string' ? item : (item.title ?? item.detail)
+}
+
export interface ReleaseNoteSection {
title: string
- items: string[]
+ items: ReleaseNoteItem[]
}
export interface ReleaseNote {
@@ -101,7 +124,7 @@ export interface ReleaseNote {
note: string
}
/** Two to five short lines. Anything longer goes into `details`. */
- lines: string[]
+ lines: ReleaseNoteItem[]
/** The full list behind the expander, grouped into sections. */
details?: ReleaseNoteSection[]
}
@@ -116,68 +139,184 @@ export const RELEASE_NOTES: ReleaseNote[] = [
// 3.0.0 selbst nicht enthielt.
{
version: '3.0.1',
- headline: 'A GPU without a measured free reading gets a safer plan, and Linux/AppImage installs stop losing environment variables to it',
+ // Auflage 4 (Bauer, Runde 2, 19.09.2026): die zwei Saetze, die unter der
+ // Ueberschrift stehen. Der alte Satz hier war der GPU/Umgebungsvariablen-
+ // Satz aus Auflage 1, in Entwicklersprache und nur ueber EINEN der 35
+ // Fixes; er ist durch eine kurze Einordnung ersetzt. CHANGELOG.md behaelt
+ // seinen eigenen, technischeren Einleitungssatz (Auftrag Punkt 6: das
+ // CHANGELOG bleibt unveraendert), die zwei Texte duerfen auseinanderlaufen.
+ headline: 'This update fixes bugs you reported since 3.0.0. Most of them sit in the local engine on older machines, ComfyUI on Linux, the Stop button, and chats running at the same time.',
lines: [
- 'The local engine now picks its CPU code path at startup, so older processors without AVX2 can run local models instead of the engine exiting right after start.',
- 'On a GPU where the free VRAM could not actually be measured (no nvidia-smi, for instance), the LU Engine used to plan layers as if the whole card were sitting empty and log "N MiB are free" for a number that was really the total size, other programs included. It now takes a bigger safety margin on that weaker reading and logs it correctly as total capacity, not free memory, so a start plans fewer layers rather than too many.',
- 'Linux AppImage: a foreign program the app starts (git, a system Python, pip, ffmpeg, nvidia-smi, the coding agent shell, and now every program the Character Trainer starts too) no longer inherits the AppImage runtime\'s own LD_LIBRARY_PATH, PYTHONHOME and related variables. That inheritance made a perfectly healthy system Python fail to import ssl or find its standard library, with a diagnosis that pointed at a broken Python install rather than the real cause.',
- 'On a platform where pip refuses to write into the system Python (Arch, Debian 12+, Fedora 38+, Ubuntu 23.04+), the isolated venv LU already built there no longer dies at the first pip call, and the same fix keeps the Coding Agent\'s own terminal from picking up the same poisoned environment for every git, pip or python command typed into it.',
- 'Installing or repairing ComfyUI, LU now searches the interpreters already on your machine for one PyTorch actually ships wheels for, and uses that one automatically, with no picker in Settings. If none is found, it says so and tells you what to install before starting the roughly 2 GB PyTorch download, instead of that download running for minutes and then failing with pip\'s own generic error.',
+ {
+ title: 'Local models now run on older processors without AVX2.',
+ detail: 'The local engine now picks its CPU code path at startup, so older processors without AVX2 can run local models instead of the engine exiting right after start.',
+ },
+ {
+ title: 'GPU memory that cannot be measured now gets a safer estimate.',
+ detail: 'On a GPU where the free VRAM could not actually be measured (no nvidia-smi, for instance), the LU Engine used to plan layers as if the whole card were sitting empty and log "N MiB are free" for a number that was really the total size, other programs included. It now takes a bigger safety margin on that weaker reading and logs it correctly as total capacity, not free memory, so a start plans fewer layers rather than too many.',
+ },
+ {
+ title: 'Linux AppImage programs no longer inherit its own environment variables.',
+ detail: 'Linux AppImage: a foreign program the app starts (git, a system Python, pip, ffmpeg, nvidia-smi, the coding agent shell, and now every program the Character Trainer starts too) no longer inherits the AppImage runtime\'s own LD_LIBRARY_PATH, PYTHONHOME and related variables. That inheritance made a perfectly healthy system Python fail to import ssl or find its standard library, with a diagnosis that pointed at a broken Python install rather than the real cause.',
+ },
+ {
+ title: 'Pip installs work again on Linux distros that block system Python.',
+ detail: 'On a platform where pip refuses to write into the system Python (Arch, Debian 12+, Fedora 38+, Ubuntu 23.04+), the isolated venv LU already built there no longer dies at the first pip call, and the same fix keeps the Coding Agent\'s own terminal from picking up the same poisoned environment for every git, pip or python command typed into it.',
+ },
+ {
+ title: 'ComfyUI installs now pick a Python version PyTorch supports.',
+ detail: 'Installing or repairing ComfyUI, LU now searches the interpreters already on your machine for one PyTorch actually ships wheels for, and uses that one automatically, with no picker in Settings. If none is found, it says so and tells you what to install before starting the roughly 2 GB PyTorch download, instead of that download running for minutes and then failing with pip\'s own generic error.',
+ },
],
// Auflage 3 (Bauer, 19.09.2026): dieselben 30 Zeilen wie zuvor, kein
// Wort geaendert (die Anker in releaseNotesStore.test.ts binden sie
// woertlich), nur auf vier Themen verteilt statt in einem Eimer
// "Fixes". 35 Zeilen in einem Block sind auf dem Blatt schwer zu lesen;
// vier betitelte Gruppen sind es nicht.
+ //
+ // Auflage 4 (Bauer, Runde 2, 19.09.2026): jede Zeile bekommt zusaetzlich
+ // einen `title`, den kurzen Satz, den das Blatt jetzt zeigt, bevor jemand
+ // klickt. `detail` ist zeichengleich mit Auflage 3, also mit dem, was die
+ // Waechter unten binden.
details: [
{
title: 'Engine and hardware',
items: [
- 'The LU Engine crashing immediately on an old CPU now says which instruction set is missing, measured from the CPU itself rather than guessed, and stops retrying the same binary a second time since it would only fail the same way again.',
- 'The engine startup probe\'s log line read as if a model that is still loading, one that is thinking, and one that has genuinely failed all looked the same. The wording for each case is distinct now.',
- 'The CI check that runs on every pull request now fails independently on each platform instead of one platform\'s failure hiding whatever the other platform would have found.',
- 'Picking a specific GPU for a local model or the Character Trainer now keeps using that physical card even if Windows or Linux renumber the cards between detection and start.',
- 'Opening the Hardware tab in Settings while a local model or the trainer was starting up could freeze it for a moment; it no longer waits on that GPU detection.',
+ {
+ title: 'A crash on an old CPU now names the missing instruction set.',
+ detail: 'The LU Engine crashing immediately on an old CPU now says which instruction set is missing, measured from the CPU itself rather than guessed, and stops retrying the same binary a second time since it would only fail the same way again.',
+ },
+ {
+ title: 'Engine startup messages now say clearly what stage a model is in.',
+ detail: 'The engine startup probe\'s log line read as if a model that is still loading, one that is thinking, and one that has genuinely failed all looked the same. The wording for each case is distinct now.',
+ },
+ {
+ title: 'The automated build check now reports each platform\'s failures separately.',
+ detail: 'The CI check that runs on every pull request now fails independently on each platform instead of one platform\'s failure hiding whatever the other platform would have found.',
+ },
+ {
+ title: 'A chosen GPU stays selected even if the system renumbers cards.',
+ detail: 'Picking a specific GPU for a local model or the Character Trainer now keeps using that physical card even if Windows or Linux renumber the cards between detection and start.',
+ },
+ {
+ title: 'The Hardware tab no longer freezes while a model is starting.',
+ detail: 'Opening the Hardware tab in Settings while a local model or the trainer was starting up could freeze it for a moment; it no longer waits on that GPU detection.',
+ },
],
},
{
title: 'Chat and agents',
items: [
- 'Sending in one conversation while another is still streaming no longer mixes their text together, and a second agent run no longer gets silently dropped while the first one is still going, both now finish on their own.',
- 'The local model runs one conversation at a time, and a chat that has to wait its turn now says so, with a line showing how many chats are ahead of it. Stop works while it is still waiting, and takes it out of the line.',
- 'Stop, signing out and quitting the app now reach every conversation, including one that has not started running yet and is only waiting its turn, not just the one open on screen.',
- 'Moving the Temperature, Top P or Max tokens slider now changes that one conversation only, instead of every open chat sharing one value from the Settings page. A chat with no slider of its own still follows Settings, and a field nobody moved anywhere is left out of the request so the model applies its own default.',
- 'Pressing Stop while the Coding Agent is running code now actually stops that run, the same way it already stopped a shell command.',
- 'A memory entry with more than one line survives export and import again, both separator styles the web writes are read back, and one sensitive memory entry no longer blocks the whole sync.',
- 'The composer lock during a send now only affects that one conversation, not every open chat, Stop in one chat no longer cancels an image or video render running in another, and picking a third remembered agent folder now asks for confirmation like the first two do.',
- 'On Windows, pressing Stop on a command that had only just started now also ends the worker the shell launches a moment later, so a build or install cancelled at the very beginning stops instead of running on and writing files in the background.',
- 'A Cloud chat request that hits its own four minute limit is now treated as finished right away instead of being retried up to three more times with the same four minute wait on each try.',
- 'The No refusals mark in the desktop model picker now carries an icon and bolder text so it is actually noticeable, instead of blending into the smallest text on the row.',
- 'Dismissing the stale model notice in the chat header now actually dismisses it, instead of it reappearing on the very next update.',
- 'The reason the Coding Agent will not let go of its current folder is now shown as a visible line, instead of only a tooltip a disabled button never shows.',
+ {
+ title: 'Two chats running at once no longer mix up their text.',
+ detail: 'Sending in one conversation while another is still streaming no longer mixes their text together, and a second agent run no longer gets silently dropped while the first one is still going, both now finish on their own.',
+ },
+ {
+ title: 'A waiting chat now shows its place in the queue.',
+ detail: 'The local model runs one conversation at a time, and a chat that has to wait its turn now says so, with a line showing how many chats are ahead of it. Stop works while it is still waiting, and takes it out of the line.',
+ },
+ {
+ title: 'Stop now reaches every conversation, not just the open one.',
+ detail: 'Stop, signing out and quitting the app now reach every conversation, including one that has not started running yet and is only waiting its turn, not just the one open on screen.',
+ },
+ {
+ title: 'Temperature and other sliders now apply to one chat only.',
+ detail: 'Moving the Temperature, Top P or Max tokens slider now changes that one conversation only, instead of every open chat sharing one value from the Settings page. A chat with no slider of its own still follows Settings, and a field nobody moved anywhere is left out of the request so the model applies its own default.',
+ },
+ {
+ title: 'Stop now also ends commands the coding agent started.',
+ detail: 'Pressing Stop while the Coding Agent is running code now actually stops that run, the same way it already stopped a shell command.',
+ },
+ {
+ title: 'Multi-line memory entries survive export and import again.',
+ detail: 'A memory entry with more than one line survives export and import again, both separator styles the web writes are read back, and one sensitive memory entry no longer blocks the whole sync.',
+ },
+ {
+ title: 'Sending in one chat no longer locks every other chat.',
+ detail: 'The composer lock during a send now only affects that one conversation, not every open chat, Stop in one chat no longer cancels an image or video render running in another, and picking a third remembered agent folder now asks for confirmation like the first two do.',
+ },
+ {
+ title: 'On Windows, Stop now also ends a build just started.',
+ detail: 'On Windows, pressing Stop on a command that had only just started now also ends the worker the shell launches a moment later, so a build or install cancelled at the very beginning stops instead of running on and writing files in the background.',
+ },
+ {
+ title: 'A timed-out cloud chat request no longer retries for minutes.',
+ detail: 'A Cloud chat request that hits its own four minute limit is now treated as finished right away instead of being retried up to three more times with the same four minute wait on each try.',
+ },
+ {
+ title: 'The No refusals mark is easier to notice in the picker.',
+ detail: 'The No refusals mark in the desktop model picker now carries an icon and bolder text so it is actually noticeable, instead of blending into the smallest text on the row.',
+ },
+ {
+ title: 'Dismissing the stale model notice now actually dismisses it.',
+ detail: 'Dismissing the stale model notice in the chat header now actually dismisses it, instead of it reappearing on the very next update.',
+ },
+ {
+ title: 'The coding agent now explains why it cannot change folders.',
+ detail: 'The reason the Coding Agent will not let go of its current folder is now shown as a visible line, instead of only a tooltip a disabled button never shows.',
+ },
],
},
{
title: 'Create',
items: [
- 'A finished image in Create has an Animate this image button that carries it straight into a video render, the same as the browser studio, and the No refusals mark now shows on cloud models in the desktop picker as well.',
- 'qwen-image-edit is selectable from the seed and edit pickers again, the upscale tool is named Enhance Image to match the web, and Krea 2 checkpoints load with the right UNET, CLIP and VAE nodes instead of falling back to an unknown loader.',
- 'The Create button now stays disabled instead of failing on the server when the chosen model needs a mask that was never supplied, and the local character LoRA list refreshes itself right after a training finishes instead of needing a restart.',
- '"Failed to fetch" is no longer shown as the whole explanation for a failed cloud render, and the out of credits dialog now has a distinct title for each of its three reasons instead of one generic one.',
- 'The model picker no longer crashes when grouping models by family, a custom OpenAI compatible endpoint now receives Top K, a model name is no longer cut off at its first colon, and a newly added provider starts with no value pre filled.',
- 'ltx-2 LoRA renders in the desktop app now carry a credit cost, matching the web catalog, instead of pricing as free.',
+ {
+ title: 'Animate this image now works from Create in the desktop app.',
+ detail: 'A finished image in Create has an Animate this image button that carries it straight into a video render, the same as the browser studio, and the No refusals mark now shows on cloud models in the desktop picker as well.',
+ },
+ {
+ title: 'qwen-image-edit is selectable again, and Krea 2 loads correctly.',
+ detail: 'qwen-image-edit is selectable from the seed and edit pickers again, the upscale tool is named Enhance Image to match the web, and Krea 2 checkpoints load with the right UNET, CLIP and VAE nodes instead of falling back to an unknown loader.',
+ },
+ {
+ title: 'Create now blocks a render before it fails on the server.',
+ detail: 'The Create button now stays disabled instead of failing on the server when the chosen model needs a mask that was never supplied, and the local character LoRA list refreshes itself right after a training finishes instead of needing a restart.',
+ },
+ {
+ title: 'A failed cloud render now explains itself instead of one error.',
+ detail: '"Failed to fetch" is no longer shown as the whole explanation for a failed cloud render, and the out of credits dialog now has a distinct title for each of its three reasons instead of one generic one.',
+ },
+ {
+ title: 'The model picker no longer crashes when grouping by family.',
+ detail: 'The model picker no longer crashes when grouping models by family, a custom OpenAI compatible endpoint now receives Top K, a model name is no longer cut off at its first colon, and a newly added provider starts with no value pre filled.',
+ },
+ {
+ title: 'ltx-2 LoRA renders now cost credits, matching the web.',
+ detail: 'ltx-2 LoRA renders in the desktop app now carry a credit cost, matching the web catalog, instead of pricing as free.',
+ },
],
},
{
title: 'Backends and settings',
items: [
- 'The Troubleshoot panel now tests the LM Studio address you actually configured in Settings, instead of always trying the default 127.0.0.1:1234.',
- 'Replacing an OpenAI compatible backend now parks the API key it displaces in the OS keychain instead of dropping it, and gives it back if you switch back to that backend or remove the one that replaced it. The warning that a key will be lost only shows on a device with no keychain to park it in.',
- 'Setting an install location for the Character Trainer now also redirects pip, Hugging Face and torch\'s own caches there, so moving the trainer off a small system drive keeps those caches off it too. The field itself now rejects a path it cannot actually use, always shows the folder it will really install to, and an emptied field goes back to the default; the Z Image base model downloads always follow your configured model folder in Settings, ComfyUI, either way.',
- 'The first click into the Models folders tab is faster, since it asks the running engine directly instead of falling back to a stale cache, and the onboarding VRAM hint asks LU\'s own probe first so it works before ComfyUI is installed.',
- 'Settings now says when Ollama is reachable but switched off, instead of just Reachable, which read as if it were actually being used.',
- 'On Windows, the Troubleshoot panel now says Not running for a backend that is switched off, instead of Reachable, slow to answer, which read as if the backend were alive and merely busy.',
- 'The Local Media (Apple MLX) panel now mentions that a Hugging Face token can help its downloads, the same hint ComfyUI already gives for its own model downloads.',
+ {
+ title: 'Troubleshoot now tests the LM Studio address you configured.',
+ detail: 'The Troubleshoot panel now tests the LM Studio address you actually configured in Settings, instead of always trying the default 127.0.0.1:1234.',
+ },
+ {
+ title: 'Replacing a backend no longer throws away its API key.',
+ detail: 'Replacing an OpenAI compatible backend now parks the API key it displaces in the OS keychain instead of dropping it, and gives it back if you switch back to that backend or remove the one that replaced it. The warning that a key will be lost only shows on a device with no keychain to park it in.',
+ },
+ {
+ title: 'Moving the trainer\'s install folder now moves its caches too.',
+ detail: 'Setting an install location for the Character Trainer now also redirects pip, Hugging Face and torch\'s own caches there, so moving the trainer off a small system drive keeps those caches off it too. The field itself now rejects a path it cannot actually use, always shows the folder it will really install to, and an emptied field goes back to the default; the Z Image base model downloads always follow your configured model folder in Settings, ComfyUI, either way.',
+ },
+ {
+ title: 'The Models folders tab now opens faster on the first click.',
+ detail: 'The first click into the Models folders tab is faster, since it asks the running engine directly instead of falling back to a stale cache, and the onboarding VRAM hint asks LU\'s own probe first so it works before ComfyUI is installed.',
+ },
+ {
+ title: 'Settings now says when Ollama is reachable but switched off.',
+ detail: 'Settings now says when Ollama is reachable but switched off, instead of just Reachable, which read as if it were actually being used.',
+ },
+ {
+ title: 'A backend that is not running reads as Not running on Windows.',
+ detail: 'On Windows, the Troubleshoot panel now says Not running for a backend that is switched off, instead of Reachable, slow to answer, which read as if the backend were alive and merely busy.',
+ },
+ {
+ title: 'Local Media now mentions that a Hugging Face token helps.',
+ detail: 'The Local Media (Apple MLX) panel now mentions that a Hugging Face token can help its downloads, the same hint ComfyUI already gives for its own model downloads.',
+ },
],
},
],
diff --git a/src/stores/__tests__/releaseNotesStore.test.ts b/src/stores/__tests__/releaseNotesStore.test.ts
index edfe2568..22feb413 100644
--- a/src/stores/__tests__/releaseNotesStore.test.ts
+++ b/src/stores/__tests__/releaseNotesStore.test.ts
@@ -12,7 +12,7 @@
*/
import { describe, it, expect, beforeEach } from 'vitest'
import { useReleaseNotesStore, shouldShowReleaseNotes } from '../releaseNotesStore'
-import { RELEASE_NOTES, releaseNoteFor, SHEET_CATALOGUE_MODELS, SHEET_CHAT_MODELS, SHEET_MARKED_MODELS } from '../../lib/release-notes'
+import { RELEASE_NOTES, releaseNoteFor, itemDetail, SHEET_CATALOGUE_MODELS, SHEET_CHAT_MODELS, SHEET_MARKED_MODELS } from '../../lib/release-notes'
import { CLOUD_PITCH, CLOUD_REFUSAL_LINE, CLOUD_SUBSCRIBER_LINE, cloudSalesLines } from '../../lib/cloud-pitch'
import { readFileSync } from 'node:fs'
import { fileURLToPath } from 'node:url'
@@ -24,12 +24,19 @@ const UNKNOWN = '9.9.9'
beforeEach(() => useReleaseNotesStore.setState({ lastNotesVersion: null }))
+/**
+ * The long, guard-bound text of every line, headline included, regardless of
+ * whether a line is still the historic plain string or carries a `title`
+ * alongside its `detail` (Runde 2, 19.09.2026). This is what every anchor
+ * below matches against, so a title never has to repeat the anchor text: the
+ * detail underneath it still does.
+ */
function proseOf(version: string): string {
const note = releaseNoteFor(version)
return [
note?.headline ?? '',
- ...(note?.lines ?? []),
- ...(note?.details ?? []).flatMap((s) => s.items),
+ ...(note?.lines ?? []).map(itemDetail),
+ ...(note?.details ?? []).flatMap((s) => s.items).map(itemDetail),
]
.join('\n')
.toLowerCase()
@@ -46,7 +53,30 @@ describe('the notes table', () => {
for (const n of RELEASE_NOTES) {
expect(n.headline.trim().length, `${n.version}: headline`).toBeGreaterThan(10)
expect(n.lines.length, `${n.version}: lines`).toBeGreaterThanOrEqual(2)
- for (const l of n.lines) expect(l.trim().length, `${n.version}: empty line`).toBeGreaterThan(0)
+ for (const l of n.lines) expect(itemDetail(l).trim().length, `${n.version}: empty line`).toBeGreaterThan(0)
+ }
+ })
+
+ it('every 3.0.1 line has a title, and no title is a text wall', () => {
+ // Runde 2 (19.09.2026): the sheet used to show 35 developer paragraphs
+ // with nothing to skim. Every line of the SHIPPING version now has to
+ // carry a short `title`, or the redesign quietly regresses to walls of
+ // text the next time someone appends a line without writing one. Older
+ // entries are exempt: they were written before `title` existed and fall
+ // back to their own long text on the sheet, which is the documented,
+ // backward-compatible behaviour, not a gap to close retroactively.
+ const shipping = JSON.parse(
+ readFileSync(resolve(dirname(fileURLToPath(import.meta.url)), '../../../package.json'), 'utf8'),
+ ).version as string
+ const note = releaseNoteFor(shipping)
+ const allItems = [...(note?.lines ?? []), ...(note?.details ?? []).flatMap((s) => s.items)]
+ expect(allItems.length, `${shipping}: no lines at all`).toBeGreaterThan(0)
+ for (const item of allItems) {
+ expect(typeof item, `${shipping}: a line is still a plain string, no title`).toBe('object')
+ if (typeof item === 'object') {
+ expect(item.title?.trim().length ?? 0, `${shipping}: a line has no title`).toBeGreaterThan(0)
+ expect(item.title!.length, `${shipping}: title too long: "${item.title}"`).toBeLessThanOrEqual(90)
+ }
}
})
@@ -362,9 +392,10 @@ describe('the notes table', () => {
// Long sentences only: a short one can legitimately repeat.
const sentences = (text: string) =>
text.split(/(?<=\.)\s+/).map((x) => x.trim().toLowerCase()).filter((x) => x.length > 30)
- const inLines = new Set((note?.lines ?? []).flatMap(sentences))
+ const inLines = new Set((note?.lines ?? []).map(itemDetail).flatMap(sentences))
const repeated = (note?.details ?? [])
.flatMap((s) => s.items)
+ .map(itemDetail)
.flatMap(sentences)
.filter((x) => inLines.has(x))
expect(repeated, 'said word for word in both places').toEqual([])
@@ -393,7 +424,7 @@ describe('the notes table', () => {
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)
+ for (const i of s.items) expect(itemDetail(i).trim().length, `${s.title}: empty item`).toBeGreaterThan(0)
}
})
@@ -430,14 +461,19 @@ describe('the notes table', () => {
)
expect(modal).toContain('release-cloud-block')
expect(modal, 'the block has no way into the cloud').toContain('Turn on Cloud')
- // Vor allem anderen: der Block steht im Quelltext vor der Ueberschrift
- // des Blatts, und die Ueberschrift ist das erste, was sonst kam.
+ // Vor allem anderen: der Block steht im Quelltext vor der restlichen
+ // Prosa des Blatts.
//
- // Gegen die gerenderte Ueberschrift, nicht gegen die Zeichenkette: die
- // Datei beginnt mit einem Kommentar, der "What is new" ebenfalls nennt,
- // und gegen den stand der Block immer hinten.
+ // Runde 2 (19.09.2026): "What is new" plus ein separates Versions-Label
+ // wichen "What's new in {version}" in der FESTEN Kopfzeile (Logo und
+ // Ueberschrift bleiben beim Scrollen sichtbar, wie Version und Logo es
+ // vorher schon taten) und stehen darum vor JEDEM Inhalt, auch vor dem
+ // Cloud-Block. Das ist kein Verstoss gegen "vor allem anderen": der
+ // Massstab war immer der INHALT, nicht das Chrome. Der Marker fuer den
+ // ersten echten Inhaltssatz ist jetzt `release-intro`, das Gegenstueck zur
+ // fruehen "What is new</h3>"-Ueberschrift im Koerper.
expect(modal.indexOf('release-cloud-block'))
- .toBeLessThan(modal.indexOf('What is new</h3>'))
+ .toBeLessThan(modal.indexOf('data-testid="release-intro"'))
// Der Knopf faellt auf denselben Weg zurueck wie der Schalter im Kopf.
expect(modal).toContain('setCloudGateOpen(true)')
expect(modal).toContain("updateSettings({ appMode: 'cloud' })")
@@ -454,16 +490,24 @@ describe('the notes table', () => {
.not.toContain('more credits per euro')
})
- 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.
+ it('the modal renders every section and lets a line disclose its own detail', () => {
+ // Source guard, same pattern as the settings guards: the sheet must map
+ // note.details and section.items, or the table above is dead data.
+ //
+ // Runde 2 (19.09.2026): the one global "Show all changes" switch is gone,
+ // replaced by a per-line disclosure (aria-expanded) plus an "Expand all"
+ // convenience that opens every one of them at once. Both are pinned here
+ // so a later edit cannot quietly bring back one wall of always-visible
+ // text.
const src = readFileSync(
resolve(dirname(fileURLToPath(import.meta.url)), '../../components/release/ReleaseNotesModal.tsx'),
'utf8',
)
- expect(src).toContain('Show all changes')
expect(src).toContain('note.details.map')
expect(src).toContain('section.items.map')
+ expect(src).toContain('aria-expanded')
+ expect(src).toContain('Expand all')
+ expect(src, 'the old global switch is back').not.toContain('Show all changes')
})
})