Repository navigation
AIエージェント画面の送信ボタンのレイアウト崩れとヘッダータイトルの中央ズレを修正 - #6483
Merged
Merged
Conversation
Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01L4r58fBSL4RBLU1mGiehVM
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughDestinationAgentのヘッダー配置を左右コンテナ構造へ変更し、入力欄の行高・縦余白と最大高さ計算を定数化しました。 ChangesDestinationAgent UI
Estimated code review effort: 3 (Moderate) | ~15 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
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.
概要
AIエージェント行き先相談画面(PoC #6475)の 2 件のレイアウト不具合を修正する。
変更の種類
変更内容
AgentInputBar:TextInputにlineHeight: 24とpaddingVertical: 12を明示し、1 行時の高さを送信ボタンと同じ 48pt に固定。日本語プレースホルダーがフォールバックフォントで描画されると行高が約 32pt に膨らみ、バー全体が約 60pt になって下端揃えの送信ボタン(48pt)の上に白い隙間ができていた。MAX_INPUT_HEIGHTも同じ定数から算出するよう更新し、不要になったプラットフォーム別paddingVertical分岐とPlatformimport を削除。AgentHeader: 戻るボタン(44pt)と「会話をリセット」ボタン(約 100pt)の幅差でタイトルが左に寄っていたため、左右を同じflex: 1のラッパー View で挟む構造に変更してタイトルを画面の左右中央に配置。リセット非表示時のプレースホルダー View は不要になったため削除。テスト
npm run lintが通ることnpm testが通ることnpm run typecheckが通ることnpx jest src/screens/DestinationAgent(6 件)もパス。視覚的な変更のため、dev ビルドでの実機確認(上限到達状態の入力バー、LED テーマ、リセットボタン非表示時のヘッダー)を推奨。関連Issue
Refs #6475
スクリーンショット(任意)
Summary by CodeRabbit