-
Notifications
You must be signed in to change notification settings - Fork 4
refactor: migration to output function #53
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
refactor: migration to output function #53
Conversation
WalkthroughMigrates several components away from standalone metadata and replaces EventEmitter/Input/Output patterns with Angular signal-style APIs ( Changes
Sequence Diagram(s)sequenceDiagram
participant Comp as Component (new)
participant Parent as Parent
rect rgb(230, 250, 230)
Note over Comp: Uses signal-style outputs\n(e.g., dateChange = output<T>())
end
Comp->>Comp: produce event payload
Comp-->>Parent: expose signal output (subscribe/read)
Parent->>Parent: react to signal (handler invoked)
sequenceDiagram
participant CompOld as Component (old)
participant Parent as Parent
rect rgb(250, 230, 230)
Note over CompOld: Used EventEmitter\n(comp.emit(payload))
end
CompOld->>Parent: emit(payload) via EventEmitter
Parent->>Parent: handler invoked by subscription
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (7)
💤 Files with no reviewable changes (3)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (5)
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 |
8af91aa to
20211e3
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #53 +/- ##
==========================================
- Coverage 72.18% 71.65% -0.54%
==========================================
Files 4 4
Lines 320 314 -6
Branches 54 54
==========================================
- Hits 231 225 -6
Misses 79 79
Partials 10 10
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
@Output()decorator.What is the new behavior?
Migration to
output()function.Does this PR introduce a breaking change?
Summary by CodeRabbit
Refactor
Tests