You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: Code quality improvements and testing (#73)
* refactor: Code quality improvements and testing
Quick Wins:
- Fix typo: orignalList -> originalList
- Add logger package for proper logging
- Replace all print statements with logger calls
- Fix silent catch blocks with proper error logging
Error Handling:
- Add comprehensive HTTP error handling in updater_bloc
- Add response status validation and null checks
- Add proper try-catch with logging throughout
Refactoring:
- Refactor triple-nested BlocBuilders in start_stop_button using context.select
- Extract button logic into separate _handlePress method
- Clean up process_tile.dart catch blocks
Accessibility:
- Add Tooltip to start/stop button
- Add semantic labels to icons
- Add Tooltip and Semantics to add files button
- Add const constructors where applicable
Testing:
- Add comprehensive tests for DashboardBloc (5 tests)
- Add comprehensive tests for ProcessBloc (4 tests)
- Total: 14 passing tests
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix: Improve CCExtractor binary path resolution
- Fix path resolution to check bundled executable first, then fall back
to system PATH (was incorrectly detecting non-executable files)
- Add debug logging to extraction process for troubleshooting
- Log CCExtractor stdout/stderr output for visibility
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* style: Apply dart format
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* style: Format test file
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* ci: Update GitHub Actions to latest versions
- Update actions/checkout from v2.3.4 to v4
- Update subosito/flutter-action from v1.5.3 to v2
- Update actions/upload-artifact from v2 to v4
- Pin Flutter version to 3.27.2 for consistency
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* ci: Remove deprecated flutter config commands
Desktop support is enabled by default in Flutter 3.x, no need to
explicitly enable it. Also fix apt-get to run update first.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* ci: Fix Windows build output path for Flutter 3.x
Flutter 3.x outputs Windows builds to build/windows/x64/runner/Release
instead of build/windows/runner/Release.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments