Commit Graph
83 Commits
Author SHA1 Message Date
liwenrui 9370a5394d * return earlier. 2023-08-08 15:21:54 +08:00
liwenrui e5e202c25d * give up execution if required target form vars not set. 2023-08-08 15:01:07 +08:00
liwenrui b69d563cab * fix go back links after prompt execution, bug #36843. 2023-08-07 16:11:07 +08:00
Chenjianyu 29ea70fe33 * fix a jump back app doesn't follow. 2023-08-07 14:35:44 +08:00
Chenjianyu d537d56db5 * fix a wrong var when jump back to view after publishing a prompt. 2023-08-07 10:43:41 +08:00
Chenjianyu 276de474f4 * fix a condition. 2023-08-04 15:47:25 +08:00
Chenjianyu 81034eda5a * change the publishing jump location. 2023-08-04 09:51:08 +08:00
Chenjianyu 24fe79f895 * fix the missing default value. 2023-08-04 09:41:53 +08:00
Chenjianyu 94a9cb1c8f * adjust prompt audit to exit. 2023-08-04 09:34:02 +08:00
liwenrui 77704cd880 * redirect to most relevant ai admin page. 2023-08-03 10:30:35 +08:00
Chenjianyu c2d44a3e51 * save a new role template when save the prompt role. 2023-08-02 14:13:54 +08:00
Chenjianyu 17dff4aa71 * add edit role template method. 2023-08-02 10:26:07 +08:00
Chenjianyu 0e2edd4327 * add delete role template method. 2023-08-02 09:53:23 +08:00
Chenjianyu 22e5f8234f * add create role template and dynamic refresh the role template list. 2023-08-01 16:45:12 +08:00
Chenjianyu a9cf9b60a4 * add get role templates method. 2023-08-01 11:08:10 +08:00
liwenrui 1dc96fa408 * remove alert after prompt execution, and fix placeholder keeps showing even with content injected, bug #36913. 2023-07-31 09:26:11 +08:00
liwenrui 466a951038 * show error for connection testing. 2023-07-28 14:49:23 +08:00
liwenrui 24cda2834c * add prompt name to tab titles. 2023-07-27 14:48:47 +08:00
liwenrui 46ebf21edb * give up on brs. 2023-07-27 14:44:59 +08:00
liwenrui b96a2b4123 * fix badly replaced code. 2023-07-27 14:22:12 +08:00
liwenrui bdcc09ce4d * refactor. 2023-07-27 14:19:25 +08:00
liwenrui ec03744af3 * check for required args when checking connection, bug #36814. 2023-07-27 09:42:27 +08:00
liwenrui 16491d9e83 * revert. 2023-07-26 14:52:22 +08:00
liwenrui 15aa0245ea * refactor. 2023-07-26 14:51:06 +08:00
Chenjianyu cd58b94ac1 * readjustment prompt audit button. 2023-07-26 09:30:01 +08:00
liwenrui 672307d81b * fix undefined property. 2023-07-25 16:48:11 +08:00
liwenrui 5cfcb2267d * make errors verboser. 2023-07-25 15:38:45 +08:00
liwenrui 3d015a1ccb * verbose failure messages. 2023-07-25 14:53:50 +08:00
liwenrui b3f5ba68b5 * fix data source is my (which is no longer usable) by default. 2023-07-25 14:39:19 +08:00
liwenrui 91a9944cc1 + prompt delete. 2023-07-25 14:31:17 +08:00
liwenrui 6906adfb6a * fix unable to generate url. 2023-07-25 13:44:04 +08:00
liwenrui 9057fab255 * fix calling model method. 2023-07-25 13:07:10 +08:00
liwenrui a5169afd1e + link vars assembling. 2023-07-25 11:32:56 +08:00
Chenjianyu c1b9d01c32 * fix save prompt will publish it. 2023-07-25 10:45:37 +08:00
liwenrui 3678742833 + prompt edit, task #98732. 2023-07-24 19:29:32 +08:00
Chenjianyu 34113880d1 * handle prompt exec failed condition. 2023-07-24 15:22:58 +08:00
liwenrui b12b916880 * return empty when unable to find object. 2023-07-24 15:11:01 +08:00
liwenrui 2dc0582830 * remove unused view var. 2023-07-24 14:18:24 +08:00
Chenjianyu e6f87cd4ad * change default active module. 2023-07-20 15:18:35 +08:00
liwenrui 2095dfd66c * add (un)publisher to prompt details, minor refactors, task #97647. 2023-07-19 14:44:03 +08:00
Chenjianyu fef2e1b088 * unset prompt audit status. 2023-07-19 10:39:09 +08:00
liwenrui 7cc382fad5 * show actions on prompt detail page, task #97648. 2023-07-19 10:19:54 +08:00
liwenrui 907657cb1b * create prompt actions by diffing with original prompt, task #97648. 2023-07-19 10:00:07 +08:00
Chenjianyu b06bcf9532 * add side column for prompt view page. 2023-07-18 15:49:11 +08:00
Chenjianyu 185004aceb * add prompt view detail block. 2023-07-18 14:30:52 +08:00
liwenrui 637132f6fd * add quick switcher and title to prompt details. 2023-07-18 10:58:02 +08:00
Chenjianyu e4d1c2b6a1 * add publish prompt button for test page. 2023-07-18 10:57:13 +08:00
Chenjianyu 31096a25e8 * fix link. 2023-07-18 10:23:15 +08:00
Chenjianyu e66042bd04 * add save action for prompt audit page. 2023-07-18 10:22:37 +08:00
liwenrui 6ebb6eb566 * add main menu to prompt details, task #97646. 2023-07-18 10:07:21 +08:00