Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

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 <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants