microsoft / BotFramework-Emulator

A desktop application that allows users to locally test and debug chat bots built with the Bot Framework SDK.
https://aka.ms/botemulator
MIT License
1.82k stars 756 forks source link

Adding a QnA maker service is slow #1496

Open tomlm opened 5 years ago

tomlm commented 5 years ago

Version

4.3.3.57327

Describe the bug

It takes 3-5 minutes for the QnAMaker dialog to load

To Reproduce

Steps to reproduce the behavior:

  1. Go to Add QnAMaker (as me)
  2. wait wait wait wait wait

Expected behavior

UI should NOT be enumerating all resources.

  1. It should allow me to select tenant by name sorted alphabetically and be sticky (1 api call)
  2. it should allow me to select subscription by name sorted alphabetically and be sticky (1 api call)
  3. it should allow me to select resource groups by name sorted alphabetially and be sticky (1 api call)
  4. it should allow me to select KB by name sorted alphabetically ( 1 api all)

[bug]

justinwilaby commented 5 years ago

This has been discussed at length early on. The rational for the existing design was that 99% of users will not have 100s of KBs which makes this UI reasonably fast.

This task involves sweeping UI changes to implement. @mewa1024?