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: use dropdown for LUIS region in skill bot settings #5318

Merged
merged 7 commits into from
Dec 11, 2020

Conversation

beyackle
Copy link
Contributor

Description

The Project Settings page had a dropdown to choose the LUIS region in the root bot, but not the skill bots. This fixes that by changing TextFieldWithCustomButton into a slightly more generic component that will detect if it's been passed an "options" array and render as a Dropdown instead.

Task Item

closes #5296

Screenshots

image

image

@beyackle
Copy link
Contributor Author

Note to reviewers: "FieldWithCustomButton" is a renamed and edited version of "TextFieldWithCustomButton", but for some reason Git didn't track the change as a renaming, so it looks like it's all new.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 54.5% when pulling 3e246a3 on beyackle/fixSkillRegionDropdown into d79ef62 on main.

@cwhitten cwhitten merged commit e7d9699 into main Dec 11, 2020
@cwhitten cwhitten deleted the beyackle/fixSkillRegionDropdown branch December 11, 2020 21:43
alanlong9278 added a commit that referenced this pull request Dec 17, 2020
* main: (22 commits)
  fix: Added missing dependencies to /types and /extensions packages. (#4436)
  fix: Updated publish extensions to use updated APIs (#5346)
  docs: Supported/Recommended OS Documentation (#5330)
  chore: suppress/fix lgtm alerts (#4678)
  v1.3.0
  release: update changelog
  release: update changelog github user map
  RC5 (#5327)
  fix: security analysis failed because of ini@1.3.5 (#5326)
  fix: undo failed after click create trigger and remove trigger (#5325)
  fix: LG diagnostics mismatch by update reference in cache  (#5323)
  fix: Start panel open on start/restart operation (#5322)
  fix sentence wrap bug (#5310)
  fix: use dropdown for LUIS region in skill bot settings (#5318)
  chore: Updated to latest lib (#5316)
  feat: provisioning in app (#4221)
  surface dotnet build error on runtime (#5314)
  fix: runtime throw exception when there is no cosmosdb config (#5313)
  chore: Remove onnxruntime.pdb from Publishing (#5291)
  fix UX bug in setting page (#5306)
  ...
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
* start making field generic

* Create FieldWithCustomButton.tsx

* refactoring and spelling fix

* move props and use generic field

Co-authored-by: Srinaath Ravichandran <srinaath27@gmail.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.

LUIS region dropdown in skill bots is still text input, not a dropdown
4 participants