Skip to content

feat: add date range filter to order list (Option A) #184

Description

@Noro18

Problem: As orders accumulate over years, the order list becomes cluttered with old completed/cancelled orders, making it hard to find recent ones.

Solution: Add a date range filter chip row (Ohin / Semana ida / Fulán ida / 3 Fulán / Hotu) to OrderListScreen. Combine with the existing status filter. The DAO already has getOrdersByDate() — just need a combined status + date query.

Scope:

  • Add DAO query: getOrdersByStatusAndDatePrefix(status, datePrefix)
  • Expose in OrderRepository
  • Add selected date range to OrderViewModel/OrderUiState
  • Add date range chip row in OrderListScreen
  • No schema changes needed

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions