Skip to content

fix: README says F5 refreshes the schema; nothing does #898

Closed

Description

@EVWorth

README.md:139 lists "F5 refresh schema" among the keyboard shortcuts. Only the old macOS native menu ever bound F5 (to Refresh Schema). The in-app handler doesn't: src/hooks/useKeyboardShortcuts.ts has no F5, and the refresh-schema action in src/lib/actions.ts has no shortcut. #897 builds the native menu from ACTIONS, so after it merges no platform has F5.

Reproduce

grep -n 'F5' src/hooks/useKeyboardShortcuts.ts src/lib/actions.ts   # nothing
grep -n 'F5' README.md

Decide, then fix

  • Keep F5: add shortcut: "F5" to refresh-schema in actions.ts and handle it in useKeyboardShortcuts with preventDefault(). In a webview F5 can reload the page, which drops every tab's unsaved state, so stopping that default may be worth doing anyway. Add a test.
  • Drop it: remove "F5 refresh schema" from the README.

Activity

  1. added
    bug
    on Oct 25, 2026
  2. added a commit that references this issue on Oct 29, 2026
    0442091
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions