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

feat: Added dialog schema editor to the Adaptive Dialog Property Editor #3436

Merged
merged 68 commits into from
Aug 5, 2020
Merged

feat: Added dialog schema editor to the Adaptive Dialog Property Editor #3436

merged 68 commits into from
Aug 5, 2020

Conversation

tdurnford
Copy link
Collaborator

@tdurnford tdurnford commented Jun 18, 2020

Description

Added a dialog schema editor ui-plugin that adds a 'Dialog Schema' field to the Adaptive Dialog Property Editor. Users can use the field to edit *.dialog.schema files which serialize to the dialog's directory on disk.

Task Item

Closes #3435

Screenshots

image

@coveralls
Copy link

coveralls commented Jun 18, 2020

Coverage Status

Coverage decreased (-0.4%) to 56.823% when pulling 2d08ebb on tdurnford:feature/dialog-schema into 534870e on microsoft:main.

Copy link
Contributor

@beyackle beyackle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM apart from minor cleanups. I don't think I have enough context to approve it, so I'll leave this a neutral review.

@a-b-r-o-w-n a-b-r-o-w-n self-assigned this Jun 18, 2020
Copy link
Contributor

@a-b-r-o-w-n a-b-r-o-w-n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's just one odd thing, otherwise, this looks good.

Composer/packages/client/src/store/action/dialog.ts Outdated Show resolved Hide resolved
@a-b-r-o-w-n a-b-r-o-w-n marked this pull request as draft June 23, 2020 16:54
@a-b-r-o-w-n
Copy link
Contributor

Marking as draft until UX is finalized.

@mareekuh
Copy link
Contributor

@tdurnford - which stage in the design is represented by the dialog shown above?

@tdurnford
Copy link
Collaborator Author

@mareekuh The dialog schema editor falls more in line with the 'Create skill from bot' stage; however, it is specific to each dialog, and I don't believe its application is limited to skills.

@@ -8,112 +8,6 @@ export const BASEURL = `${process.env.PUBLIC_URL || ''}/api`;

//the count about the undo/redo
export const UNDO_LIMIT = 10;
/**
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where did all this go?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@srinaath asked if I could remove the actions in my PR. They should have been moved in removed with the recoil changes.

Copy link
Contributor

@srinaath srinaath Aug 4, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep. Those constants are no longer required. They were part of the React context action reducer model that we used to have.

@cwhitten cwhitten merged commit 5be55c6 into microsoft:main Aug 5, 2020
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
…or (microsoft#3436)

* feat: Added dialog schema editor

* renamed function

* clean up

* fixed typo

* minor fix

* Add support for deleting dialog schema files

* fix lint issues

* split into multiple ediotrs

* fixed property

* Reset state

* Dialog schema editor

* Recoil changes

* Removed ActionTypes enum

* Bot structure changes

* Recoil tests

* lint

* File Persistence tests

* Adaptive form

* Merge fixes

* object utils

* fix tests

* lint

* remove definitions of change

* Object util types

* object util tests

* Added collapse

* types

* Collapse

* type

* lint

* definitions

* lint

* tests

* title

* fixed test

* tests

Co-authored-by: Ben Yackley <[email protected]>
Co-authored-by: Chris Whitten <[email protected]>
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.

[property-editor] Add dialog editor to the Adaptive Dialog Property Editor
7 participants