feat: ゾンビタスクの管理機能を強化#293
Draft
snow7y wants to merge 6 commits into
Draft
Conversation
- `cleanup_components.py`: - `ZombieTaskData`に`completed`フィールドを追加し、タスクの完了状態を管理。 - `ZombieTaskCard`クラスに完了タスクの表示ロジックを追加し、完了したタスクのスタイルを変更。 - 完了タスクの内容を表示するためのメソッド`_build_completed_content`を追加。 - `controller.py`: - ゾンビタスクのアクションを実行する`execute_task_actions`メソッドを追加し、選択されたアクションに基づいてタスクを処理。 - タスクの決定を収集する`_collect_task_decisions`メソッドを追加。 - `state.py`: - ゾンビタスクの完了状態を管理するための新しいフィールドを追加。 - サブタスクのドラフトを管理するためのメソッドを追加。 - `view.py`: - ゾンビタスクのアクションを実行するボタンを追加し、UIを改善。 - サブタスクのドラフトを表示するための新しいメソッドを追加。 - テスト: - 新しい機能に対するユニットテストを追加し、タスクのアクション実行やサブタスクの承認・破棄の動作を確認。
- models/__init__.py: 新しいモデル `WeeklyReviewMemoDecision` と `WeeklyReviewMemoTaskInfo` をインポート - models/review.py: メモに対するアクション決定を表す `WeeklyReviewMemoDecision` クラスを追加し、メモ起点のタスク情報を管理する `WeeklyReviewMemoTaskInfo` クラスを追加 - views/weekly_review/components/cleanup_components.py: 未処理メモカードに完了状態を追加し、完了したメモの表示を改善 - views/weekly_review/controller.py: メモアクションの実行を管理するロジックを追加し、タスクとメモのアクションを同時に処理 - views/weekly_review/state.py: メモのドラフトタスクと完了状態を管理するための新しいフィールドを追加 - views/weekly_review/view.py: メモ起点のタスク案を表示するためのUIコンポーネントを追加 - tests/logic/application/test_review_application_service.py: メモタスクの作成とアーカイブ、スキップのテストを追加 - tests/logic/services/test_weekly_review_action_service.py: メモタスクの作成、アーカイブ、スキップに関するテストを追加 - tests/views/weekly_review/test_controller.py: メモドラフトの記録とメモタスクの承認・破棄に関するテストを追加
…view-task-segmentation-agent
- 週次レビューに関連する新しいモデルを追加しました。 - 不要なインポートを削除し、インポート文を整理しました。
- ReviewCopilotAgentで、bulletsがNoneの場合のみフォールバックするように変更 - WeeklyReviewActionServiceで、親IDがゼロUUIDまたは存在しない場合にフォールバックする処理を追加
- scripts/remove_database.py: データベースファイルを削除するスクリプトを新規作成 - pyproject.toml: データベース削除スクリプトのコマンドを追加 - scripts/seed_sample_data.py: メモシードに学内SNSアプリのアイデアを追加 - src/views/projects/controller.py: タスク更新後に詳細と一覧を即座に再描画する処理を追加 - src/views/projects/view.py: 非同期生成直後の再描画プローブを実装
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
このセクションでは、このPRの目的と概要を簡潔に説明してください。
変更点
このセクションでは、具体的な変更点や修正箇所を箇条書きでリストアップしてください。
cleanup_components.py:ZombieTaskDataにcompletedフィールドを追加し、タスクの完了状態を管理。ZombieTaskCardクラスに完了タスクの表示ロジックを追加し、完了したタスクのスタイルを変更。_build_completed_contentを追加。controller.py:execute_task_actionsメソッドを追加し、選択されたアクションに基づいてタスクを処理。_collect_task_decisionsメソッドを追加。state.py:view.py:テスト:
関連Issue
このセクションでは、このPRが関連するIssueをリンクしてください。以下のように記述します。