Redesign the bottom bar creature search to support a streamlined batch-add flow for predefined creatures, repurpose the search button as a stat block viewer, and add optional fields (initiative, AC, max HP) for custom creatures with clear labeling and action-oriented hint text.
Acceptance Criteria
Batch Add Predefined Creatures
Dropdown opens automatically as the user types a query
Clicking a creature entry shows a count badge (1) and a confirm button on that row
Clicking the same entry again increments the count
Selecting a different creature replaces the current queue with the new creature at count 1
Clicking the confirm button adds N copies of the creature to combat and resets the queue
Pressing Enter with a queued creature adds N copies and resets the queue
Custom Creature with Optional Fields
Typing a name with no bestiary match shows optional fields for initiative, AC, and max HP
Custom creature can be added with only a name (optional fields left empty)
Custom creature can be added with some or all optional fields filled in
Each optional field has a clear label indicating its purpose
Stat Block Viewer from Dropdown
Clicking the view button opens the stat block for the currently focused creature in the dropdown
The button is disabled or no-op when no creature is focused
Improved Search Hint Text
Search field placeholder displays action-oriented text such as "Search creatures to add..."
Edge Cases
Changing the search query resets the queue when the queued creature is no longer visible
Pressing Escape resets the queue and closes the dropdown
Optional custom fields appear when the typed name no longer matches the bestiary
Non-numeric input in optional fields is ignored (treated as empty)
## Summary
Redesign the bottom bar creature search to support a streamlined batch-add flow for predefined creatures, repurpose the search button as a stat block viewer, and add optional fields (initiative, AC, max HP) for custom creatures with clear labeling and action-oriented hint text.
## Acceptance Criteria
### Batch Add Predefined Creatures
- [x] Dropdown opens automatically as the user types a query
- [x] Clicking a creature entry shows a count badge (1) and a confirm button on that row
- [x] Clicking the same entry again increments the count
- [x] Selecting a different creature replaces the current queue with the new creature at count 1
- [x] Clicking the confirm button adds N copies of the creature to combat and resets the queue
- [x] Pressing Enter with a queued creature adds N copies and resets the queue
### Custom Creature with Optional Fields
- [x] Typing a name with no bestiary match shows optional fields for initiative, AC, and max HP
- [x] Custom creature can be added with only a name (optional fields left empty)
- [x] Custom creature can be added with some or all optional fields filled in
- [x] Each optional field has a clear label indicating its purpose
### Stat Block Viewer from Dropdown
- [x] Clicking the view button opens the stat block for the currently focused creature in the dropdown
- [x] The button is disabled or no-op when no creature is focused
### Improved Search Hint Text
- [x] Search field placeholder displays action-oriented text such as "Search creatures to add..."
### Edge Cases
- [x] Changing the search query resets the queue when the queued creature is no longer visible
- [x] Pressing Escape resets the queue and closes the dropdown
- [x] Optional custom fields appear when the typed name no longer matches the bestiary
- [x] Non-numeric input in optional fields is ignored (treated as empty)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Redesign the bottom bar creature search to support a streamlined batch-add flow for predefined creatures, repurpose the search button as a stat block viewer, and add optional fields (initiative, AC, max HP) for custom creatures with clear labeling and action-oriented hint text.
Acceptance Criteria
Batch Add Predefined Creatures
Custom Creature with Optional Fields
Stat Block Viewer from Dropdown
Improved Search Hint Text
Edge Cases