Week tab: show unassigned properties section #30

Closed
opened 2026-05-25 04:17:51 +00:00 by ldraney · 1 comment
Owner

Type

Feature

Lineage

Child of ldraney/landscaping-assistant #28 (parent).

Repo

ldraney/landscaping-assistant

User Story

As a landscaper
I want to see which properties aren't scheduled for any day this week
So that I know what still needs to be planned

Context

The Week tab shows a grid of scheduled properties but gives no visibility into what's missing. An "Unassigned" section below the grid should list active properties that have no work_queue_item for any day in the displayed week. Also: the week grid currently shows address_line as primary — needs to switch to client_name to match the rest of the app (PR #29 convention).

File Targets

Files the agent should modify or create:

  • app/controllers/weeks_controller.rb — query for unassigned properties
  • app/views/weeks/index.html.erb — render unassigned section, fix client_name as primary in grid
  • app/assets/stylesheets/application.css — styles for unassigned list

Files the agent should NOT touch:

  • app/views/work_queue_items/ — Today tab unaffected
  • config/routes.rb — no new routes needed for display-only

Acceptance Criteria

  • Unassigned section shows below the week grid
  • Lists active properties with no work_queue_item in the displayed week
  • Week grid shows client_name as primary, address as secondary meta
  • Empty state when all properties are scheduled

Test Expectations

  • Integration test: unassigned list excludes properties queued that week
  • Integration test: unassigned list includes properties with no queue items
  • Run command: bundle exec rspec

Constraints

  • No Tailwind
  • Follow existing view patterns
  • Mobile-friendly

Checklist

  • PR opened
  • Tests pass
  • No unrelated changes
  • landscaping-assistant — project
  • #28 — parent ticket
### Type Feature ### Lineage Child of `ldraney/landscaping-assistant #28` (parent). ### Repo `ldraney/landscaping-assistant` ### User Story As a landscaper I want to see which properties aren't scheduled for any day this week So that I know what still needs to be planned ### Context The Week tab shows a grid of scheduled properties but gives no visibility into what's missing. An "Unassigned" section below the grid should list active properties that have no work_queue_item for any day in the displayed week. Also: the week grid currently shows `address_line` as primary — needs to switch to `client_name` to match the rest of the app (PR #29 convention). ### File Targets Files the agent should modify or create: - `app/controllers/weeks_controller.rb` — query for unassigned properties - `app/views/weeks/index.html.erb` — render unassigned section, fix client_name as primary in grid - `app/assets/stylesheets/application.css` — styles for unassigned list Files the agent should NOT touch: - `app/views/work_queue_items/` — Today tab unaffected - `config/routes.rb` — no new routes needed for display-only ### Acceptance Criteria - [ ] Unassigned section shows below the week grid - [ ] Lists active properties with no work_queue_item in the displayed week - [ ] Week grid shows client_name as primary, address as secondary meta - [ ] Empty state when all properties are scheduled ### Test Expectations - [ ] Integration test: unassigned list excludes properties queued that week - [ ] Integration test: unassigned list includes properties with no queue items - Run command: `bundle exec rspec` ### Constraints - No Tailwind - Follow existing view patterns - Mobile-friendly ### Checklist - [ ] PR opened - [ ] Tests pass - [ ] No unrelated changes ### Related - `landscaping-assistant` — project - `#28` — parent ticket
Author
Owner

Scope Review: READY

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

Scope is solid — all file targets verified, template complete, traceability intact (story note confirmed), fits in a single agent pass (~3 min).

Minor recommendations (non-blocking):

  • [BODY] Test run command should be bundle exec rspec not bin/rails test (project uses RSpec)
  • [SCOPE] arch-rails-app note missing from pal-e-docs (platform-wide gap, not ticket-specific)
## Scope Review: READY Review note: `review-1264-2026-05-24` Scope is solid — all file targets verified, template complete, traceability intact (story note confirmed), fits in a single agent pass (~3 min). Minor recommendations (non-blocking): - `[BODY]` Test run command should be `bundle exec rspec` not `bin/rails test` (project uses RSpec) - `[SCOPE]` arch-rails-app note missing from pal-e-docs (platform-wide gap, not ticket-specific)
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#30
No description provided.