Add Open Logs button and simplify bug template

Add an 'Open Logs' button to the About dialog that opens the app log folder via QDesktopServices/QUrl, ensures the log directory exists, and logs warnings/errors. Include minimal styling and a handler (open_logs_folder) that uses APP_LOG_DIR and the logger. Also update settings dialog imports to include QUrl/QDesktopServices and APP_LOG_DIR. Simplify the bug report template to instruct users to open logs from the About dialog and attach ytsage.log / ytsage_error.log.
This commit is contained in:
oop7
2026-02-10 13:50:03 +02:00
parent 96cade3226
commit f33122fecd
3 changed files with 53 additions and 10 deletions
@@ -9,7 +9,8 @@ from datetime import datetime
import requests
from packaging import version as version_parser
from PySide6.QtCore import Qt, QTimer
from PySide6.QtCore import Qt, QTimer, QUrl
from PySide6.QtGui import QDesktopServices
from PySide6.QtWidgets import (
QButtonGroup,
QCheckBox,
@@ -30,6 +31,7 @@ from PySide6.QtWidgets import (
from ...utils.ytsage_logger import logger
from ...utils.ytsage_localization import _
from ...utils.ytsage_config_manager import ConfigManager
from ...utils.ytsage_constants import APP_LOG_DIR
class DownloadSettingsDialog(QDialog):