* fix ai prompts and stuff.

This commit is contained in:
liwenrui
2024-02-27 17:04:46 +08:00
parent 2b5c612d23
commit 51ebcc1eb7
30 changed files with 313 additions and 13 deletions
+2
View File
@@ -11,6 +11,8 @@ declare(strict_types=1);
*/
namespace zin;
include($this->app->getModuleRoot() . 'ai/ui/inputinject.html.php');
$fields = useFields('bug.create');
if(!empty($executionType) && $executionType == 'kanban') $fields->merge('bug.kanban');
+2
View File
@@ -11,6 +11,8 @@ declare(strict_types=1);
*/
namespace zin;
include($this->app->getModuleRoot() . 'ai/ui/inputinject.html.php');
jsVar('bug', $bug);
jsVar('confirmChangeProduct', $lang->bug->notice->confirmChangeProduct);
jsVar('moduleID', $bug->module);
+3
View File
@@ -10,6 +10,9 @@ declare(strict_types=1);
* @link https://www.zentao.net
*/
namespace zin;
include($this->app->getModuleRoot() . 'ai/ui/promptmenu.html.php');
jsVar('bugID', $bug->id);
jsVar('productID', $bug->product);
jsVar('branchID', $bug->branch);