fix: restore destructive dialog buttons and document recent updates
Destructive confirmation buttons lost their styling outside the notes page, including the draft-discard Portal. Share button sizing, typography, disabled feedback and theme-aware hover colors across callers, with Electron and contrast regression coverage and design documentation.
Include the update article draft covering v0.13.8 through v0.13.16 and the separately identified 5116613 follow-up, its verification record and article index. The article remains unpublished with screenshots and release details pending.
Validation: 37 focused tests passed, including real Electron capture; typecheck, lint and staged whitespace checks passed. No model calls. The previously documented unrelated HeartbeatCenter full-suite failure was not rerun.
Release note: Destructive confirmation buttons, including the discard-note-draft dialog, now display consistent styling, keyboard focus and disabled feedback in light and dark themes.
This commit is contained in:
@@ -59,6 +59,7 @@ it('captures messages and full history from App through real Electron preload, I
|
||||
const result = JSON.parse(await readFile(join(directory, 'result.json'), 'utf8'))
|
||||
process.stdout.write(`Magic notes capture Electron evidence: ${JSON.stringify(result)}\n`)
|
||||
expect(result.error, output).toBeUndefined()
|
||||
expect(result.dangerButtonStyles.map((style: { theme: string }) => style.theme)).toEqual(['light', 'dark'])
|
||||
expect(result).toMatchObject({ existingSaved: true, newSaved: true, fullHistoryCount: 502,
|
||||
sourceOpened: true, workspaceOpened: true, keyboard: true, narrowPanel: true,
|
||||
sqliteReopened: true, sourceSurvivesDeletion: true, modelAttempts: 0 })
|
||||
|
||||
Reference in New Issue
Block a user