Repository navigation
Show recorder and save failures where you are, and make the shortcut, section and reference controls keyboard-friendly. - #101
Merged
Conversation
…warning on screen. - A recording keeps going when its session is left; the lost-mic, computer-audio and recorder errors now show in Home and People's toast stack too. - An edit main refused used to raise one 6-second polite toast per session, then nothing. The session now keeps a role="alert" line until it's dismissed or an edit lands.
…, voice and speaker errors. - Starting or finishing a recording, saving a voice and naming a speaker showed main's error with the IPC wrapper; they now go through ipcErrorMessage, as About and Settings do, with a plain fallback.
…ve it while it listens. - Its accessible name was "Change shortcut", hiding the value it shows; it is now "Session shortcut: <shortcut>. Change", and "press a shortcut, or Esc to cancel" while listening. - Tab used to be swallowed while listening, trapping the keyboard until Esc.
…board. - Section headings are focusable and open their menu (reference in notes, play, copy) with Shift+F10 or the menu key, as transcript lines do. - Ctrl+Enter (Cmd+Enter on macOS) on a reference chip in the notes jumps to its line; elsewhere it still inserts a line break.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Renderer error states and keyboard access from the 2026-11-28 audit: LYRA-UX-001, LYRA-UX-002, LYRA-UX-003, LYRA-UX-004, LYRA-A11Y-001, LYRA-A11Y-002.
What was wrong
What changed
ipcErrorMessageis used at the four call sites, with a plain fallback. Mic errors keep their own wording.DictationMessage,SystemAudioMessage) in the Home/People toast stack as well as the session's.usePagesexposessaveFailed. The session view shows arole="alert"line until it's dismissed or the next edit lands. The one-off toast is gone. (Disk-write failures in main get their own Activity row in Keep a session's changes until they are saved, and never delete recordings on an unreadable setting. #99. This PR covers edits that main refuses over IPC.)phaseAnnouncement('starting', 'idle')is now "Recording cancelled". The existing assertion for that case moved tolistening → idle, and a new case coversstarting → idle.HotkeyInput:label. Its name is "Session shortcut: . Change", or "Session shortcut: press a shortcut, or Esc to cancel" while it listens. The name helper isshortcutButtonLabelinlib/keys.ts.tabIndex=0,aria-haspopup="menu"). They open their menu with Shift+F10 or the menu key, using the same double-open guard the lines use.How it was tested
pnpm install --frozen-lockfile: OK.pnpm checkinapps/lyra(typecheck, lint,config:check, vitest): 86 files, 649 tests pass (646 on main).keys.test.ts(the shortcut name contains the visible text and says how to cancel) andstatus.test.ts(a start that never happened is "cancelled").pnpm smoke:ui(it launches Electron; CI runs it).I couldn't verify the UI changes visually. Please click through:
sessions:editto throw). A red line should stay in the session until you dismiss it or the next edit saves.For the reviewer to decide
Left out
DictationMessagegets only a string. Knowing which error it is would mean threading an error kind throughuseDictationand capture, which is bigger than a small fix.Transcript.tsxchanges are at the speaker picker's error line and the section headings. They are outside Name speakers from what was said, with the notes model. #98's hunks.Checks
pnpm typecheck(and the rest ofpnpm check).changeset/error-states-keyboard.md, patch)pnpm smoke:ui: not run locally (CI runs it)