Skip to content

Require double-backspace to delete tags#77

Open
trek-e wants to merge 2 commits intorubenwe:masterfrom
trek-e:fix/backspace-deletes-tags
Open

Require double-backspace to delete tags#77
trek-e wants to merge 2 commits intorubenwe:masterfrom
trek-e:fix/backspace-deletes-tags

Conversation

@trek-e
Copy link
Copy Markdown

@trek-e trek-e commented Jan 23, 2026

Summary

Changes

Now requires two backspaces:

  1. First backspace highlights the last tag (50% opacity)
  2. Second backspace deletes it

The highlight is cleared if the user:

  • Starts typing
  • Clicks elsewhere (loses focus)
  • Tags change through other means

Test plan

  • Add multiple tags to an item
  • With cursor in empty tag field, press backspace once — last tag should dim
  • Press backspace again — tag should be deleted
  • Repeat but type text after first backspace — highlight should clear
  • Repeat but click elsewhere after first backspace — highlight should clear

🤖 Generated with Claude Code

trek-e and others added 2 commits January 23, 2026 18:39
- STACK.md - Technologies and dependencies
- ARCHITECTURE.md - System design and patterns
- STRUCTURE.md - Directory layout
- CONVENTIONS.md - Code style and patterns
- TESTING.md - Test structure
- INTEGRATIONS.md - External services
- CONCERNS.md - Technical debt and issues
Fixes rubenwe#69

Previously, pressing backspace when the tag input field was empty would
immediately delete the last tag. This was unexpected for users who
accidentally pressed backspace.

Now requires two backspaces:
1. First backspace highlights the last tag (50% opacity)
2. Second backspace deletes it

The highlight is cleared if the user:
- Starts typing
- Clicks elsewhere (loses focus)
- Tags change through other means

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

Hitting backspace inside the Tag text field deletes tags

1 participant