Skip to content
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

Reactnative/release 2.2.7 #5690

Merged
merged 8 commits into from
Apr 19, 2021
Merged

Conversation

vivekvijayakrishnan
Copy link
Contributor

@vivekvijayakrishnan vivekvijayakrishnan commented Apr 19, 2021

Release Note

1. Universal Action Model - Spec

Support for Universal action model and handled the type - Action.Execute

2. HostConfig, StyleConfig and ThemeConfig at Card level

HostConfig, StyleConfig, and ThemeConfig are handled at the Adaptive Card level instead of for a particular host application. This enables developers to use different configs for each card rather than one set of configs for a host.

3. Theme Config Update

Extended theme config support for Input.ChoiceSet* Below properties are supported for each type.

✅ RadioButton
  • radioButton - Accept react-native supported styles for <Image> componenent.
  • radioButtonText - Accept react-native supported styles for <Text> component.
✅ Checkbox
  • checkBox - Accept react-native supported styles for <Image> componenent.
  • checkBoxText - Accept react-native supported styles for <Text> component.

Apart from react-native styles, the above properties are consumed extra params named activeColor and inactiveColor to control the clicked and unclicked items.

✅ DropDown
  • dropdown - Accept react-native supported styles for <View> componenent.
  • dropdownText - Accept react-native supported styles for <Text> component.
4 Introduced new property to handle the adaptive card Scroll Enabled property
5 Aligned the button action items as per the Web Platform working model
6 Handled the padding value as zero in the host configuration
7 Added the condition to avoid separator for the first element
Microsoft Reviewers: Open in CodeFlow

IbrahimSulai and others added 6 commits March 25, 2021 17:39
…execute (#5570)

* Implemented the universal action model and Handled the type - action.execute

* Resolced the review comment

Co-authored-by: Ibrahim Sulaiman <ibrahim.sulaiman@imaginea.com>
* Handled HostConfig, StyleConfig and ThemeConfig at Card level

* Removed ThemeConfigManager as it's not used

* Fixed font issues in host-config
… the condition to avaoid separator for first element (#5622)

Co-authored-by: Ibrahim Sulaiman <ibrahim.sulaiman@imaginea.com>
…as per the web platform working model (#5625)

Co-authored-by: Ibrahim Sulaiman <ibrahim.sulaiman@imaginea.com>
Copy link
Contributor

@pragadeeshk pragadeeshk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@IbrahimSulai IbrahimSulai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vivekvijayakrishnan vivekvijayakrishnan merged commit 6df0457 into main Apr 19, 2021
@vivekvijayakrishnan vivekvijayakrishnan deleted the reactnative/release-2.2.7 branch April 19, 2021 11:53
michaelfarnsworth pushed a commit to michaelfarnsworth/AdaptiveCards that referenced this pull request Nov 10, 2022
* Implemented the universal action model and Handled the type - action.execute (microsoft#5570)

* Implemented the universal action model and Handled the type - action.execute

* Resolced the review comment

Co-authored-by: Ibrahim Sulaiman <ibrahim.sulaiman@imaginea.com>

* HostConfig, StyleConfig and ThemeConfig at Card level (microsoft#5605)

* Handled HostConfig, StyleConfig and ThemeConfig at Card level

* Removed ThemeConfigManager as it's not used

* Fixed font issues in host-config

* Handled the padding value as zero in the host configuration and Added the condition to avaoid separator for first element (microsoft#5622)

Co-authored-by: Ibrahim Sulaiman <ibrahim.sulaiman@imaginea.com>

* Handled the cardScrollEnabled property and Aligned the button action as per the web platform working model (microsoft#5625)

Co-authored-by: Ibrahim Sulaiman <ibrahim.sulaiman@imaginea.com>

* Theme-config extention for radioButton, checkbox and dropdown (microsoft#5644)

* Host config spacing changes and removed unused code (microsoft#5689)

* updated test snapshot

Co-authored-by: IbrahimSulai <33604125+IbrahimSulai@users.noreply.github.com>
Co-authored-by: Ibrahim Sulaiman <ibrahim.sulaiman@imaginea.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants