Repository navigation
AIチャット画面のメッセージや提案カードに控えめな出現アニメーションを追加 - #6503
Conversation
Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UmJAQ1644RV9yhig3smBAT
|
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 (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughDestinationAgentのメッセージリスト、状態表示、操作要素にReanimatedの入退場・レイアウトアニメーションを追加しました。アニメーション仕様とテスト用モックも更新しました。 ChangesDestinationAgent UIアニメーション
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Sequence Diagram(s)sequenceDiagram
participant DestinationAgentScreen
participant FadeInDown
participant AgentTypingIndicator
DestinationAgentScreen->>FadeInDown: 提案カードと状態表示を遅延表示
DestinationAgentScreen->>AgentTypingIndicator: タイピング状態を表示
AgentTypingIndicator->>FadeInDown: ラベルとコンテナに入場アニメーションを適用
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/screens/DestinationAgent/index.tsx`:
- Around line 601-611: Update the Animated.View rendering
destinationAgentDisclaimer in the isEmpty branch to add an entering FadeIn
animation lasting 200ms, configured with ReduceMotion.System so it respects the
OS motion-reduction setting, while preserving the existing exiting animation.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 0d82d615-b2af-42c9-8ca6-4c11570acc70
📒 Files selected for processing (7)
docs/spec/ai-agent/ui.mdsrc/__mocks__/react-native-reanimated-mock.jssrc/screens/DestinationAgent/AgentEmptyState.tsxsrc/screens/DestinationAgent/AgentHeader.tsxsrc/screens/DestinationAgent/AgentInputBar.tsxsrc/screens/DestinationAgent/AgentTypingIndicator.tsxsrc/screens/DestinationAgent/index.tsx
Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UmJAQ1644RV9yhig3smBAT
Fixes Applied SuccessfullyFixed 1 file(s) based on 1 CodeRabbit feedback item(s). Files modified:
Commit: The latest autofix changes are on the |
|
@coderabbitai approve |
✅ Action performedComments resolved and changes approved. |
概要
AIチャット(行き先相談)画面の動きが無骨だったため、既存の
LinearTransition.springify()イディオムと調和する控えめなフェード系アニメーションを追加しました。いずれも Reanimated 既定のReduceMotion.Systemに従うため、OS の「視差効果を減らす」設定では自動的に無効化されます。変更の種類
変更内容
FadeInDown(250ms)に、エラー時の巻き戻し・会話リセット時の消滅をFadeOut(150ms)にした(index.tsx)index.tsx/AgentTypingIndicator.tsx)index.tsx)AgentEmptyState.tsx/index.tsx)AgentInputBar.tsx)AgentHeader.tsx)FadeIn/FadeInDown/FadeOut等のチェーン可能なビルダースタブを追加(src/__mocks__/react-native-reanimated-mock.js)docs/spec/ai-agent/ui.mdのアニメーション仕様の記載を実装に合わせて更新テスト
npm run lintが通ることnpm testが通ることnpm run typecheckが通ること関連Issue
Refs #6475
スクリーンショット(任意)
Summary by CodeRabbit