Skip to content

Budget page: categories filter should only apply to Budget Health, not Cost Breakdown #577

@steilerDev

Description

@steilerDev

As a homeowner, I want the categories filter on the budget page to only filter the Budget Health section so that I can focus on specific categories' health while still seeing the full cost breakdown across all categories.

Parent Epic: #5
Priority: Should Have

Bug Description

The categories filter on the budget page currently filters both the Budget Health section and the Cost Breakdown table. The filter should only affect the Budget Health section.

Current Behavior

When one or more categories are selected in the categories filter:

  • The Budget Health cards/section is filtered to show only the selected categories (correct)
  • The Cost Breakdown table is also filtered to show only the selected categories (incorrect)

Expected Behavior

When one or more categories are selected in the categories filter:

  • The Budget Health cards/section should be filtered to show only the selected categories
  • The Cost Breakdown table should always show all categories regardless of the filter selection

Acceptance Criteria

  • 1. When no categories are selected in the filter, both Budget Health and Cost Breakdown display all categories (unchanged behavior)
  • 2. When one or more categories are selected in the filter, the Budget Health section displays only the selected categories
  • 3. When one or more categories are selected in the filter, the Cost Breakdown table continues to display all categories (unfiltered)
  • 4. Clearing the categories filter restores the Budget Health section to show all categories
  • 5. The Cost Breakdown table row count and content remain unchanged regardless of any filter interaction

Notes

  • This is a UI-only change on the budget page; no backend/API changes should be required
  • The filter state management may need to be scoped so that Cost Breakdown reads from the unfiltered data source

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreleased

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions