Filter history: order list integration - #16422
Conversation
|
|
cf50664 to
87091f0
Compare
There was a problem hiding this comment.
AI Code Review - Found 1 potential issue
The feature is well structured: the shared FilterHistoryRepository/FilterHistoryViewModel are reused cleanly, the payload encoding is canonicalized for reliable dedup, the save runs fire-and-forget on the app scope with failures swallowed, and the test coverage (mapper round-trip, save use case, both ViewModels) is thorough. One correctness issue on the custom-date-range round-trip is called out inline.
PR housekeeping
- Applied repo
AGENTS.md/CLAUDE.mdguidance: store-app MVVM patterns (ScopedViewModel, triggerEvent/MultiLiveEvent, repository-mediated data access) are followed correctly.
Automatic review · claude-opus-4-8 · Workflow run
How to reply to a finding
Reply on this review (or inline at the line the finding refers to) with one of:
@claude addressed- I made the change. Bot verifies against the next diff before marking resolved.@claude rejected: <reason>- Will not fix; reason gets quoted on the next review.@claude not-applicable- Finding does not apply (wrong file, already covered elsewhere, etc.).
The bot honours these on the next review pass.
ed405c6 to
19457e2
Compare
2f8e712 to
349de92
Compare
Adds a flag-gated clock entry point on the order filter screens, saves the current selection to history on Show Orders (via SaveOrderFilterToHistory on the app scope), and applies a picked past filter. Part 3 of WOOMOB-3326 (WOOMOB-3826).
349de92 to
7182f38
Compare

Part of WOOMOB-3326 — WOOMOB-3826
Description
Third PR in the filter history stack: wires the shared history screen (#16421) into the order list filters. Behind the
FILTER_HISTORYflag.source=ordersand tracksfilter_history_button_tapped.SaveOrderFilterToHistoryuse case that reads the full selection fromOrderFiltersRepository(the source of truth) and runs fire-and-forget on the app scope, so navigation isn't blocked and a rare failure can't crash the app.OrderFilterHistoryMapperproduces a canonical JSON payload (stable dedup) and a readable label.Test Steps
Enable Filter History in the developer feature-flag screen, then on the Orders tab:
source=orders.Images/GIFs
Screen_recording_20260817_102514.mp4