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): Rubrik-Ueberschriften im Whats-new-Blatt in Lila

purple567b582dd21a
diff --git a/src/components/release/ReleaseNotesModal.tsx b/src/components/release/ReleaseNotesModal.tsx
index 4b84fdff..a48e99ef 100644
--- a/src/components/release/ReleaseNotesModal.tsx
+++ b/src/components/release/ReleaseNotesModal.tsx
@@ -215,8 +215,21 @@ export function ReleaseNoteBody({ note, onClose, onTurnOnCloud }: ReleaseNoteBod
das ist 3,37:1 auf #202020 (bg-lu-base) und faellt unter
4,5:1. text-gray-300 auf derselben Flaeche misst 11,05:1,
die Groesse ist jetzt die vom Eigner verlangte Untergrenze
- von 0.75rem. */}
- <p className="text-xs font-semibold uppercase tracking-wide text-gray-300">
+ von 0.75rem.
+ Auflage 3 (Bauer, 21.09.2026): die Rubrik-Ueberschrift
+ hervorgehoben, David wollte sie in Lila sehen. Derselbe
+ Hausakzent wie die Cloud-Pille und der primaere
+ Create-Knopf (`text-lu-accent`, schon zwei Zeilen weiter
+ oben in diesem Blatt am "Expand all"-Knopf im Einsatz),
+ kein neuer Farbwert. Diese Flaeche traegt bewusst kein
+ `.light`-Gegenstueck (siehe index.css, "Diese Leiter ist
+ DUNKEL"): `bg-lu-base` bleibt #202020 in beiden
+ App-Themes, also bleibt auch der Kontrast gleich, 6,27:1
+ gegen #a094f8, ueber der AA-Schwelle von 4,5:1 fuer
+ Fliesstext. Die Punkt-Titel darunter (ReleaseNoteRow)
+ bleiben unveraendert grau, nur die Rubrik selbst faerbt
+ um. */}
+ <p className="text-xs font-semibold uppercase tracking-wide text-lu-accent">
{section.title}
</p>
<ul className="space-y-1.5">
diff --git a/src/components/release/__tests__/release-notes-modal.test.tsx b/src/components/release/__tests__/release-notes-modal.test.tsx
index 5b5d44c9..cb259ecf 100644
--- a/src/components/release/__tests__/release-notes-modal.test.tsx
+++ b/src/components/release/__tests__/release-notes-modal.test.tsx
@@ -164,6 +164,23 @@ describe('grouped changes', () => {
expect(screen.queryByText('Engine item one, the long version nobody skims.')).toBeNull()
})
+ it('the section title carries the house purple accent, and an item title does not (Auflage 3, 21.09.2026)', () => {
+ // Opus review, Blocker 4: `getByText('Engine title one.')` returns the
+ // innermost element carrying that text, the bare <span> in
+ // ReleaseNoteRow, which has no className at all, so asserting against
+ // IT can never go red no matter what colour the row actually paints.
+ // The row's own colour lives on the button that wraps the span
+ // (ReleaseNotesModal.tsx's ReleaseNoteRow), so the check has to run
+ // against `closest('button')`, the element whose class list is real.
+ // Proven by mutation: setting the button's className to text-lu-accent
+ // made this assertion fail before this fix; it now catches that.
+ render(<ReleaseNoteBody note={withGroups} onClose={() => {}} />)
+ const sectionHeading = screen.getByText('Engine and hardware')
+ expect(sectionHeading.className).toContain('text-lu-accent')
+ const itemTitleButton = screen.getByText('Engine title one.').closest('button')!
+ expect(itemTitleButton.className).not.toContain('text-lu-accent')
+ })
+
it('an item with no title (plain string) renders its own text directly, with nothing to click', () => {
const flatItem: ReleaseNote = {
version: '9.9.8',