---
created: 2026-04-08T02:48:27.559Z
title: Chip toggle on-off breaks Product Shipped option grid
area: ui
files:
  - crates/app/src/main.rs:895-974
  - crates/app/src/dashboard/discovery.rs:246-258
  - crates/app/ui/option-grid.slint
---

## Problem

Toggling any chip on then off again makes items in the "Product Shipped" home view disappear until the tab is switched away and back. The product tiles vanish after the filter is cleared even though `filtered_cards` should return to the full set.

Likely a Slint model update or option grid rendering issue in `apply_filters` — the `build_product_tiles` call produces tiles but the Slint grid doesn't re-render them. May be related to the VecModel being replaced with an empty model during the "on" phase and then not properly restoring viewport state when replaced again.

## Solution

TBD — investigate whether:
1. The Slint option grid viewport resets when the model is swapped to empty then back
2. The `set_product_tiles` call needs a viewport reset or scroll-to-top after model swap
3. The tile model identity (Rc pointer) matters for Slint diffing
