Replace double-click rename with single-click and add stat block icon #9

Closed
opened 2026-03-15 17:00:36 +01:00 by dostulata · 0 comments
Owner

Summary

Combatant name interaction currently uses a 250ms click timer to distinguish single-click (show stat block) from double-click (rename). This makes every click feel sluggish and hides the app's core feature — renaming combatants to match numbered minis at the table. Replace this with immediate single-click rename for all combatant types, and add a dedicated book icon on bestiary rows as the explicit stat block trigger.

Acceptance Criteria

  • Clicking any combatant's name starts inline rename immediately — no delay, no timer, consistent for all combatant types
  • Bestiary combatant rows show a small book icon as the explicit stat block trigger
  • The book icon is the only way to manually open a stat block (name click always means rename)
  • The book icon has a tooltip ("View stat block") and proper aria-label for accessibility
  • The 250ms click timer / double-click detection logic is removed entirely
## Summary Combatant name interaction currently uses a 250ms click timer to distinguish single-click (show stat block) from double-click (rename). This makes every click feel sluggish and hides the app's core feature — renaming combatants to match numbered minis at the table. Replace this with immediate single-click rename for all combatant types, and add a dedicated book icon on bestiary rows as the explicit stat block trigger. ## Acceptance Criteria - [x] Clicking any combatant's name starts inline rename immediately — no delay, no timer, consistent for all combatant types - [x] Bestiary combatant rows show a small book icon as the explicit stat block trigger - [x] The book icon is the only way to manually open a stat block (name click always means rename) - [x] The book icon has a tooltip ("View stat block") and proper aria-label for accessibility - [x] The 250ms click timer / double-click detection logic is removed entirely
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dostulata/initiative#9