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: Improving the ui for when "additionalProperties": true #4536

Merged
merged 11 commits into from
Oct 27, 2020

Conversation

LouisEugeneMSFT
Copy link
Contributor

Description

The new adaptive forms UI doesn't adapt well to objects with "additionalProperties": true: the gray box with icon shouldn't be there in nested ui. This is the case for the Microsoft.HttpRequest body's property for example.

This PR addresses this issue (see screenshots of before and after).

Task Item

closes #4535

Screenshots

Before (See body property):
image

Before (When adding key value pairs):
image

After:
image

@coveralls
Copy link

coveralls commented Oct 26, 2020

Coverage Status

Coverage increased (+0.002%) to 54.997% when pulling 2e53b6b on leugene/issue4535 into fa7578c on main.

@LouisEugeneMSFT LouisEugeneMSFT merged commit 08bb913 into main Oct 27, 2020
@LouisEugeneMSFT LouisEugeneMSFT deleted the leugene/issue4535 branch October 27, 2020 23:18
@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
…t#4536)

* Improving the ui for when "additionalProperties": true

* Apply suggestions from code review

Co-authored-by: TJ Durnford <tjdford@gmail.com>

* PR comment

* Making sure styling is consistent

Co-authored-by: TJ Durnford <tjdford@gmail.com>
Co-authored-by: Geoff Cox (Microsoft) <gcox@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.

New adaptive forms designs don't adapt well to objects with "additionalProperties": true
4 participants