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

fix: Action title not displayed #4524

Merged
merged 10 commits into from
Oct 27, 2020
Merged

Conversation

yeze322
Copy link
Contributor

@yeze322 yeze322 commented Oct 26, 2020

Description

#minor

Problem
Title of an Action node can be empty when Form plugin overrides the schema title with a function.

Fixes

  1. This PR fixes this issue by handling the case when label is a function.
  2. Besides that, also fixes the wrong aria-label issue which is not reported yet.

Task Item

Screenshots

image
image

@coveralls
Copy link

coveralls commented Oct 26, 2020

Coverage Status

Coverage decreased (-0.02%) to 54.988% when pulling a653b71 on yeze322:fix/action-title into 1481a2f on microsoft:main.

boydc2014
boydc2014 previously approved these changes Oct 26, 2020
@cwhitten cwhitten merged commit 19c3be4 into microsoft:main Oct 27, 2020
@cwhitten cwhitten mentioned this pull request Nov 13, 2020
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
* handle functional `label` value

* conditional set fn title

* title fn be aware of data context

* update the type declaration

* fix the wrong tab title

* make sdkSchema optional

* fix ActionCard UT

* only process title instead of whole schema

Co-authored-by: Chris Whitten <christopher.whitten@microsoft.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.

6 participants