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: Delete & Undo on actions with LG templates doesn't bring back the LG content #4740

Merged
merged 11 commits into from
Nov 10, 2020

Conversation

lei9444
Copy link
Contributor

@lei9444 lei9444 commented Nov 10, 2020

Description

The removeLgTemplates is asynchronous, we need to wait before committing changes to the undo history.

In lu and lg inline editor, Add commit when the content changed.

Task Item

#minor

Screenshots

undo

@coveralls
Copy link

coveralls commented Nov 10, 2020

Coverage Status

Coverage decreased (-0.007%) to 56.292% when pulling dc93e68 on fix/async-delete into 53c37ba on main.

boydc2014
boydc2014 previously approved these changes Nov 10, 2020
@boydc2014 boydc2014 merged commit 7bb1f5a into main Nov 10, 2020
@boydc2014 boydc2014 deleted the fix/async-delete branch November 10, 2020 11:52
alanlong9278 added a commit to alanlong9278/BotFramework-Composer that referenced this pull request Nov 12, 2020
* settingsPage:
  remove useless files
  Corrected types
  Support undo/redo for skill (microsoft#4754)
  fix UT
  feat: Diagnostics Page (microsoft#4457)
  set defaultLanguage as active language if active language is deleted
  fix: correct URL when switching page modes (microsoft#4736)
  fix: do not stub __dirname for node extensions (microsoft#4749)
  chore: bundle extensions (microsoft#4745)
  fix: Delete & Undo on actions with LG templates doesn't bring back the LG content (microsoft#4740)
  feat: update sdk package to 4.11.0 (microsoft#4741)
@cwhitten cwhitten mentioned this pull request Nov 13, 2020
lei9444 added a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
…e LG content (microsoft#4740)

* async action delete API

* async DialogEditApi

* wait action deletion

* update type and add registerEditorAPI

* fix unit tests

* add commit for lg update

* Revert "add commit for lg update"

This reverts commit 5e6a4e9f3b59acb295ec8b4cb583783d8b073f2c.

* update the lu and lg commit time

* update the debounce option

Co-authored-by: zeye <zeye@microsoft.com>
Co-authored-by: Dong Lei <donglei@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.

4 participants