Repository navigation
feat(animations): add disableAnimatableDevWarnings option - #49036
dario-piotrowicz wants to merge 4 commits into
Conversation
39e56db to
dcf0b53
Compare
fcb161a to
3f724b2
Compare
8e70433 to
9c97155
Compare
9c97155 to
f9e4e42
Compare
There was a problem hiding this comment.
This is non-blocking, but it would be great if we could construct this message using a method and importing it rather than duplicating it it here and in animation_transition_factory.
There was a problem hiding this comment.
I see.... if I remember correctly I think I did consider that but then I thought not to do that because using a function both in the actual runtime code and in the tests felt not the best (because in that case we would never be checking the text itself, we'd just be checking that the same utility method has been used)
but I'm fine to do it if you think it's better 🙂
|
@dario-piotrowicz looks like this needs a rebase. |
f9e4e42 to
57b34b2
Compare
|
What's the status? This is a very welcomed improvement. |
161f10f to
ac095a3
Compare
|
@jessicajaniuk I've picked up this PR. Let's see if it's mergeable. |
3e9036f to
9c7e68d
Compare
8ceaea3 to
edfc912
Compare
|
@JeanMeche thanks a bunch for picking it up 🙂 🙏 |
edfc912 to
1ad032e
Compare
add the disableAnimatableDevWarnings options for the BrowserAnimationsModule so that developers can turn off the warning in case it is not wanted resolves angular#46928 xxx find where to squash
add the allowedProps options for the transition function so that developers can choose to use this option to disable single non-animatable warnings instead of using disableAnimatableDevWarnings to disable all warnings for all animations (also) solves angular#46928
share getNonAnimatablePropsWarnining function to reduce code duplication
1ad032e to
374e31c
Compare
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
add the disableAnimatableDevWarnings options for the BrowserAnimationsModule so that developers can turn off the warning in case it is not wanted
resolves #46928
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
Does this PR introduce a breaking change?