Skip to content

feat: keyboard and mouse shortcuts for scanner workflow#35

Merged
JeanExtreme002 merged 1 commit into
mainfrom
jeanextreme002/scanner-keyboard-mouse-ux
Jun 1, 2026
Merged

feat: keyboard and mouse shortcuts for scanner workflow#35
JeanExtreme002 merged 1 commit into
mainfrom
jeanextreme002/scanner-keyboard-mouse-ux

Conversation

@JeanExtreme002
Copy link
Copy Markdown
Owner

Summary

Makes the scanner usable without reaching for the mouse and tightens the feedback the UI gives back, by adding keyboard/mouse shortcuts across the results and cheat tables and improving the status reporting.

Changes

Results table

  • Double-click promotes a row to the cheat table, and Enter/Return promotes the currently selected rows — matching the gesture already used by the Memory Map / Modules / Pointer Scan tables.
  • Reworked column resize modes: Address hugs its hex content (with a width floor so short addresses don't collapse it), while Value and Previous split the remaining width evenly.
  • Empty-state hint painted over the viewport so a blank table reads as "ready and waiting" rather than broken.

Cheat table

  • Delete key removes the selected rows (widget-scoped so it doesn't hijack Delete during inline cell editing).
  • Double-clicking the Address or Type column — otherwise dead to double-click — opens Edit Selected.

Scanner panel

  • The Value field receives focus the first time the panel appears, so you can type a target and press Enter immediately.
  • Pressing Enter in a value field runs whichever scan is currently valid (First Scan before results exist, Next Scan once they do).

Status bar

  • Reports final tallies on scan complete and on refine.
  • The refine worker emits a final "Checked X/Y, kept Z…" tally so the count never ends on a stale mid-progress value.

- Results table: double-click promotes a row to the cheat table, and
  Enter/Return promotes the selected rows, matching the other tables.
- Results table: floor/stretch column resize modes and an empty-state
  hint so a blank table reads as ready rather than broken.
- Cheat table: Delete key removes selected rows (widget-scoped so it
  doesn't interfere with inline editing); double-click on the Address
  or Type column opens Edit Selected.
- Scanner panel: focus the Value field on first show and run the valid
  scan (First/Next) when Enter is pressed in a value field.
- Status bar: report final tallies on scan complete and refine, and
  emit a final tally from the refine worker so counts never go stale.
@JeanExtreme002 JeanExtreme002 merged commit 4e807f6 into main Jun 1, 2026
11 checks passed
@github-actions github-actions Bot deleted the jeanextreme002/scanner-keyboard-mouse-ux branch June 1, 2026 16:52
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