Skip to content

View Refactor#11

Merged
Behemyth merged 40 commits intosynodic:developmentfrom
Behemyth:development
Feb 15, 2026
Merged

View Refactor#11
Behemyth merged 40 commits intosynodic:developmentfrom
Behemyth:development

Conversation

@Behemyth
Copy link
Copy Markdown
Member

No description provided.

Add closeEvent override that cleans up the temporary download directory
when the install preview window is closed. Previously the temp dir
created by PreviewWorker via tempfile.mkdtemp() was never removed.

Also replaced the unused tempfile.TemporaryDirectory field with the
str path that was actually being used.
The download progress dialog had a Cancel button but the canceled
signal was never connected. Clicking Cancel now closes the dialog
and ignores the download result when it completes.
Add auto_update_interval_hours config field (default: 24 hours, 0 to
disable). TrayScreen starts a QTimer that triggers the existing
_on_check_updates handler at the configured interval. The timer is
restarted when update source or channel settings change.

Also extract menu building into _build_menu to keep __init__ under
the statement limit.
Delete synodic_client/schema.py which contained VersionInformation,
UpdateChannel (StrEnum), UpdateStatus, UpdateCheckResult, and
UpdateProgress  none were used outside of __init__.py re-exports.

The canonical UpdateChannel in updater.py is now a StrEnum (was
Enum/auto), replacing the duplicate definition. UpdateState remains
as the single status enum.

Cleans up __init__.py exports to only re-export types from updater.py.
@Behemyth Behemyth merged commit 7c86aa7 into synodic:development Feb 15, 2026
0 of 4 checks passed
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.

1 participant