Add active/inactive status to properties #9
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
Child of
ldraney/landscaping-assistant #8. Phase 1 of weekly tracking decomposition.Repo
ldraney/landscaping-assistantUser Story
As a landscaper
I want to mark properties as active or inactive
So that houses I no longer service don't clutter my daily queue
Context
Foundation for weekly tracking (#8). Adds the
activeboolean to properties, the model scope, and filters inactive properties from the Today queue's "All Properties" list. No new views — just schema + filtering.File Targets
Files to modify or create:
db/migrate/xxx_add_active_to_properties.rb— addactiveboolean (default: true, null: false)app/models/property.rb— addscope :activeapp/controllers/work_queue_items_controller.rb— filter@propertiesto active onlyapp/controllers/properties_controller.rb— ensure new properties default to activeFiles NOT to touch:
app/views/layouts/application.html.erb— nav changes are in a later issueapp/javascript/controllers/— no JS changes neededAcceptance Criteria
activecolumn exists on properties, defaults to trueProperty.activescope returns only active propertiesTest Expectations
Property.activescope excludes inactivebundle exec rspecConstraints
Checklist
Related
project-landscaping-assistantScope Review: READY
Review note:
review-1251-2026-05-24Ticket is well-scoped: all 4 file targets verified in codebase, template is complete, traceability triangle intact (story note + arch note both confirmed). Single-repo change, 4 AC, estimated under 5 minutes of agent work. No decomposition needed. Ready to move to next_up.