Skip to content

Add background model downloads and Download all controls - #770

Merged
ShiftHackZ merged 2 commits into
developfrom
feature/download-all-models
Nov 19, 2026
Merged

ShiftHackZ merged 2 commits into
developfrom
feature/download-all-models

Conversation

@ShiftHackZ

@ShiftHackZ ShiftHackZ commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

Description

Adds a pinned Download all action for local model providers, downloading missing models sequentially with current-model progress in the app and total batch progress in the Android notification. Single-model downloads retain concurrency and also run through WorkManager on Android.

Includes cancellation, provider switching with confirmation, completion/failure notifications, stable loading/retry feedback, rounded item interactions and consistent setup action placement. iOS uses application-owned jobs with finite background execution time; durable iOS background transfers and native progress notifications are not included.

Addresses the download-button request in #439. LLM chat is outside the current scope of SDAI.

Checklist

  • I have ensured this PR does not contain any breaking changes for existing functionality
  • I have added automated tests that cover the new behavior and removed obsolete tests and code
  • I have added documentation for any new public APIs and update existing documentation for any changes to public APIs

Validation

  • JDK 17 ciCoverage: 1,666 passed, 28 skipped, no failures; 181 net unit cases added.
  • Both download use cases: 100% line coverage; batch use case: 100% branch coverage.
  • Kotlin lint, presentation architecture check, fullDev APK and shared iOS Simulator compilation passed.
  • Pixel 10 Pro emulator: concurrent downloads, independent cancellation, successful model installation, offline failure and result notifications verified.
  • Initial shimmer/retry visual transitions, whole-catalog completion, process-death recovery and iOS runtime remain outside the verified device coverage.

Tested On

  • Android: Emulator
  • Android: Real device
  • iOS: Simulator
  • iOS: Real iPhone device

@ShiftHackZ ShiftHackZ linked an issue Nov 18, 2026 that may be closed by this pull request
@ShiftHackZ
ShiftHackZ merged commit b97be0e into develop Nov 19, 2026
9 checks passed
@ShiftHackZ
ShiftHackZ deleted the feature/download-all-models branch November 19, 2026 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Download all button

1 participant