Skip to content

improve networking, updates, ux - #10

Merged
bretth18 merged 5 commits into
mainfrom
b/improve-network-and-updates
Jul 15, 2026
Merged

improve networking, updates, ux#10
bretth18 merged 5 commits into
mainfrom
b/improve-network-and-updates

Conversation

@bretth18

@bretth18 bretth18 commented Jul 15, 2026

Copy link
Copy Markdown
Owner

Description

This PR makes significant changes to the update management and network monitoring components of the project, as well as some project configuration updates. The main focus is on replacing the old update mechanism with a new GitHub-based update client, introducing new models and views for update handling, and cleaning up related tests and references. Additionally, the project now includes a network monitoring utility and makes minor changes to the app’s Info.plist.

Update system overhaul:

  • Removed UpdateChecker.swift and related references, replacing it with a new set of update-related files: UpdateState.swift, GitHubRelease.swift, GitHubAsset.swift, GitHubUpdateClient.swift, and UpdatePromptSheet.swift. This modernizes the update flow to use GitHub Releases and introduces new models and a prompt sheet for update notifications. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
  • Updated the test suite by replacing UpdateCheckerTests.swift with UpdateStateTests.swift to align with the new update logic. [1] [2] [3] [4]

Network monitoring:

  • Added a new NetworkMonitor.swift utility, included in both the project and build phases, to provide network monitoring capabilities. [1] [2] [3] [4]

Project and configuration updates:

  • Incremented the project version from 9 to 10 in the Xcode project settings. [1] [2]
  • Updated Info.plist to add the LSUIElement key (making the app a UIElement/background app) and removed unused or unnecessary usage description keys.

These changes modernize the update-handling infrastructure, improve test coverage for the new logic, add network monitoring, and streamline the app’s configuration.

UX updates:

Future work

  • remove dead code
  • improved social filtering

How to test

  • Ensure all checks pass

Author checklist

This PR:

  • Satisfies a goal that is specific & clearly motivated
  • Adds value in isolation (whether user-facing or sustainability-related)
  • Contains a concise & easy-to-understand title + description
  • Adheres to SRP by default
  • Presents the best possible implementation to meet its goal, given constraints at hand

@bretth18 bretth18 self-assigned this Jul 15, 2026
@bretth18
bretth18 merged commit 647ed62 into main Jul 15, 2026
2 checks passed
@bretth18
bretth18 deleted the b/improve-network-and-updates branch July 15, 2026 23:10
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.

Main Application window is always present

1 participant