Skip to content

Implement the native menu and shortcut statistics review flow - #87

Merged
fhtpku-Cli merged 1 commit into
mainfrom
codex/native-statistics-overview
Nov 26, 2026
Merged

fhtpku-Cli merged 1 commit into
mainfrom
codex/native-statistics-overview

Conversation

@fhtpku-Cli

Copy link
Copy Markdown
Owner

Implement the reviewed menu → overview → shortcut detail → back flow in AppKit and SwiftUI. The native menu exposes statistics first and shows capture actions for the current lifecycle phase. The overview presents the three most-used shortcut families, the leading eligible suggestion, and navigation to remaining statistics and candidates. Detail totals and per-application shares use the selected family’s existing aggregate rows. Unknown modifier sides remain separately identifiable.

Returning restores the initiating control’s focus. Removing protected data withdraws the detail and resets navigation. Opening statistics does not start capture.

Local verification used synthetic host boundaries and an actual hosted window. The menu test activated pause, statistics and resume in both languages. Native accessibility actions opened a shortcut and returned. Switching from detail to privacy blocked removed the application from the accessibility tree. Window captures covered Chinese/light and English/dark, paused, empty and blocked states. Of 44 selected native tests, 43 passed and one existing offscreen ImageRenderer test skipped on blank output. The hosted-window checks passed. Actual VoiceOver speech and installation remain separate.

@fhtpku-Cli
fhtpku-Cli merged commit 80a3ccd into main Nov 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant