-
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
chore: enable easier electron builds by hosting some packages #4383
Conversation
} | ||
const VisualDesigner: React.FC<VisualDesignerProps> = ({ onFocus, onBlur, schema }): JSX.Element => { | ||
const VisualDesigner: React.FC<VisualDesignerProps> = ({ onFocus, onBlur, schema, data: inputData }): JSX.Element => { |
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.
@yeze322 can you look at this in particular? I removed data
from the shell, requiring the editor contexts to decide how to get their own data. Eventually, the useShell
hook will be agnostic to where it is getting invoked, but I will follow up this PR with that work.
|
||
// if the intent name changes or intent names in the regex patterns | ||
// we need to reset the local value | ||
useEffect(() => { | ||
const pattern = getRegexIntentPattern(currentDialog, intentName); | ||
const pattern = getRegexIntentPattern(formData, intentName); |
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.
refs #4653
…oft#4383) * decompose shell and api into smaller types * nest plugin pages under bot scope * simplify webpack config * make extension client external * add mechanism to sync client shell to iframe plugin host * only fetch extensions when app mounts * add plugin pages selector * output source maps with extension bundles * rename file * clean up manifest after loading extensions * add project api hook * update sample plugin to use project api * disable sample-ui-plugin * do not sync store to window * prepare test-utils and types for publishing * update package references to published pacakges * add types package * remove shared dependency from extension-client * remove data from shell * more types updates * add useFormHook to expose current form data * re-order useEffects * add missing import * move types to dependencies * fix type errors * add missing dependency * fix tests * remove old comments * update lockfile * use stub currentDialog when none found * fix build:dev * fix merge conflict * add @botframework-composer/types to client
Description
@botframework-composer
npm scope for some shared packages that can be installed inside of plugins. This reduces the yarn workspace magic and fixes electron builds due to missing dependencies.@bfc/shared
dependency from@bfc/extension-client
to ease installation outside of the workspace and in preparation for publishing.Task Item
#minor