Add drag-to-reorder on daily work queue #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Standalone — follows from work queue implementation in #5.
Repo
ldraney/landscaping-assistantUser Story
As a landscaper
I want to drag queue items to reorder my route
So that I can prioritize which properties to hit first
Context
The
positioncolumn exists onwork_queue_itemsbut is set by insertion order. On a given day the user needs to rearrange their route based on geography, urgency, or preference. Mobile touch-drag is essential since this is used in the field.File Targets
Files to modify or create:
app/javascript/controllers/sortable_controller.js— new Stimulus controller wrapping Sortable.jsapp/controllers/work_queue_items_controller.rb— addreorderaction for bulk position updateapp/views/work_queue_items/_queue_item.html.erb— add drag handleapp/views/work_queue_items/index.html.erb— wire up sortable controllerconfig/routes.rb— add reorder routeconfig/importmap.rb— pin sortable.jsapp/assets/stylesheets/application.css— drag handle + dragging stylesAcceptance Criteria
Test Expectations
bundle exec rspecConstraints
filter_controller.jsstyleChecklist
Related
project-landscaping-assistantScope Review: NEEDS_REFINEMENT
Review note:
review-1249-2026-05-24Issue body is well-structured with all Feature template sections present and all 7 file targets verified against the codebase. No blockers, no decomposition needed.
Two traceability gaps require resolution before the ticket is READY:
story:work-queueis not listed in the project-landscaping-assistant user-stories table. Add the user story entry.arch-rails-appnote exists in pal-e-docs. This arch label is used by 5 board items — creating the note benefits the whole project.Scope Review: APPROVED
Review note:
review-1249-2026-05-24-v2Re-review passes. Both prior NEEDS_REFINEMENT items resolved:
story:work-queueentry confirmed in project-landscaping-assistant user-stories tablearch:rails-appcovered by shared arch note (arch-rails-app-pal-enterprises) + project page Architecture sectionAll 7 file targets verified against codebase. 6 AC testable. No decomposition needed. Ticket is ready for implementation.