Commit Graph
55619 Commits
Author SHA1 Message Date
Chenjianyu 41d696c4d2 * fix a word. 2023-08-07 10:32:58 +08:00
Chenjianyu c9c1810fc7 * inject data after DOMContentLoaded. 2023-08-07 10:19:49 +08:00
Chenjianyu abf761c7b8 * fix a condition. 2023-08-04 16:19:33 +08:00
Chenjianyu 276de474f4 * fix a condition. 2023-08-04 15:47:25 +08:00
liwenrui f159ae730a * remove unusable target form. 2023-08-04 15:29:42 +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
Chenjianyu 2865160895 * prompt audit go straight to the execution page. 2023-08-03 16:36:58 +08:00
Chenjianyu 588c7ffc64 * refactor prompt audit buttons. 2023-08-03 16:11:34 +08:00
Chenjianyu cfbb95f273 * revert prompt audit toolbar. 2023-08-03 16:11:34 +08:00
Chenjianyu 656e334a7c * refactor prompt audit toolbar inject method. 2023-08-03 16:11:34 +08:00
liwenrui 6628bf19e7 * fix roles overflowing. 2023-08-03 15:29:28 +08:00
liwenrui d284a84ed6 * refuse saving dummy role. 2023-08-03 15:25:26 +08:00
liwenrui 38116c2aa8 * skip watching role modals. 2023-08-03 15:20:01 +08:00
liwenrui cd086b9dcd * clear input values on submit. 2023-08-03 14:38:45 +08:00
liwenrui 3d950933a1 * fix messager type. 2023-08-03 14:27:07 +08:00
liwenrui df92ca51a2 * fix selector. 2023-08-03 14:24:59 +08:00
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