Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ export function JavaScriptTabPane(props: { comp: ConstructorToComp<typeof Script
codeType: "Function",
language: "javascript",
placeholder: codePlaceholder,
enableAIHelp: true,
aiHelp: {
targetKind: "javascript",
label: "App JavaScript",
fieldName: "preloadJavaScript",
targetId: "preload.script",
fieldDescription:
"Application-level JavaScript loaded for the current app. Help generate, explain, or improve global methods and variables that can be used by app logic.",
},
})}
</>
);
Expand All @@ -45,7 +54,16 @@ export function CSSTabPane(props: { comp: CSSComp, isGlobal?: boolean }) {
placeholder: codePlaceholder,
styleName: "window",
language: "css",
enableAIHelp: true,
aiHelp: {
label: props.isGlobal ? "App Global CSS" : "App CSS",
fieldName: props.isGlobal ? "preloadGlobalCSS" : "preloadCSS",
targetId: props.isGlobal ? "preload.globalCSS" : "preload.css",
fieldDescription: props.isGlobal
? "Global CSS rules for the current app. Help generate, explain, or improve CSS that applies globally."
: "Application-level CSS rules for the current app. Help generate, explain, or improve CSS for app styling.",
},
})}
</>
);
}
}
Binary file added docs/.gitbook/assets/ai-help-on-echarts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.gitbook/assets/ai-help-on-jS.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.gitbook/assets/ai-help-query-selection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.gitbook/assets/automator-app-build.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@
* [Chat Box](build-applications/app-editor/visual-components/chat-box.md)
* [AI Chat](build-applications/app-editor/visual-components/ai-chat.md)
* [Chat Controller](build-applications/app-editor/visual-components/chat-controller.md)
* [Automator](build-applications/app-editor/automator.md)
* [AI Help](build-applications/app-editor/ai-help.md)
* [Date handling](build-applications/app-editor/date-handling.md)
* [Bulk Editing](build-applications/app-editor/bulk-editing.md)
* [Layers](build-applications/app-editor/layers.md)
Expand Down
Loading
Loading