Conversation
Co-authored-by: Dong Lei <donglei@microsoft.com>
* refinement on lg/lu all up view * add partial update test * clean Co-authored-by: Dong Lei <donglei@microsoft.com>
…#3873) * feat: adding support to TelemetryTraceEvent in Flow Editor * refactor: move default title to builtinSchema Reason - ConceptLabels will soon be retired.
…#3866) Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.20. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.15...4.17.20) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Co-authored-by: Andy Brown <asbrown002@gmail.com>
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com> Co-authored-by: Andy Brown <asbrown002@gmail.com>
…t#3887) * Plumbs UpdateActivity and DeleteActivity into the app * Remove duplicate entry
* rebuild qna CRUD and qna page UI (microsoft#3692) * rebase * Rebuild qna (microsoft#3701) * add unique key to qna property * import online file * debug * add qna trigger type (microsoft#3703) * resolve conflict * bug fix * refine qna crud (microsoft#3711) * Update Program.cs * fix bug (microsoft#3715) * bugfix: start bot pop error message for new echo bot * revert the change on common.lg * send qna endpointKey to runtime * publish pop * eslint * Regression on publish page after recoil * clean some code * recognizer dropdown & custom default content * migration * fix files structure change * fix object can only read * add botProject interface and move some interface into shared folder * fix lint * update trigger action (microsoft#3720) * merge publish error fixed * Update package to include the resourc id fix * add id for dialog & migrate it with old bot * crosstrain config * eslint & qna jump * migration old bot for recognizer * migration old bot for recognizer * revert rootId in luUtil * change qna location * refactor publish logic * cross train when default recognizer * sync cross train config logic with azure deploy * fix bug (microsoft#3748) * Update the sdk package to include expandText fix * solve conflict * resolve conflict * cross train config filter no body trigger intent * deploy logic change * azure deploy bugfix * yarn * typecheck error * Qna recognizer tmp (microsoft#3765) * fix: LG/LU editing performance optimize (microsoft#3738) * update luUtil interface * update * use structure luFile do CRUD * refine lgUtile interface * update worker * update lu package * update lg package * update parse line number * log * parse still use worker * lint fix * clean up * Update Composer/packages/client/src/recoilModel/dispatchers/lg.ts Co-authored-by: Andy Brown <asbrown002@gmail.com> * Update Composer/packages/client/src/recoilModel/dispatchers/lg.ts Co-authored-by: Andy Brown <asbrown002@gmail.com> * Update Composer/packages/client/src/recoilModel/dispatchers/lg.ts Co-authored-by: Andy Brown <asbrown002@gmail.com> * Update Composer/packages/client/src/recoilModel/dispatchers/lg.ts Co-authored-by: Andy Brown <asbrown002@gmail.com> * Update Composer/packages/client/src/recoilModel/dispatchers/lg.ts Co-authored-by: Andy Brown <asbrown002@gmail.com> * wrap with formatMessage Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com> Co-authored-by: Andy Brown <asbrown002@gmail.com> * feat: control Flow Editor via the Electron app menu (microsoft#3660) * draft: consume the EditorAPI in electron menu * register global EditorAPI * apply EditorAPI in ToolBar * apply EditorAPI in Electron app menu * add todos in undo/redo * emit Electron menu events to renderer process * use ipc channel to subscribe Electron menu events * override default menu event * add shortcuts * remove duplicated usage of getEditorApi() * fix UT * update 'Redo' shortcut in Electron menu * disable cut/copy/del menu when no action selected * extract Electron logic to a hook * check ipcMain in jest env Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com> * deploy logic change * azure deploy bugfix * yarn * typecheck error * fix: Luis publish missing parameter (microsoft#3764) * fix luis publish * remove empty space in setting page * resolve conflict Co-authored-by: Zhixiang Zhan <zhixzhan@microsoft.com> Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com> Co-authored-by: Andy Brown <asbrown002@gmail.com> Co-authored-by: zeye <2295905420@qq.com> Co-authored-by: Long Alan <julong@microsoft.com> Co-authored-by: Long Jun <alanlong9278@126.com> * set max memory for build * refactor qna popup logic && form editor ux * Update trigger (microsoft#3768) * update trigger actions * rebase * update trigger (microsoft#3772) * fix export bug (microsoft#3776) * separates Form / Flow's ExtensionContext * test fixed * fix trigger actions bug (microsoft#3787) * fix trigger bug (microsoft#3788) * fix trigger bug * update trigger text * conflict err * update bf-lu package & fix conflict err * Creating qn a sample (microsoft#3819) * create qnaSample bot flow * update create qna bot flow * fix bug * fix bug (microsoft#3822) * test for build qna & lu in server * Update qn a flow (microsoft#3831) * fix bug * update import qna flow * Fix ui bug (microsoft#3833) * fix bug * update import QNA UI * Update autoEndDialog to false * Navigate to qna page (microsoft#3834) * fix bug * navigate to qna page * Updates * Fix * refine code * refactor & add comment * refine code" * handle comments * popup desc * hidden the subsription key * recognizer * replace the default name with unique id * use common component to show error * comments * update UI * fix the qna icon reload issue * fix UI bug * change hover color * remove toggle on row * qna endpointKey * popup * add try catch for get qna endpointKey * update UI * remove the scroll bar and update the error display * update qna UI * input luis hoisting * conflict * comments * test fixed * test fixed * handle comments * separated QnAEditor & rename to knowledge-base (microsoft#3857) * separated QnAEditor & rename to knowledge-base * rename * rename helper to utilities * fix test case * fix unit tests * test * qna-recognizer add tests (microsoft#3859) * add triggerCreattionModal test * triggerApi test * add test for import modal * add test * dialog id * fix bug * fix bug * wrong url * conflict * Update ComposerSettingsExtensions * update the error message * conflict fix * Update ComposerSettingsExtensions.cs * azure deploy * lu build * qna build bugfix * code refine * lint fix * qna name * code refine * Update package to daily to fix the CrossTrainRecognizer issue * concurrent import qna from urls and set call limits * error message & e2e test * e2e test * code scan error * fix code scanner error * fix code scanner error * update the get params * fix UI * update qna error logic * Update package to 4.10.1 * encode qna urls * refactor * fix e2e todobot Co-authored-by: Long Jun <alanlong9278@126.com> Co-authored-by: Long Alan <julong@microsoft.com> Co-authored-by: Lu Han <32191031+luhan2017@users.noreply.github.com> Co-authored-by: Wenyi Luo <wenyluo@microsoft.com> Co-authored-by: leilzh <leilzh@microsoft.com> Co-authored-by: Zhixiang Zhan <zhixzhan@microsoft.com> Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com> Co-authored-by: Andy Brown <asbrown002@gmail.com> Co-authored-by: zeye <2295905420@qq.com> Co-authored-by: zeye <zeye@microsoft.com>
* CodeRange refinement * update test * lint fix
* add qnaUtil test * remove unused code
* fix: improve the editor behavior in LG * fix unit test * convert the template range * update the content check * fix unit test * fix onboarding e2e test * update the e2e test Co-authored-by: Srinaath Ravichandran <srinaath27@gmail.com>
* upgrade cypress * upgrade @testing-library/cypress to beta version The next release includes TS typings in the project. The @types package has a dependency on cypress which was causing installation errors. * use testid to get around testing-library error
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
* azure deploy bugfix * code refactor Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com> Co-authored-by: VanyLaw <wenyluo@microsoft.com>
* fix: Fix dialog redirect/refresh behavior * small changes * fix breadcrumb
Co-authored-by: Andy Brown <asbrown002@gmail.com>
* Update packages * Update debugging package also to avoid auto-downgrade * Update webapp as well * Update all packages * Update schema * add allowInterruptions property in form editor * Move packages to 4.10.2 * update the debugging package version * Update Microsoft.BotFramework.Composer.Core.csproj Co-authored-by: Long Alan <julong@microsoft.com> Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
* remove stopPollingRuntime after publish luisand qna * make botStatusInterval outof component
…ft#3937) * Fixed missing plugin dependencies in prod Electron env. * Added missing newline
…ft#3938) * fix: Fixed Design Page from redirecting when an action is deleted * fix useShell navTo * fix: revert breaking change on `navigationTo` Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com> Co-authored-by: zeye <zeye@microsoft.com>
* Adding Verbosity to Yarn Build Command Fixing runtime path on docker-compose Creating symlink to runtime folder inside, so don't need to double map volume. * remove debugging line Co-authored-by: Andy Brown <asbrown002@gmail.com>
added a helplink about validation rules. doc link: https://aka.ms/bf-composer-docs-ask-input#prompt-settings-and-validation
* allow users to delete qna settings * migrate qna.endpointkey to qna.endpointKey Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
* Release notes for 1.1.0 * Formatting * Update Co-authored-by: Andy Brown <asbrown002@gmail.com>
* Set up CI with Azure Pipelines [skip ci] * Update azure-pipelines-static-analysis.yml for Azure Pipelines
* feat: taking control recognizer generation enhancements * check in recognizers folder in sample bots * update some type * use private library * update some unit test * remove all recognizer in samples * update library version * add recognizer dispatcher * ad unit tests * update the bf-lu version * fix bug about the crosstrain * update the import * update the folder position * fix unit test Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
* fix: preserve the root file when create a PVA bot * remove lowercase * update the designer * fix e2e test
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
…e to midnight PST instead of UTC. (microsoft#4596)
…ield" (object with additionalProperties) & only show OpenObjectField when additionalProperties is an object (microsoft#4600) * fix * fix * updating test Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
* Update sdk package to 4.11.0-rc2 * Fix tests for ReplaceDialog
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com> Co-authored-by: Srinaath Ravichandran <srravich@microsoft.com>
* fix customize imported dialog resource auto creation * add test * avoid touch form generated dialog * update detecting * update test * update detecting at server Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
* filter hidden card, do not render empty container * update Co-authored-by: Dong Lei <donglei@microsoft.com>
Co-authored-by: Dong Lei <donglei@microsoft.com>
…ft#4662) Co-authored-by: Dong Lei <donglei@microsoft.com>
* add dialog content as a dep of useMemo microsoft#4629 * remove log Co-authored-by: Dong Lei <donglei@microsoft.com>
…microsoft#4672) * fix: mess when zoom in/out * use scroll Co-authored-by: Dong Lei <donglei@microsoft.com>
Co-authored-by: Dong Lei <donglei@microsoft.com> Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
* Form dialog hidden fixed feature flags * remove temp lint directive * Removed debugging vars
Owner
Author
|
/create |
Owner
Author
|
/test |
lei9444
pushed a commit
that referenced
this pull request
Jun 15, 2021
* extract visual editor from design page * bump shared packages * add botframework-ui dependencies * extract property editor from design page * don't pass rootPath as a prop * [wip] use adaptive form package * don't hoist botframework-ui packages * start stubbing out sync based new shell api * bump prompts plugin * revert to using shell extension container to render new form * add extension and adaptive form packages * update jest config to include display name * import json and prompts plugins * convert code editor to @monaco-editor package * render string field for expressions * remove height transition when there is an error * feat: Added select dialog ui plugin (#1) * feat: Added select dialog ui plugin * Apply suggestions from code review * Added tests * Clean up * Updated tests * renamed directory to select-dialog Co-authored-by: Andy Brown <asbrown002@gmail.com> * enable json ui plugin * allow customization of $role and $kind fields * [wip] begin lg editor field * fix height calculation * fix: Set default value in StringField to an empty string (#2) * use field name for lg fields * ignore lg lib * refactor plugin config add roleSchema and kindSchema * clean up lg plugin dependencies * drop ui prefix for ui options * bump @types/react and @types/react-dom * initial support of recognizers in plugin config * initial lu ui plugin * fix: Fixed object array border conflict (#3) * fix: Fixed object array border conflict * Modified getUISchema function * Resolve build errors * Fixed uiOptions in SchemaField * Reverted changes to getUISchema * [wip] start work on rendering better descriptions and help links * finish rendering description and help links * re-renable custom keybinding * clean up old bfcomposer monaco editor bits * fix build errors * do not enable minimap by default * feat: Add Select Dialog Plugin * Updated defaultUiSchema * Added select dialog plugin * fixed issue in uiSchema * Fixed luIntentOptions * Added help link * Modified tests * Fixed tests * move shared types from indexers to shared * fix merge issue * fix lint error * do not compile with test files * move prompt settings to 'Other' tab * fix: Moved prompt settings to 'Other' tab * fix: prompt settings styling and description * wrap labels in formatMessage Co-authored-by: Andy Brown <asbrown002@gmail.com> * move globally hidden fields to getOrderedProperties * [wip] add ability to have multi field rows * make sure to pass value to form rows * use json schema version 7 for base typings * add one of field * begin work on expression editor * update prompt plugin to use json schema v 7 * feat: Updated FormRow to support multiple fields in a row * feat: Updated FormRow to support multiple fields in a row * Updated FormRow * Updated FormRow * fix problem with yarn install * bump react versions * fix merge conflicts * correctly hide placeholder in code editor * remove inline recognizer editor * remove select intent plugin * add key to editor to force remounting * handle type and oneOf expression schemas * port inline luis intent editor * memoize initial value * rename lu plugin to luis * port regex intent editor * fix: Moved type selector to be inline with label (microsoft#7) * fix: Fixed warning related to link navigation styling (microsoft#8) * rename handleChange to handleRecognizerChange * add method to recognizer config to determine if selected * refactor code editors to not have dependency on monaco-editor package directly * downgrade monaco-languageclient There is an error initializing the language services * export OnInit type * clean up monaco dependencies * update sample schema * render all other fields on single row sets up support for defaultValue exression editor * render json editor with selected schema for complex types * feat: Added custom array field for set properties * feat: Added stackArrayItems to UiOptions * fix: Fixed array item borders * add designerId to ShellData formContext.dialogId is actually data.$designer.id which is confusing when there is dialogId in the ShellData. * feat: Updated ObjectArrayField to display complex arrays in a stacked layout * fix: Filtered object array properties to reflect ui order * removed console.log * fix: Fixed ExpressionField flicker * feat: Added add button for stacked array items * add schema prop to json editor * updated defautUiSchema.ts * register schemas on a per-model basis * fix merge build issue * trigger intent field change when editor changes * fix: Added 'expression' to expression type dropdown. * add disabled item actions for new array item * reduce height of lg field * pass raw errors to schema field child * plumb errors through the prompt form * fix array item styles when an error is present * use label overrides from ConceptLabels in form title * pass project id to lg editor * fix: Added 'expression' to type selector * implement arrayitem wrapper for array fields * fix: Added helpLinks to defaultUiSchema * add useArrayItems hook for array fields * fix: Added 'expression' to type selector * fix: added 'expression' to type dropdown * fix: combined 'selectedSchema' and 'selectedKey' into 'selectedOption' * feat: Added inline lu to prompts * do not override descriptions for prompt fields * fix array item usage * support expression fields with object properties * add subtitle to uiSchema * add titles to choices and confirmChoices * do not use label overrides in form title * [wip] use schema field to render all input fields * update ui schema * correctly set selected option * fix: fixed array item styles * feat: added formatData to uiOptions * fix: Added formatData to ObjectArrayField * default to correct type in expression editor * start case the fallback labels * allow labels for objects with properties * combine choice input and confirm input components * handle enum expressions * feat: Removed formatData in favor of serializer * fix: Fixed serializer labeling * Updated jest.config.js * fix: fixed recognizer in prompts * fix: fixed getSelectedOption returning expression option for strings * fix unit tests * Removed select intent * Fixed luis handleRecognizerChange method * fix merge issue * fixed error message displaying next to field in an array * removed kindSchema comments * update error message when recognizer can't be determined * add testid to expression dropdown * fix todo spec * fix notifications page spec * remove obiformeditor package * fix new LGTM alerts * incorporate locale when setting lg file name * fix selecting correct lu file with locale * sync data with shell to support undo/redo * update oneOf field to handle array of types * do not use transparent border for one of fields * do not have transparent border for expression editor It looks weird with the prefix icon * fix: Fixed dropdownWidth in expressions * fix: Fixed inline array styling * fix: removed unused variable * fix: Fixed lint issue * get localize lu file for inline intent editor * fix: Fixed error rendering issue * fix: Fixed schema field styles Co-authored-by: TJ Durnford <tjdford@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Task Item
Screenshots