MaxKB icon indicating copy to clipboard operation
MaxKB copied to clipboard

[Feature] When applying or importing functions in MaxKB environment, if there are functions or applications with duplicate names, please give a prompt: overwrite, need to modify the application, function name

Open huskiesir opened this issue 8 months ago • 5 comments

Contact Information

[email protected]

MaxKB Version

1.10.7-lts

Problem Description

问题描述:在MaxKB环境中进行应用或者函数的导入时,如果有名字重复的函数或者应用,请给出提示:覆盖、需要修改应用、函数名称。如果环境上存在多个名字一样的函数或者应用,会给我们选择上带来困扰,所以需要优化导入这部分的逻辑。

Image

场景介绍: 我们有2个MaxKB环境,测试环境和生产环境,开发的函数库和应用要先在测试环境上进行跑一遍再导入到生产环境,但是往往这个应用或者函数的更改是频繁多次的,所以会涉及到多次导入的操作(测试环境上更改后导出,再导入到生产环境),问题是如果环境上存在多个名字一样的函数或者应用,会给我们选择上带来困扰,所以需要优化导入这部分的逻辑。

Steps to Reproduce

应用的导出与导入。

The expected correct result

No response

Related log output


Additional Information

No response

huskiesir avatar Jun 20 '25 06:06 huskiesir

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Contact Information

[email protected]

MaxKB Version

1.10.7-lts

Problem Description

Problem description: When importing applications or functions in MaxKB environment, if there are functions or applications with duplicate names, please give a prompt: overwrite, need to modify the application, and function name. If there are multiple functions or applications with the same name in the environment, it will cause trouble for us to choose, so we need to optimize the logic of importing this part.

Image

Scene introduction: We have 2 MaxKB environments, test environment and production environment. The developed function libraries and applications must be run on the test environment once and then imported into the production environment. However, this application or function is often changed frequently, so it involves multiple import operations (exported after changing the test environment, and then imported into the production environment). The problem is that if there are multiple functions or applications with the same name in the environment, it will cause trouble for us to choose, so we need to optimize the logic of importing this part.

Steps to Reproduce

Export and import of applications.

The expected correct result

No response

Related log output


Additional Information

No response

shaohuzhang1 avatar Jun 20 '25 06:06 shaohuzhang1

感谢反馈,你说的场景确实存在,后续导入可以考虑优化一下。

baixin513 avatar Jun 23 '25 07:06 baixin513

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Thanks for the feedback, the scenario you mentioned does exist, so you can consider optimizing it in the subsequent import.

shaohuzhang1 avatar Jun 23 '25 07:06 shaohuzhang1

感谢反馈,你说的场景确实存在,后续导入可以考虑优化一下。

baixin513 avatar Jun 23 '25 07:06 baixin513

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Thanks for the feedback, the scenario you mentioned does exist, so you can consider optimizing it in the subsequent import.

shaohuzhang1 avatar Jun 23 '25 07:06 shaohuzhang1