-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Explicitly mark UnsafeWidgetUtilities #9967
Conversation
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.
The changes look good to me 👍
I confirmed that:
- we now properly reflect the unsafe utilities
- dnd works well
- toolbar items continue to work well
Would you please re-base the change as there is a conflict with |
561c6c5
to
ed277d5
Compare
@alvsan09, thanks for the pointer. I've rebased. |
Create a new namespace for non-error-checked versions of Phosphor utilities, replaces existing code blocks, and applies the new utilities to cases that were throwing errors. As the name implies, these utilities are unsafe because they violate the expectations of Phosphor widgets. We should investigate why we ever wrote code to do this in the first place, and fix it if possible. Signed-off-by: Colin Grant <colin.grant@ericsson.com>
ed277d5
to
d54c114
Compare
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.
Looks good to me! 👍
I don't see any related errors and the functionality works as expected !
Thanks !!
Create a new namespace for non-error-checked versions of Phosphor utilities, replaces existing code blocks, and applies the new utilities to cases that were throwing errors. As the name implies, these utilities are unsafe because they violate the expectations of Phosphor widgets. We should investigate why we ever wrote code to do this in the first place, and fix it if possible. Signed-off-by: Colin Grant <colin.grant@ericsson.com>
Create a new namespace for non-error-checked versions of Phosphor utilities, replaces existing code blocks, and applies the new utilities to cases that were throwing errors. As the name implies, these utilities are unsafe because they violate the expectations of Phosphor widgets. We should investigate why we ever wrote code to do this in the first place, and fix it if possible. Signed-off-by: Colin Grant <colin.grant@ericsson.com>
What it does
Fixes #9960 by working around it.
This PR creates a new namespace for non-error-checked versions of Phosphor
utilities, replaces existing code blocks, and applies the new
utilities to cases that were throwing errors.
As the name implies, these utilities are unsafe because they
violate the expectations of Phosphor widgets. We should investigate
why we ever wrote code to do this in the first place, and fix it
if possible.
How to test
ViewContainerParts
with toolbars.Review checklist
Reminder for reviewers
Signed-off-by: Colin Grant colin.grant@ericsson.com