Phase 3: Polish — loading indicators, reload, error handling, styling #2

Open
opened 2026-07-06 09:41:57 -06:00 by ppreeper · 0 comments
Owner

Description

Polish the TUI with a spinner during incremental loading, reload capability, error handling for network failures, and visual styling.

Tasks

  • Loading spinner in status bar while fetch is in progress
  • Status showing N/M models loaded updating as each family completes
  • r key to reload all data from ollama.com (re-fetch everything)
  • Error handling: network timeouts, HTTP errors, parse failures — show in status bar with retry option
  • Retry on error with r key
  • Color styling: header colors, selection highlight, detail view borders, status bar, help bar
  • 200ms delay between tag fetches to avoid rate limiting
  • Graceful handling of empty search results (show No models match)

Acceptance Criteria

  • Loading spinner visible during initial fetch
  • r key reloads all data
  • Network errors display in status bar and can be retried
  • Visual styling consistent and readable (dark terminal)
  • No crashes on unexpected HTML structure (graceful parse error)

See PRD.md §9 (Phase 3) for full spec.

## Description Polish the TUI with a spinner during incremental loading, reload capability, error handling for network failures, and visual styling. ## Tasks - [ ] Loading spinner in status bar while fetch is in progress - [ ] Status showing `N/M models loaded` updating as each family completes - [ ] `r` key to reload all data from ollama.com (re-fetch everything) - [ ] Error handling: network timeouts, HTTP errors, parse failures — show in status bar with retry option - [ ] Retry on error with `r` key - [ ] Color styling: header colors, selection highlight, detail view borders, status bar, help bar - [ ] 200ms delay between tag fetches to avoid rate limiting - [ ] Graceful handling of empty search results (show `No models match`) ## Acceptance Criteria - Loading spinner visible during initial fetch - `r` key reloads all data - Network errors display in status bar and can be retried - Visual styling consistent and readable (dark terminal) - No crashes on unexpected HTML structure (graceful parse error) See PRD.md §9 (Phase 3) for full spec.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ppreeper/modelsollama#2
No description provided.