Repository navigation
feat: 詳細表示モード(全画面)を実装 - #28
Merged
Merged
Conversation
Enterキーで詳細表示モードに切り替え、全画面でMarkdownを表示・スクロールできる機能を実装しました。
実装内容:
- handleKeyPress() の更新
- 詳細表示モード時の特別なキーバインドを実装
- j/k または 上下矢印: スクロール
- g: 先頭へジャンプ
- G: 末尾へジャンプ
- d: 半ページ下にスクロール
- u: 半ページ上にスクロール
- q/Esc: リスト選択モードに戻る
- Enter キーで詳細表示モードに切り替え
- updateDetailView() 関数を実装
- viewportのサイズを全画面用に調整
- Markdownをレンダリング
- 先頭にジャンプ
- renderDetail() を全画面表示に更新
- ヘッダー表示(Task #X/Y)
- viewport で全画面表示
- 区切り線
- 操作ガイド
- styles.go の更新
- DetailHeaderStyle を追加(青色背景)
機能:
- Enter キーで全画面詳細表示に切り替え
- タスクの全文を快適に閲覧
- j/k でスムーズにスクロール
- g/G で先頭/末尾に即座にジャンプ
- d/u で半ページスクロール
- q/Esc でリスト表示に戻る
- Markdownの美しいレンダリング
受け入れ基準:
✅ Enter キーで全画面表示に切り替わる
✅ タスクの全文が表示される
✅ j/k でスクロールできる
✅ gg/G で先頭/末尾にジャンプできる
✅ q でリスト選択モードに戻る
✅ 長文タスクが快適に閲覧できる
Closes #14
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.
概要
Enterキーで詳細表示モードに切り替え、全画面でMarkdownを表示・スクロールできる機能を実装しました。
関連Issue
Closes #14
実装内容
受け入れ基準
✅ すべての機能が動作
Closes #14