Overview
Stash management is the core data backbone of High IQ. Every strain the user owns, consumes, or finishes passes through the stash lifecycle. This flow documents the complete stash item journey from creation through consumption to archival, including all interactions and edge cases.Stash Item Lifecycle
Adding a Strain — All Entry Points
Consumption Tracking Flow
Stash Screen Interaction Flow
Bulk Operations Flow
Restock Prediction Flow
Edge Cases
| Scenario | Behavior |
|---|---|
| Add duplicate strain (same name) | Allowed — creates separate stash entry |
| Add strain with 0 quantity | Allowed — shows “unknown amount” |
| Change quantity to higher value | Allowed — no consumption event logged |
| Delete last stash item | Empty state shown with “Add First Strain” CTA |
| Offline when adding | Queued locally, Convex syncs when online |
| Add strain that was previously marked empty | Creates new entry, separate from archived one |
| Edit strain name after adding | Changes display name, does not re-link database |
| Very large stash (100+ items) | Lazy loading, smooth scrolling maintained |
| Switch card variant | Preference persisted across sessions |
| Sort + variant combined | Both applied simultaneously |
| Pull to refresh with no changes | Toast confirms “Up to date” |
Related Flows
Order Upload
How orders add items to your stash.
Notebooks
Generating notebooks from stash data.
Collection & Rankings
How stash feeds into collection and ELO rankings.
Stats Dashboard
Stash data powering analytics.
