- Saved recipes: save/unsave, star rating, notes, tags, collections (migrations 018-020) - Recipe browser: domain/category browsing with pantry match badges, pagination - Recipe detail panel: full directions, ingredient checklist, swap candidates, prep notes - Grocery links: affiliate links for missing ingredients - Nutrition filters and display chips on recipe cards - Bookmark toggle persisted to saved_recipes table - Tier gates on saved recipes (paid) and collections (premium) - Browser telemetry for domain/category click tracking - Cloud compose: CLOUD_DATA_ROOT volume mount for per-user SQLite trees - manage.sh: cf-orch agent sidecar in local stack - README: updated feature list and stack description
13 lines
551 B
SQL
13 lines
551 B
SQL
-- Migration 020: recipe browser navigation telemetry.
|
|
-- Used to determine whether category nesting depth needs increasing.
|
|
-- Review: if any category has page > 5 and result_count > 100 consistently,
|
|
-- consider adding a third nesting level for that category.
|
|
|
|
CREATE TABLE browser_telemetry (
|
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
domain TEXT NOT NULL,
|
|
category TEXT NOT NULL,
|
|
page INTEGER NOT NULL,
|
|
result_count INTEGER NOT NULL,
|
|
recorded_at TEXT NOT NULL DEFAULT (datetime('now'))
|
|
);
|