-
Notifications
You must be signed in to change notification settings - Fork 561
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
Jwoo/ios columnsetupdate #5296
Jwoo/ios columnsetupdate #5296
Conversation
* expression library rc to 4.11.0 * Add expression library to site footer scripts
With our 20.12 release we are fixing a long running bug, where we were shipping our binary packages under the MIT license inadvertently. The MIT license only applies to open source and not shipping binaries which are now governed by our new End User License Agreement for AdaptiveCards.
…4833) ## Related Issue Fixes #4831 ## Description Avoid NullReferenceException while the enum is null in JSON string 
Hi @jwoo-msft. Thanks for helping make the AdaptiveCards JS renderer + tooling better. As additional verification, once the JS build succeeds, please go to the test site to test out your website/designer changes. |
…iveCards into jwoo/ios-columnsetupdate
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, but found a few minor nits 👍
source/ios/AdaptiveCards/AdaptiveCards/AdaptiveCards/ACRContentHoldingUIView.mm
Outdated
Show resolved
Hide resolved
} else if (self.imageProperties.acrImageSize == ACRImageSizeStretch && frameSize.width != self.imageProperties.contentSize.width && _imageView.image) { | ||
if (_imageView.image) { |
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.
we're checking _imageView.image
twice :)
// apply now if image is ready, otherwise wait until it is loaded | ||
applyBackgroundImageConstraints(backgroundImage.get(), imgView, img); | ||
applyBackgroundImageConstraints(backgroundImage.get(), imgView, imgView.image); |
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.
question here -- is applyBackgroundImageConstraints
always passed a UIImageView
that has a valid .image
? should applyBackgroundImageConstraints
just use the image property rather than having it passed in as a parameter?
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.
your question is a valid one. There is a case SDK can have a UIImageview and UIImage separately, but such cases are rare. I will look into this issue when I refactor the background image rendering which is due soon.
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.
sounds good 👍
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.
* Updated ImageView constraints * updated intrinsic content size * reverted build optimazation settings * [Site] Fix missing expression library dep (microsoft#5194) * expression library rc to 4.11.0 * Add expression library to site footer scripts * Updating Readme to reflect binary license updates With our 20.12 release we are fixing a long running bug, where we were shipping our binary packages under the MIT license inadvertently. The MIT license only applies to open source and not shipping binaries which are now governed by our new End User License Agreement for AdaptiveCards. * Quick verbiage change in the EULA section * More license terms explanation verbiage * [.Net HTML]fix IgnoreDefaultStringEnumConverter NullReference issue (microsoft#4833) ## Related Issue Fixes microsoft#4831 ## Description Avoid NullReferenceException while the enum is null in JSON string  * columnset alignment to fill, and added spacer for factset * work in progress * work in progress * Mostly work except background images * removed the wrapperview * refactoring * refactoring complete // need unit tests and optimazation * fixed stretch issues * Finished fixing small/medium/large images sizes * Added UnitTests * cleaned up the code * complete * fixed ci failures * revert project file changes * chaged made after review comments Co-authored-by: Risheek Rajolu <[email protected]> Co-authored-by: Shalini Joshi-MSFT <[email protected]> Co-authored-by: Tony <[email protected]>
Related Issue
Fixed #5096, Fixed #4353, Fixed #3677
Description
Fixed numerous issues with Images. Fixed FactSet stretch issues. Updated the sample app not to render when the table view is in a collapsed state.


Before Fix
After Fix
Before Fix

After Fix

Before Fix

After Fix

Before Fix

After Fix

Before Fix

After Fix

Before Fix

The size of the Image in the center is "stretch"
After Fix

The size of the Image in the center is "stretch"
Before Fix

After Fix

How Verified
How you verified the fix, including one or all of the following:
Microsoft Reviewers: Open in CodeFlow