Commit History
-
refactor: remove unused methods identified by vulture (#6)
Kyosuke IchikawaUnverified signature- Remove 22 unused methods with confidence 60%+ across multiple files - app.py: removed create_user_session, extract_file_text, _create_recovery_progress_html, update_audio_button_state, reset_audio_state_and_components_with_browser_state, generate_podcast_audio_streaming_with_browser_state - user_session.py: removed from_dict, save_to_file, get_session_restoration_info, prepare_network_recovery, can_resume_audio_generation, cleanup, update_audio_generation_state, is_audio_generation_active, needs_api_key_restoration, get_recovery_progress_info, _cleanup_directory, _check_audio_generation_completion, and 5 legacy wrapper methods - audio_generator.py: removed _generate_and_combine_audio - text_processor.py: removed get_current_model, get_document_type - tests: updated unused variable documentation, removed obsolete test files - All methods verified as truly unused through detailed grep analysis - Code maintains full functionality while improving maintainabilityc3b6480
-
style: Apply comprehensive ruff formatting across entire codebase
- Formatted 27 files with ruff formatter for consistent code style - Ensures all code follows unified formatting standards - Completes the migration from black/isort to ruff formattingdd82ad4 -
feat: Migrate from isort, black, flake8 to ruff for unified linting and formatting
- Replace isort, black, flake8, autoflake with single ruff dependency - Configure ruff with equivalent settings for formatting, import sorting, and linting - Update Makefile commands to use 'ruff check' and 'ruff format' - Update pre-commit hooks to use ruff-pre-commit - Update VS Code tasks for new ruff commands - Update requirements.in and requirements-lint.txt dependencies - Format codebase with ruff (14 files reformatted) Benefits: - 10-100x faster than previous toolchain - Unified configuration in pyproject.toml - Additional linting rules (flake8-bugbear, flake8-simplify) - Reduced dependency count and simpler setup Note: Existing line length and linting issues will be addressed in follow-up commits6a48ef2
-
feat: Implement comprehensive session persistence system
- Add session state serialization and deserialization methods to UserSession - Implement file-based session persistence with JSON storage - Update app.py to restore existing sessions on browser reconnection - Add automatic session saving on all state changes - Exclude API keys from persistence for security - Add comprehensive session persistence test suite - Update documentation with session management architecture - Add CLAUDE.md reference to design.md - Add development rule prohibiting --no-verify5e96c67
-
refactor: Clean up code formatting and improve readability across multiple files
e3c68ad
-
Refactor TextProcessor API type handling in tests and main application
f3e28db -
Refactor API handling in TextProcessor and PaperPodcastApp to use APIType enumeration
31d6c52
-
Refactor unit tests for SessionManager and TextProcessor classes
2652f92
-
Refactor character handling: replace hardcoded character lists with dynamic retrieval from Character enum and update related methods for consistency
3c59fd6
-
アプリケーションの構成を変更し、appモジュールをyomitalkに移動しました。また、関連するテストファイルや設定ファイルも新しいパスに合わせて修正しました。これにより、コードの整理と一貫性が向上しました。
9cae871
-
ポッドキャスト生成アプリにおいて、音声生成ボタンの状態を利用規約チェックボックスとポッドキャストテキストの有無に基づいて更新する機能を追加しました。また、関連するE2Eテストを強化し、ボタンの有効/無効状態を確認するシナリオを追加しました。これにより、ユーザーインターフェースの操作性が向上しました。
41228b6
-
ポッドキャスト生成アプリにおいて、ドキュメントタイプとポッドキャストモードの選択機能を追加しました。新たにEnumを使用して型安全性を向上させ、UIの選択状態がシステムログに反映されるようにしました。また、E2Eテストを追加し、ドキュメントタイプとポッドキャストモードの変更が正しく機能することを確認しました。これにより、ユーザーの利便性が向上しました。
e430362
-
リファクタリング: 文字列リテラルの代わりにPodcastModeのEnumを使用して型安全性を向上
25ee338
-
Google Gemini APIを追加し、テキスト生成機能を強化しました。アプリケーションのREADMEを更新し、インストール手順やAPIキー設定方法を明確にしました。また、OpenAIとGeminiのAPI設定を切り替える機能を実装し、関連するユニットテストを追加しました。これにより、ユーザーは両方のAPIを利用できるようになり、ポッドキャスト生成の柔軟性が向上しました。
fd63faf
-
ポッドキャスト生成モジュールのリファクタリングを行い、プロンプトテンプレートの設定機能を削除しました。また、キャラクター設定のUIを改善し、キャラクター選択の自動保存機能を実装しました。これにより、コードの可読性とユーザー体験が向上しました。
72917ff
-
PDFExtractorを改善: 論文構造依存を削除し空間的位置関係に基づく改行挿入に変更。テストも更新
2bbfbed
-
Initial commit: Set up YomiTalk project
e41e94d