Today tab: add assign-to-crew button on Recent, add-to-queue on Assigned #210

Closed
opened 2026-06-14 02:33:50 +00:00 by ldraney · 0 comments
Owner

Type

Feature

Lineage

Follow-up to #202 (Today and Week view overhaul).

Repo

ldraney/landscaping-assistant

User Story

As a crew member, I want to assign a property to another crew from the Recent section and add an assigned property back to my queue so I have full control from any section on the Today tab.

Context

After #202 merged, the "Assign to Another Crew" people-icon button only appears in "Unqueued This Week." The Recent and Assigned to Another Crew sections lack action parity.

File Targets

  • app/views/work_queue_items/_recent_section.html.erb (add mark_other button)
  • app/views/work_queue_items/_other_crew_section.html.erb (add requeue button)
  • app/views/work_queue_items/index.html.erb (pass additional locals to partials)

Acceptance Criteria

  • Recent items show assign-to-other-crew button
  • Assigned to Another Crew items show add-to-queue button
  • Queued badge shows when property is already queued

Test Expectations

  • Manual verification of button visibility and behavior
  • Run: bundle exec rspec

Constraints

  • View-only changes, no model or controller changes needed
  • Reuse existing button classes and SVG icons

Feature Flag

None

Checklist

  • PR opened
  • Tests pass
  • No unrelated changes
  • #202 — Today and Week view overhaul (parent)
### Type Feature ### Lineage Follow-up to #202 (Today and Week view overhaul). ### Repo `ldraney/landscaping-assistant` ### User Story As a crew member, I want to assign a property to another crew from the Recent section and add an assigned property back to my queue so I have full control from any section on the Today tab. ### Context After #202 merged, the "Assign to Another Crew" people-icon button only appears in "Unqueued This Week." The Recent and Assigned to Another Crew sections lack action parity. ### File Targets - `app/views/work_queue_items/_recent_section.html.erb` (add mark_other button) - `app/views/work_queue_items/_other_crew_section.html.erb` (add requeue button) - `app/views/work_queue_items/index.html.erb` (pass additional locals to partials) ### Acceptance Criteria - [ ] Recent items show assign-to-other-crew button - [ ] Assigned to Another Crew items show add-to-queue button - [ ] Queued badge shows when property is already queued ### Test Expectations - Manual verification of button visibility and behavior - Run: `bundle exec rspec` ### Constraints - View-only changes, no model or controller changes needed - Reuse existing button classes and SVG icons ### Feature Flag None ### Checklist - [ ] PR opened - [ ] Tests pass - [ ] No unrelated changes ### Related - #202 — Today and Week view overhaul (parent)
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#210
No description provided.