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:
@@ -45,14 +45,10 @@ assignees: ''
|
||||
Attach screenshots (for GUI issues) or terminal logs (for CLI errors).
|
||||
|
||||
To collect log files:
|
||||
1. Go to the logs folder:
|
||||
- Windows: %LOCALAPPDATA%\YTSage\logs
|
||||
- macOS: ~/Library/Application Support/YTSage/logs
|
||||
- Linux: ~/.local/share/YTSage/logs
|
||||
2. Delete all files in that folder
|
||||
3. Open the app and reproduce the issue
|
||||
4. Go back to the logs folder - you should find two new log files (ytsage.log, ytsage_errors.log)
|
||||
5. Attach those log files to this issue
|
||||
1. Open YTSage and reproduce the issue.
|
||||
2. Click the **About** button.
|
||||
3. Click **Logs** (📂) to open the logs folder.
|
||||
4. Attach `ytsage.log` and `ytsage_error.log`.
|
||||
|
||||
Use ``` to format logs:
|
||||
-->
|
||||
|
||||
Reference in New Issue
Block a user