project-nomad/admin/app/controllers
Chris Sherwood 5afc3a270a feat: Improve curated collections UX with persistent tier selection
- Add installed_tiers table to persist user's tier selection per category
- Change tier selection behavior: clicking a tier now highlights it locally,
  user must click "Submit" to confirm (previously clicked = immediate download)
- Remove "Recommended" badge and asterisk (*) from tier displays
- Highlight installed tier instead of recommended tier in CategoryCard
- Add "Click to choose" hint when no tier is installed
- Save installed tier when downloading from Content Explorer or Easy Setup
- Pass installed tier to modal as default selection

Database:
- New migration: create installed_tiers table (category_slug unique, tier_slug)
- New model: InstalledTier

Backend:
- ZimService.listCuratedCategories() now includes installedTierSlug
- New ZimService.saveInstalledTier() method
- New POST /api/zim/save-installed-tier endpoint

Frontend:
- TierSelectionModal: local selection state, "Close" → "Submit" button
- CategoryCard: highlight based on installedTierSlug, add "Click to choose"
- Content Explorer: save tier after download, refresh categories
- Easy Setup: save tiers on wizard completion

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 15:33:50 -08:00
..
benchmark_controller.ts fix(Benchmark): use node:crypto IFO uuid package 2026-01-22 21:48:12 -08:00
docs_controller.ts fix(Docs): fix doc rendering 2025-07-11 15:31:07 -07:00
downloads_controller.ts feat: background job overhaul with bullmq 2025-12-06 23:59:01 -08:00
easy_setup_controller.ts fix(CuratedCategories): improve fetching from Github 2026-01-19 14:41:51 -08:00
home_controller.ts fix(OSM): osm installation 2025-08-20 23:05:19 -07:00
maps_controller.ts feat(Maps): enhance missing assets warnings 2026-01-15 15:54:59 -08:00
openwebui_controller.ts feat(Open WebUI): manage models via Command Center 2026-01-19 22:15:52 -08:00
settings_controller.ts feat: Add system benchmark feature with NOMAD Score 2026-01-22 21:48:12 -08:00
system_controller.ts feat: force-reinstall option for apps 2026-01-19 22:50:15 -08:00
zim_controller.ts feat: Improve curated collections UX with persistent tier selection 2026-01-24 15:33:50 -08:00