Comprehensive seed data representing production patterns #203
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 -- discovered during today-view feature work. Dev DB had no last-week data, missing properties, no daily notes.
Repo
ldraney/landscaping-assistantUser Story
As a developer
I want
bin/rails db:seedto populate every UI section with realistic dataSo that I can test features without manually creating data
Context
Current seeds only create 3 services. All properties and work queue items must be created manually, which means dev testing misses sections that only appear with specific data patterns (last week, still undone, done by other crew). Seed data should mirror production: ~15-20 properties across multiple cities, a full week of queue history, daily notes, multiple crew members with different roles.
File Targets
Files the agent should modify or create:
db/seeds.rb-- expand with properties, queue items, daily notes, crew membersFiles the agent should NOT touch:
db/schema.rb-- no schema changes neededapp/models/-- no model changesFeature Flag
None -- dev tooling only, not user-facing.
Acceptance Criteria
bin/rails db:seedon a fresh DB populates every today-page sectionDate.current, not hardcodedTest Expectations
bin/rails db:resetthen verify all sections renderbin/rails db:seedConstraints
find_or_create_bypatterns for idempotencyChecklist
Related
landscaping-assistantproject