-
Notifications
You must be signed in to change notification settings - Fork 3
feat: 페이지 전환 애니메이션 임시 제거 #501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
feat: 페이지 전환 임시 제거
|
Caution Review failedThe pull request is closed. WalkthroughRemoves PageTransitionWrapper usage from Router and refactors its internal navigation/animation logic. Eliminates scroll-to-top side effect, adjusts how push/pop/replace animations are determined based on isBack and navigateType, and renders Routes directly in Router without the wrapper. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant U as User
participant R as Router
participant PTW as PageTransitionWrapper
participant RT as Routes
rect rgba(230, 240, 255, 0.5)
Note over R,PTW: Previous flow
U->>R: Navigate
R->>PTW: Render with location
PTW->>PTW: Decide animation<br/>(isBack / navigateType)
PTW->>RT: Render routes with transition classes
end
sequenceDiagram
autonumber
participant U as User
participant R as Router
participant RT as Routes
rect rgba(235, 255, 235, 0.5)
Note over R,RT: New flow
U->>R: Navigate
R->>RT: Render routes directly
end
Note over U,R: Animation decision now internal to PTW (refactored), but wrapper not used by Router.
sequenceDiagram
autonumber
participant Nav as Navigation State
participant Anim as Animation Selector
rect rgba(255, 248, 225, 0.6)
Note over Nav,Anim: Refined animation logic
Nav->>Anim: isBack, navigateType
alt isBack == true
Anim-->>Nav: "navigate-pop"
else navigateType == "PUSH" && !isBack
Anim-->>Nav: "navigate-push"
else navigateType == "REPLACE" && !isBack
Anim-->>Nav: "" (no animation)
end
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
Tip 👮 Agentic pre-merge checks are now available in preview!Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.
Please see the documentation for more information. Example: reviews:
pre_merge_checks:
custom_checks:
- name: "Undocumented Breaking Changes"
mode: "warning"
instructions: |
Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).Please share your feedback with us on this Discord post. 📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
✨ Finishing touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
작업 내용
문제점 및 어려움
해결 방안
공유 사항
Summary by CodeRabbit
New Features
Refactor
Style
Bug Fixes