Add new properties from the Today tab #27

Closed
opened 2026-05-25 03:43:28 +00:00 by ldraney · 0 comments
Owner

Type

Feature

Lineage

Related to ldraney/landscaping-assistant #26 (optional address).

Repo

ldraney/landscaping-assistant

User Story

As a landscaper
I want to create new properties directly from the Today tab
So that when my boss gives me names in the morning I can add them to today's queue without switching tabs

Context

The Today tab currently only lets you queue existing properties. To add a new one you have to go to the New tab first, then come back to Today and queue it. That's too many steps when the boss is rattling off names. New properties added here should be immediately queued for today.

File Targets

Files the agent should modify or create:

  • app/views/work_queue_items/index.html.erb — add ability to create new property
  • app/controllers/work_queue_items_controller.rb — handle new property creation + queue
  • app/assets/stylesheets/application.css — any needed styles

Files the agent should NOT touch:

  • app/models/property.rb — validation change handled in #26
  • app/views/properties/index.html.erb — New tab stays as-is

Acceptance Criteria

  • Can create a new property by name from the Today tab
  • Newly created property is immediately added to today's queue
  • Works without an address (depends on #26)
  • Feels fast — no page navigation required

Test Expectations

  • Integration test: adding a name from Today creates a property and a queue item for today
  • Integration test: new property appears in the queue list immediately
  • Run command: bin/rails test

Constraints

  • No Tailwind
  • Follow existing Turbo Stream patterns in the app
  • Keep it minimal — this is a quick-add, not a full form

Checklist

  • PR opened
  • Tests pass
  • No unrelated changes
  • landscaping-assistant — project this affects
  • #26 — optional address (prerequisite)
### Type Feature ### Lineage Related to `ldraney/landscaping-assistant #26` (optional address). ### Repo `ldraney/landscaping-assistant` ### User Story As a landscaper I want to create new properties directly from the Today tab So that when my boss gives me names in the morning I can add them to today's queue without switching tabs ### Context The Today tab currently only lets you queue existing properties. To add a new one you have to go to the New tab first, then come back to Today and queue it. That's too many steps when the boss is rattling off names. New properties added here should be immediately queued for today. ### File Targets Files the agent should modify or create: - `app/views/work_queue_items/index.html.erb` — add ability to create new property - `app/controllers/work_queue_items_controller.rb` — handle new property creation + queue - `app/assets/stylesheets/application.css` — any needed styles Files the agent should NOT touch: - `app/models/property.rb` — validation change handled in #26 - `app/views/properties/index.html.erb` — New tab stays as-is ### Acceptance Criteria - [ ] Can create a new property by name from the Today tab - [ ] Newly created property is immediately added to today's queue - [ ] Works without an address (depends on #26) - [ ] Feels fast — no page navigation required ### Test Expectations - [ ] Integration test: adding a name from Today creates a property and a queue item for today - [ ] Integration test: new property appears in the queue list immediately - Run command: `bin/rails test` ### Constraints - No Tailwind - Follow existing Turbo Stream patterns in the app - Keep it minimal — this is a quick-add, not a full form ### Checklist - [ ] PR opened - [ ] Tests pass - [ ] No unrelated changes ### Related - `landscaping-assistant` — project this affects - `#26` — optional address (prerequisite)
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#27
No description provided.