Commit Graph
55601 Commits
Author SHA1 Message Date
liwenrui 2c233fedd8 * refactor. 2023-08-03 14:22:38 +08:00
Chenjianyu 0fb6325dae * revert "refactor prompt audit toolbar inject method." 2023-08-03 13:54:31 +08:00
liwenrui 0722a15248 * tweak role templates style. 2023-08-03 13:53:33 +08:00
Chenjianyu a34617a44d * refactor prompt audit toolbar inject method. 2023-08-03 13:53:12 +08:00
liwenrui f5e460b1ce * remove focus state style, bug #37009. 2023-08-03 13:20:27 +08:00
liwenrui 5efbbcf6e3 * move lang into lang file. 2023-08-03 10:53:10 +08:00
liwenrui 7e5632ae05 * add titles to role template texts. 2023-08-03 10:46:21 +08:00
liwenrui 77704cd880 * redirect to most relevant ai admin page. 2023-08-03 10:30:35 +08:00
liwenrui e3369263fb * add border to targetform form. 2023-08-02 17:27:22 +08:00
Chenjianyu 38f451fde6 * add missing languages. 2023-08-02 15:32:20 +08:00
Chenjianyu e07a013fd4 * add priv for role templates. 2023-08-02 15:13:46 +08:00
liwenrui 00fa299f91 * check priv and hide edit model button. 2023-08-02 14:19:44 +08:00
liwenrui 126ec20210 * fix priv name. 2023-08-02 14:14:18 +08:00
Chenjianyu c2d44a3e51 * save a new role template when save the prompt role. 2023-08-02 14:13:54 +08:00
Chenjianyu 3c45faca8c * add save template radio. 2023-08-02 14:11:23 +08:00
liwenrui 7152c472ed * filter prompts according to form privs, task #98341. 2023-08-02 13:45:01 +08:00
liwenrui 866688d046 * tweak priv deps. 2023-08-02 11:24:37 +08:00
liwenrui 31c0514887 * fix ai prompt menu overflowing. 2023-08-02 11:01:50 +08:00
Chenjianyu 148e9010a5 * fix styles. 2023-08-02 11:00:20 +08:00
liwenrui 10eb052765 * tweak ai priv and redirection. 2023-08-02 10:55:27 +08:00
Chenjianyu b58f16018d * apply role template to the assign role main form. 2023-08-02 10:52:41 +08:00
liwenrui ffed8a893f * check for priv prior to executing and auditing prompts. 2023-08-02 10:41:54 +08:00
liwenrui dca806de33 * print ai buttons checking priv. 2023-08-02 10:41:54 +08:00
Chenjianyu 17dff4aa71 * add edit role template method. 2023-08-02 10:26:07 +08:00
liwenrui 7397567918 * improve ai priv deps. 2023-08-02 10:10:42 +08:00
liwenrui 7f3808fcea * fix missing ai priv manager. 2023-08-02 09:59:21 +08:00
Chenjianyu 0e2edd4327 * add delete role template method. 2023-08-02 09:53:23 +08:00
liwenrui eb3c36594c * design step privs depend each other. 2023-08-01 17:19:33 +08:00
Chenjianyu d9e0232ab2 * add success toast. 2023-08-01 17:19:01 +08:00
Chenjianyu d21234c457 * add role CRUD method. 2023-08-01 16:54:14 +08:00
Chenjianyu 22e5f8234f * add create role template and dynamic refresh the role template list. 2023-08-01 16:45:12 +08:00
Chenjianyu bf0f7dde55 * add role template cards. 2023-08-01 16:45:12 +08:00
Chenjianyu b9f7e6d3b4 * change the icon. 2023-08-01 16:45:12 +08:00
liwenrui 4dff2f7657 * tweak lang. 2023-08-01 15:50:04 +08:00
liwenrui be3acd5404 * show loading properly on prompt re-execution. 2023-08-01 15:46:09 +08:00
liwenrui 485a728c1a + loading status of prompt execution, task #99301. 2023-08-01 14:56:02 +08:00
liwenrui e766946833 * tweak lang. 2023-08-01 14:56:02 +08:00
Chenjianyu a9cf9b60a4 * add get role templates method. 2023-08-01 11:08:10 +08:00
Chenjianyu 97c11cb6f4 * add prompt role table. 2023-08-01 11:04:30 +08:00
Chenjianyu 488b6125d6 * reverse a icon. 2023-08-01 10:57:35 +08:00
Chenjianyu 1a4a7521e6 * reverse a icon. 2023-08-01 10:55:56 +08:00
liwenrui cf3a11e10c * tweak ai lang, task #99298,99299,99300. 2023-08-01 10:16:57 +08:00
Chenjianyu e7678a5485 * add role template panel. 2023-08-01 10:11:25 +08:00
Chenjianyu 417ee67d7a * merge form title. 2023-07-31 16:02:21 +08:00
Chenjianyu b46cf720a7 * fix test case function calling schema. 2023-07-31 13:22:15 +08:00
Chenjianyu 5e46b07f8c * fix wrong vars for productplan create sub plan. 2023-07-31 13:10:08 +08:00
liwenrui fad205128c * add missing branch into link format, and refactor. 2023-07-31 10:30:50 +08:00
liwenrui 628344b130 * use empty string instead of 0 in target form link vars. 2023-07-31 10:25:13 +08:00
liwenrui 34fd59def0 * tweak style of progress, mainly for non-zh langs. 2023-07-31 10:04:16 +08:00
liwenrui 2b3d208ea0 * reduce items in one row for lower resolutions, bug #36921. 2023-07-31 09:52:06 +08:00