Skip to content

[Feature] Collapse consecutive repeated groups into a count badge #122

Description

@esphynox

Problem or use case

When the same key or key combination is pressed repeatedly in a row, the keyboard overlay stacks identical groups as separate entries. That makes repeated shortcuts or repeated taps harder to read because the history fills with duplicates instead of showing that the same input happened multiple times.

Proposed behavior

Add a keyboard visualizer option that collapses consecutive repeated groups into the previous visible group and shows a repeat-count badge on that group.

The behavior should:

  • detect repeated standalone keys and repeated key combinations
  • reuse the previous visible group instead of stacking a duplicate
  • increment a visible badge count for each consecutive repeat
  • update the live group in place so the duplicate does not briefly appear before collapsing

Alternatives considered

Leave repeated inputs stacked as separate groups. This preserves raw history, but it is noisier and makes repeated input patterns harder to scan visually.

UI or settings impact

This adds a new keyboard visualizer setting for collapsing repeated groups and adds a count badge to repeated overlay groups when the setting is enabled.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions