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.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
fix(release-notes): Chevron dreht sich, Detailtext lesbar, Enter-Test ehrlich
purplebc813efe2039
diff --git a/src/components/release/ReleaseNotesModal.tsx b/src/components/release/ReleaseNotesModal.tsxindex f444f13e..4b84fdff 100644--- a/src/components/release/ReleaseNotesModal.tsx+++ b/src/components/release/ReleaseNotesModal.tsx@@ -211,7 +211,12 @@ export function ReleaseNoteBody({ note, onClose, onTurnOnCloud }: ReleaseNoteBod<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">+ {/* Auflage 2 (Bauer, 19.09.2026): war 0.6rem auf text-gray-500,+ 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">{section.title}</p><ul className="space-y-1.5">@@ -285,14 +290,35 @@ function ReleaseNoteRow({ item, expanded, onToggle }: ReleaseNoteRowProps) {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">+ {/* [transform-box:fill-box] is load-bearing, not decoration (Bauer,+ 19.09.2026, Auflage 1). This SVG is 11px, rendered from a 24x24+ viewBox: this app's browser defaults the CSS `rotate` property's+ reference box to `view-box` for an SVG element, and at that size,+ with that mismatch between the viewBox and the rendered box, it+ never paints the turn. That was the real bug behind the still,+ unrotated chevron: `getComputedStyle(...).rotate` read "90deg"+ and the `rotate-90` class was on the node both before and after+ this fix, so neither ever proved anything; only a geometry+ measurement of the chevron's own <path> did. Measured against+ the running dev server, collapsed vs. expanded, on the unfixed+ code: the path's own bounding box stayed 2.85 x 5.69px both+ times, upright, nothing moved. With `[transform-box:fill-box]`+ it becomes 6.32 x 3.16px once expanded, swapped, a real 90+ degree turn. Screenshots: r3-normal.png (collapsed) and+ r3-one-expanded.png / r3-expand-all.png (rotated); numbers and+ the negative control in whatsnew.md, Runde 3. */}<ChevronRightsize={11}- className={`mt-[0.3rem] shrink-0 text-gray-600 transition-transform ${expanded ? 'rotate-90' : ''}`}+ className={`mt-[0.3rem] shrink-0 text-gray-600 transition-transform [transform-box:fill-box] ${expanded ? 'rotate-90' : ''}`}/><span>{title}</span></button>+ {/* Auflage 2 (Bauer, 19.09.2026): war 0.62rem auf text-gray-500, das+ ist 3,37:1 auf #202020 (bg-lu-base), unter 4,5:1 und unter der vom+ Eigner verlangten Untergrenze von 0.75rem. text-gray-300 auf+ derselben Flaeche misst 11,05:1. */}{expanded && (- <p className="mt-1 pl-[18px] text-[0.62rem] leading-relaxed text-gray-500">{detail}</p>+ <p className="mt-1 pl-[18px] text-xs leading-relaxed text-gray-300">{detail}</p>)}</li>)diff --git a/src/components/release/__tests__/release-notes-modal.test.tsx b/src/components/release/__tests__/release-notes-modal.test.tsxindex ca3daec2..5b5d44c9 100644--- a/src/components/release/__tests__/release-notes-modal.test.tsx+++ b/src/components/release/__tests__/release-notes-modal.test.tsx@@ -114,9 +114,42 @@ describe('grouped changes', () => {expect(screen.queryByText('Engine item two, also long.')).toBeNull()})+ it('the open chevron carries the fix for the browser bug that kept it from turning (Auflage 1, 19.09.2026)', () => {+ // Headless testing against the running Vite dev server showed the+ // rotate-90 class was ALWAYS on the node and getComputedStyle ALWAYS+ // reported rotate: 90deg, both before and after this fix; that alone+ // never caught the bug. The actual defect only showed up as pixels: the+ // chevron's own path stayed 2.85 x 5.69px, upright, both collapsed and+ // expanded, because this SVG's default CSS reference box for `rotate`+ // is its viewBox, and at 11px rendered from a 24x24 viewBox that+ // reference box does not paint the turn in the browser this app ships+ // to. `[transform-box:fill-box]` switches the reference box to the+ // icon's own geometry, which does rotate: the path box became 6.32 x+ // 3.16px, swapped, once expanded. jsdom cannot paint CSS and so cannot+ // repeat that measurement, but it CAN nail both classes to the node, so+ // a later edit that drops `[transform-box:fill-box]` fails here first.+ // Full before/after numbers: whatsnew.md, Runde 3.+ render(<ReleaseNoteBody note={withGroups} onClose={() => {}} />)+ const row = screen.getByText('Engine title one.').closest('button')!+ fireEvent.click(row)+ const chevron = row.querySelector('svg')!+ const cls = chevron.getAttribute('class') ?? ''+ expect(cls).toContain('[transform-box:fill-box]')+ expect(cls).toContain('rotate-90')+ })+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')!+ // Renamed and rewritten (Bauer, 19.09.2026, Auflage 3): this used to be+ // named "on Enter" but fired `fireEvent.click`, so it never touched the+ // keyboard path at all. jsdom, unlike a real browser, does not+ // synthesize a click from a keydown on a focused <button> on its own, so+ // the keydown and the click it causes are fired separately here, the+ // same two events a real Enter press produces on any native button.+ row.focus()+ expect(document.activeElement).toBe(row)+ fireEvent.keyDown(row, { key: 'Enter', code: 'Enter' })fireEvent.click(row)expect(screen.getByText('Create item one, spelled out in full.')).toBeTruthy()})