Pending completion accordion on weekly view #193
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 weekly scheduling workflow review.
Repo
ldraney/landscaping-assistantUser Story
As an admin
I want to see which properties were scheduled but not completed on past days this week
So that I can quickly identify work that fell through the cracks
Context
During the week, not every property scheduled for a given day gets completed. Currently the only way to spot missed work is scanning each day column in the week grid for queued (not checked) dots on past days. A dedicated "Pending Completion" section surfaces these prominently so nothing gets lost.
File Targets
Files the agent should modify or create:
app/controllers/weeks_controller.rb-- query incomplete items from past daysapp/views/weeks/index.html.erb-- accordion UI with details elementapp/javascript/controllers/tooltip_controller.js-- Stimulus controller for info iconapp/assets/stylesheets/application.css-- PendingCompletion component styleslib/tasks/feature_flags.rake-- register pending_completion flagspec/requests/weeks_spec.rb-- specs for the new sectionFiles the agent should NOT touch:
app/models/work_queue_item.rb-- no model changes needed, existing scopes sufficeFeature Flag
Flag:
pending_completionType: global
Default: disabled
Visibility: superadmin only (toggle via Platform panel)
Removal: after 2 weeks stable in production
Acceptance Criteria
Test Expectations
bundle exec rspec spec/requests/weeks_spec.rbConstraints
<details>element for accordion (no JS accordion library)Checklist
Related
landscaping-assistant-- project this affects