Week tab: add property to a specific day #31

Open
opened 2026-05-25 04:18:04 +00:00 by ldraney · 1 comment
Owner

Type

Feature

Lineage

Child of ldraney/landscaping-assistant #28 (parent). Depends on #30 (unassigned section).

Repo

ldraney/landscaping-assistant

User Story

As a landscaper
I want to add an unassigned property to a specific day from the Week tab
So that I can plan my week without switching to the Today tab for each day

Context

Once #30 adds the unassigned section, each unassigned property needs a way to be assigned to a day. Button-based: tap the property, pick a day (Mon-Sun), and it gets queued. Uses the existing work_queue_items create pattern but from the week view.

File Targets

Files the agent should modify or create:

  • app/views/weeks/index.html.erb — add-to-day buttons on unassigned items
  • app/controllers/weeks_controller.rb — add action (or reuse work_queue_items#create)
  • config/routes.rb — new route if needed
  • app/assets/stylesheets/application.css — button styles

Files the agent should NOT touch:

  • app/controllers/work_queue_items_controller.rb — reuse existing create, don't modify
  • app/models/ — no model changes

Acceptance Criteria

  • Each unassigned property has day-selection buttons (M T W T F S S)
  • Tapping a day button queues the property for that day
  • Property moves from unassigned list to the grid after adding
  • Works via Turbo Stream (no full page reload)

Test Expectations

  • Integration test: adding a property to Wednesday creates a work_queue_item with correct work_date
  • Integration test: added property disappears from unassigned list
  • Run command: bin/rails test

Constraints

  • No Tailwind
  • Button-based (not drag-and-drop) — mobile-friendly
  • Follow existing Turbo Stream patterns

Checklist

  • PR opened
  • Tests pass
  • No unrelated changes
  • landscaping-assistant — project
  • #28 — parent ticket
  • #30 — prerequisite (unassigned section)
### Type Feature ### Lineage Child of `ldraney/landscaping-assistant #28` (parent). Depends on #30 (unassigned section). ### Repo `ldraney/landscaping-assistant` ### User Story As a landscaper I want to add an unassigned property to a specific day from the Week tab So that I can plan my week without switching to the Today tab for each day ### Context Once #30 adds the unassigned section, each unassigned property needs a way to be assigned to a day. Button-based: tap the property, pick a day (Mon-Sun), and it gets queued. Uses the existing work_queue_items create pattern but from the week view. ### File Targets Files the agent should modify or create: - `app/views/weeks/index.html.erb` — add-to-day buttons on unassigned items - `app/controllers/weeks_controller.rb` — add action (or reuse work_queue_items#create) - `config/routes.rb` — new route if needed - `app/assets/stylesheets/application.css` — button styles Files the agent should NOT touch: - `app/controllers/work_queue_items_controller.rb` — reuse existing create, don't modify - `app/models/` — no model changes ### Acceptance Criteria - [ ] Each unassigned property has day-selection buttons (M T W T F S S) - [ ] Tapping a day button queues the property for that day - [ ] Property moves from unassigned list to the grid after adding - [ ] Works via Turbo Stream (no full page reload) ### Test Expectations - [ ] Integration test: adding a property to Wednesday creates a work_queue_item with correct work_date - [ ] Integration test: added property disappears from unassigned list - Run command: `bin/rails test` ### Constraints - No Tailwind - Button-based (not drag-and-drop) — mobile-friendly - Follow existing Turbo Stream patterns ### Checklist - [ ] PR opened - [ ] Tests pass - [ ] No unrelated changes ### Related - `landscaping-assistant` — project - `#28` — parent ticket - `#30` — prerequisite (unassigned section)
Author
Owner

Scope Review: NEEDS_REFINEMENT

Review note: review-1265-2026-05-24

Issue template is complete and file targets all verified. Two scope-level gaps prevent READY status:

  • [SCOPE] Architecture note arch-rails-app does not exist in pal-e-docs (shared gap across multiple board items with this label)
  • [SCOPE] Hard dependency on #30 (unassigned section) which is still in backlog — this ticket cannot move to next_up until #30 is completed
## Scope Review: NEEDS_REFINEMENT Review note: `review-1265-2026-05-24` Issue template is complete and file targets all verified. Two scope-level gaps prevent READY status: - `[SCOPE]` Architecture note `arch-rails-app` does not exist in pal-e-docs (shared gap across multiple board items with this label) - `[SCOPE]` Hard dependency on #30 (unassigned section) which is still in backlog — this ticket cannot move to next_up until #30 is completed
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#31
No description provided.