Unify today tab search and quick-add input #55

Closed
opened 2026-06-02 12:32:27 +00:00 by ldraney · 0 comments
Owner

Type

Feature

Lineage

Standalone — discovered during today tab UX review.

Repo

ldraney/landscaping-assistant

User Story

As a landscaper
I want one input that searches existing properties and creates new ones
So that I can quickly find and queue properties without switching between inputs

Context

The today tab has a quick-add input at the top and a separate search input in the Recent section. This is redundant — the user types a name in one place to add and a different place to search. The service filter chips also don't belong on the today tab; they're a properties page concern. The quick-add input doesn't clear after submitting, which is annoying when adding multiple properties.

File Targets

Files the agent should modify or create:

  • app/views/work_queue_items/index.html.erb -- merge inputs, remove filters
  • app/javascript/controllers/filter_controller.js -- add clearInput method
  • app/controllers/work_queue_items_controller.rb -- remove @services query

Files the agent should NOT touch:

  • app/views/properties/manage.html.erb -- service filters stay there

Acceptance Criteria

  • Single input filters the Recent property list as you type (case-insensitive)
  • Submitting the input creates a new property and queues it
  • Input clears after successful add
  • Service filter chips removed from today tab
  • Service filters still work on properties/manage page

Test Expectations

  • Manual: type partial name, verify list filters
  • Manual: submit new name, verify input clears and property queued
  • Manual: verify properties/manage filters unaffected

Constraints

  • Keep filter_controller.js backwards-compatible (manage page uses it too)
  • No new Stimulus controllers needed

Checklist

  • PR opened
  • Tests pass
  • No unrelated changes
  • landscaping-assistant -- project
### Type Feature ### Lineage Standalone — discovered during today tab UX review. ### Repo `ldraney/landscaping-assistant` ### User Story As a landscaper I want one input that searches existing properties and creates new ones So that I can quickly find and queue properties without switching between inputs ### Context The today tab has a quick-add input at the top and a separate search input in the Recent section. This is redundant — the user types a name in one place to add and a different place to search. The service filter chips also don't belong on the today tab; they're a properties page concern. The quick-add input doesn't clear after submitting, which is annoying when adding multiple properties. ### File Targets Files the agent should modify or create: - `app/views/work_queue_items/index.html.erb` -- merge inputs, remove filters - `app/javascript/controllers/filter_controller.js` -- add clearInput method - `app/controllers/work_queue_items_controller.rb` -- remove @services query Files the agent should NOT touch: - `app/views/properties/manage.html.erb` -- service filters stay there ### Acceptance Criteria - [ ] Single input filters the Recent property list as you type (case-insensitive) - [ ] Submitting the input creates a new property and queues it - [ ] Input clears after successful add - [ ] Service filter chips removed from today tab - [ ] Service filters still work on properties/manage page ### Test Expectations - [ ] Manual: type partial name, verify list filters - [ ] Manual: submit new name, verify input clears and property queued - [ ] Manual: verify properties/manage filters unaffected ### Constraints - Keep filter_controller.js backwards-compatible (manage page uses it too) - No new Stimulus controllers needed ### Checklist - [ ] PR opened - [ ] Tests pass - [ ] No unrelated changes ### Related - `landscaping-assistant` -- project
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ldraney/landscaping-assistant#55
No description provided.