[Agent] feat(logs): RetroArch log file browser (#3612)#3614
[Agent] feat(logs): RetroArch log file browser (#3612)#3614github-actions[bot] merged 5 commits intodevelopfrom
Conversation
|
@claude please do a self-review pass on this PR: Verify all changed files compile (check for unresolved symbols, missing imports, type mismatches) |
✅ Self-Review CompleteIssues Found & Fixed
SummaryAll fixes pushed in commit |
Self-Review Pass — Issues Found & FixedReviewed 🔴 Bug Fix:
|
cfaad62 to
1c2436f
Compare
|
@claude please do a self-review pass on this PR: Verify all changed files compile (check for unresolved symbols, missing imports, type mismatches) |
Self-Review: Issues Found & FixedIssues Fixed1. Static 2. 3. Errors silently swallowed in async I/O 4. No Changes Needed
|
7411f13 to
bd79a80
Compare
|
@claude please do a self-review pass on this PR: Verify all changed files compile (check for unresolved symbols, missing imports, type mismatches) |
Self-Review ResultsSelf-review pass complete. Three issues found and fixed in Issues Fixed
Verified Clean
|
Adds Settings › Debug › RetroArch Logs — a new view listing all files from Documents/RetroArch/logs/. Each file can be viewed inline, shared via the iOS share sheet, or deleted individually or in bulk. Part of #3612 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Remove unused PVLogging import - Convert ObservableObject+@published to @observable macro (iOS 17+) - Fix .alert binding from non-writable .constant() to proper Binding - Guard .onDelete in #if !os(tvOS) (not available on tvOS) - Replace UIActivityViewController wrapper with ShareLink (iOS 16+) - Simplify file filter to !hasDirectoryPath (previous OR chain was redundant) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Replace static lazy logsDirectory (cached nil) with dynamic existence check each load — directory is now detected after RetroArch creates it - Make loadFiles() async with Task.detached I/O so ProgressView renders - Propagate I/O errors via Result instead of silently swallowing them - Fix onDelete to snapshot entries before mutation to prevent index shifts Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…OS-unavailable textSelection
a239cf0 to
8dcc2bb
Compare
|
@claude please do a self-review pass on this PR: Verify all changed files compile (check for unresolved symbols, missing imports, type mismatches) |
…wserView - Wrap navigationBarTitleDisplayMode(.inline) in #if !os(tvOS) guards (iOS-only modifier; confirmed pattern from HomeView.swift:327,363) - Use .topBarTrailing placement instead of deprecated .navigationBarTrailing - Fix settings row icon: gamecontroller -> doc.text.below.ecg Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
🔍 Self-Review ResultsReviewed all 3 changed files. Found and fixed 3 issues in Issues Fixed (commit
|
Summary
Documents/RetroArch/logs/Files Changed
RetroArchLogBrowserView.swiftSettingsSwiftUI.swiftTest plan
Part of #3612
🤖 Generated with Claude Code