-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/admin forth/995/add "messageforcont and abilit #6
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
Feature/admin forth/995/add "messageforcont and abilit #6
The head ref may contain hidden characters: "feature/AdminForth/995/add-\"messageforcont-and-abilit"
Conversation
…ration components
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.
Pull Request Overview
This PR adds two major features to the BulkAiFlowPlugin: the ability to provide additional context for records during AI operations via a new provideAdditionalContextForRecord callback, and a confirmation dialog with customizable prompts before AI generation. The changes enable users to edit AI generation prompts through a settings UI and optionally require confirmation before starting AI actions.
- Added
provideAdditionalContextForRecordcallback to inject custom context into records before AI processing - Implemented confirmation dialog with prompt editing capabilities stored in localStorage
- Added
askConfirmationBeforeGeneratingflag to control whether confirmation is required
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 24 comments.
Show a summary per file
| File | Description |
|---|---|
| types.ts | Added new plugin options: provideAdditionalContextForRecord for custom context injection and askConfirmationBeforeGenerating flag |
| index.ts | Made compilation methods async to support additional context; added customPrompt parameter to AI action methods; added test code that should be removed |
| custom/VisionAction.vue | Implemented three-mode dialog (confirmation/settings/generation); added prompt editing UI with localStorage persistence; added spelling issues with "analize" |
| custom/VisionTable.vue | Added imageGenerationPrompts prop to pass prompts to child components |
| custom/ImageGenerationCarousel.vue | Updated to use custom prompts from parent; changed API endpoint name; has potential JSON parsing issues |
Comments suppressed due to low confidence (3)
index.ts:186
- Avoid automated semicolon insertion (96% of all statements in the enclosing function have an explicit semicolon).
resp = chatResponse
index.ts:204
- Avoid automated semicolon insertion (90% of all statements in the enclosing function have an explicit semicolon).
let attachmentFiles
index.ts:277
- Avoid automated semicolon insertion (90% of all statements in the enclosing function have an explicit semicolon).
return { ok: true }
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.