-
Notifications
You must be signed in to change notification settings - Fork 378
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: misc UI fixes around creation and config #6878
Conversation
@benbrown it seems there is a bit of redundant code in the qnaModal and LuisModal components when they call azure to get the users available subscriptions. I also see that code was copied from the azurePublish extension. Do we have an item tracking a minor refactor? It would be ideal to have a shared workspace where we could put this function and have it used by the client workspace and AzurePublish extension that way it is written once and used in three seperate places as opposed to the current situation where we have the same logic written in three different places. |
@pavolum yes it is on the backlog to refactor these into a single shared component. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using lodash even for things you know how to write is better for unit-test coverage (because we don't need to worry about testing simple things like sorting, so those lines get left out of the denominator of the fraction).
Composer/packages/client/src/components/ManageLuis/ManageLuis.tsx
Outdated
Show resolved
Hide resolved
Composer/packages/client/src/components/ManageQNA/ManageQNA.tsx
Outdated
Show resolved
Hide resolved
…ft/BotFramework-Composer into pavolum/CreationUiFixes2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
* Removing yeoman from creation status messages * alphabetizing azure subscriptions and resource groups * Normalizing loading spinner UI on designer page to match modal UI for botOpening modal * Handle UI update when luis key is updates through luis modal * handle settings UI updates for external qna key update * removing unused imports and style variable * Ensure luis region UI is populated once set from modal * Adding alphabetic sorting to qna and luis modal * Fixing sorting logic to use lodash abstraction * Updating status messages Co-authored-by: Ben Yackley <[email protected]>
Description
This PR contains various fixes for UI bugs that were filed during initial bug bashing. More details below in the Task Item header.
Task Item
fix #6769 - Added sorting to api call results for getSubscription and getResourceGroups
fix #6815 - Removed 'yeoman' string from status messages
fix #6837 - There have always been two loading spinners in the open project flow, one for bot opening and one for design view loading. They were previously identical so the end user saw no visible change in the loading UI when running the bot opening flow. Since then the botOpening loading spinner UI was updated. This PR updates the design page spinner UI to match the updated bot opening so end users see the same loading UI for both spinners.
fix #6822 - in development