-
Notifications
You must be signed in to change notification settings - Fork 39
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
feat(chrome-devtools): add a panel to see the current value of all available facts #2685
base: main
Are you sure you want to change the base?
Conversation
View your CI Pipeline Execution ↗ for commit fd8945b.
☁️ Nx Cloud last updated this comment at |
4175037
to
3fca27f
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files☔ View full report in Codecov by Sentry. |
...ges/@o3r/rules-engine/src/components/rules-engine/facts-snapshot/facts-snapshot.component.ts
Outdated
Show resolved
Hide resolved
packages/@o3r/rules-engine/src/components/rules-engine/facts-snapshot/facts-snapshot.style.scss
Outdated
Show resolved
Hide resolved
...es/@o3r/rules-engine/src/components/rules-engine/facts-snapshot/facts-snapshot.template.html
Outdated
Show resolved
Hide resolved
3fca27f
to
980e5c8
Compare
...ges/@o3r/rules-engine/src/components/rules-engine/facts-snapshot/facts-snapshot.component.ts
Outdated
Show resolved
Hide resolved
...ges/@o3r/rules-engine/src/components/rules-engine/facts-snapshot/facts-snapshot.component.ts
Outdated
Show resolved
Hide resolved
980e5c8
to
64fc196
Compare
64fc196
to
fd8945b
Compare
<ul class="ruleset-panel-category-body"> | ||
@for (action of actions; track $index) { | ||
<li> | ||
@if (isActionBlock(action)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to use a predicate in a pipe and avoid call to functions in the template ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it doesn't seem feasible to do type predicate inference using Angular pipes (as far as I can tell)
the performance impact is very low here as the function is just accessing a property of the object and the scope of the change detection is limited
Proposed change
Related issues
- No issue associated -