-
Notifications
You must be signed in to change notification settings - Fork 272
Improve debug attachment with download attempt time and playback issues #4867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR enhances the debug attachment generated for support by improving the formatting and content of episode issue reporting. The changes make it easier to correlate user support requests with specific issues by adding timestamps and organizing information more clearly.
Key changes:
- Added playback issues section alongside existing download issues
- Ordered both issue types by attempt time (most recent first) with human-readable timestamps
- Converted some blocking database calls to proper coroutine/suspend functions
- Improved section header formatting to be dynamically sized
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| Support.kt | Main changes: refactored debug output to include playback issues, added timestamp formatting, improved section headers, and removed runBlocking calls |
| PodcastManager.kt | Added suspend function interface for countPodcasts() |
| PodcastManagerImpl.kt | Implemented the new suspend countPodcasts() function |
| PodcastDao.kt | Added suspend database query function count() |
...es/repositories/src/main/java/au/com/shiftyjelly/pocketcasts/repositories/support/Support.kt
Outdated
Show resolved
Hide resolved
...es/repositories/src/main/java/au/com/shiftyjelly/pocketcasts/repositories/support/Support.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
...es/repositories/src/main/java/au/com/shiftyjelly/pocketcasts/repositories/support/Support.kt
Outdated
Show resolved
Hide resolved
sztomek
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, worked fine
…/pocketcasts/repositories/support/Support.kt Fix unit pluralisation Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.
Description
This change makes some improvements to the support debug attachement.
Before
After
Testing Instructions
Checklist
./gradlew spotlessApplyto automatically apply formatting/linting)modules/services/localization/src/main/res/values/strings.xmlI have tested any UI changes...