[PR #13512] [MERGED] app: add upgrade configuration to settings page #40120

Closed
opened 2026-04-23 01:06:03 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13512
Author: @hoyyeva
Created: 12/17/2025
Status: Merged
Merged: 2/23/2026
Merged by: @hoyyeva

Base: mainHead: hoyyeva/upgrade-config


📝 Commits (6)

📊 Changes

11 files changed (+652 additions, -61 deletions)

View changed files

📝 app/cmd/app/app.go (+25 -2)
📝 app/store/database.go (+31 -17)
📝 app/store/store.go (+3 -0)
📝 app/ui/app/codegen/gotypes.gen.ts (+2 -0)
📝 app/ui/app/src/components/Settings.tsx (+24 -0)
📝 app/ui/ui.go (+23 -0)
📝 app/ui/ui_test.go (+183 -0)
📝 app/updater/updater.go (+85 -19)
📝 app/updater/updater_test.go (+276 -3)
📝 app/wintray/tray.go (+0 -19)
📝 app/wintray/w32api.go (+0 -1)

📄 Description

This PR adds a user-configurable toggle to enable or disable automatic updates in the app.

  • Add an "Auto-download updates" toggle to the Settings page, allowing users to control whether Ollama
    automatically downloads new versions
  • When disabled, the background updater still checks for updates but skips downloading; any in-flight
    download is cancelled immediately
  • When re-enabled, triggers an immediate update check or shows a tray notification if an update was
    already downloaded
  • Previously downloaded updates continue to show "Restart to update" in the tray menu regardless of the
    toggle state

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/13512 **Author:** [@hoyyeva](https://github.com/hoyyeva) **Created:** 12/17/2025 **Status:** ✅ Merged **Merged:** 2/23/2026 **Merged by:** [@hoyyeva](https://github.com/hoyyeva) **Base:** `main` ← **Head:** `hoyyeva/upgrade-config` --- ### 📝 Commits (6) - [`24d07c1`](https://github.com/ollama/ollama/commit/24d07c1a7234951c3bea1ec80c6fecb2ec9c301d) app: add upgrade configuration to settings page - [`68af976`](https://github.com/ollama/ollama/commit/68af9769530fd2916ceb24d6de2268c4346a3139) ui: simplify the feature to not checking version - [`15314ca`](https://github.com/ollama/ollama/commit/15314ca456a88ebc60af4612dafe50cf9fa16333) fix test - [`0ee2ce1`](https://github.com/ollama/ollama/commit/0ee2ce1b1f1c3a70a274adb608e823a07611ec3e) merge conflict - [`1cd245f`](https://github.com/ollama/ollama/commit/1cd245f647906c877c57ebf2fe65c32965f6d4d5) add test - [`2c2491e`](https://github.com/ollama/ollama/commit/2c2491e04edcad548fa119fa3aa4d824e7d6920f) fix testing ### 📊 Changes **11 files changed** (+652 additions, -61 deletions) <details> <summary>View changed files</summary> 📝 `app/cmd/app/app.go` (+25 -2) 📝 `app/store/database.go` (+31 -17) 📝 `app/store/store.go` (+3 -0) 📝 `app/ui/app/codegen/gotypes.gen.ts` (+2 -0) 📝 `app/ui/app/src/components/Settings.tsx` (+24 -0) 📝 `app/ui/ui.go` (+23 -0) 📝 `app/ui/ui_test.go` (+183 -0) 📝 `app/updater/updater.go` (+85 -19) 📝 `app/updater/updater_test.go` (+276 -3) 📝 `app/wintray/tray.go` (+0 -19) 📝 `app/wintray/w32api.go` (+0 -1) </details> ### 📄 Description This PR adds a user-configurable toggle to enable or disable automatic updates in the app. - Add an "Auto-download updates" toggle to the Settings page, allowing users to control whether Ollama automatically downloads new versions - When disabled, the background updater still checks for updates but skips downloading; any in-flight download is cancelled immediately - When re-enabled, triggers an immediate update check or shows a tray notification if an update was already downloaded - Previously downloaded updates continue to show "Restart to update" in the tray menu regardless of the toggle state --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-23 01:06:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#40120