-
Notifications
You must be signed in to change notification settings - Fork 376
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
Conversation
Composer/packages/ui-plugins/schema-editor/src/AdaptiveDialogField.tsx
Outdated
Show resolved
Hide resolved
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 apart from minor cleanups. I don't think I have enough context to approve it, so I'll leave this a neutral review.
Composer/packages/client/src/store/persistence/FilePersistence.ts
Outdated
Show resolved
Hide resolved
Composer/packages/ui-plugins/schema-editor/src/AdaptiveDialogField.tsx
Outdated
Show resolved
Hide resolved
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.
There's just one odd thing, otherwise, this looks good.
Marking as draft until UX is finalized. |
@tdurnford - which stage in the design is represented by the dialog shown above? |
@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; | |||
/** |
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.
Where did all this go?
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.
@srinaath asked if I could remove the actions in my PR. They should have been moved in removed with the recoil changes.
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.
Yep. Those constants are no longer required. They were part of the React context action reducer model that we used to have.
…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]>
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