Skip to content

[Feature] Optimize the prompt when the database password cannot be retrieved from the server #10410

@jimes222

Description

@jimes222

1Panel Version

v2.0.11

Please describe your needs or suggestions for improvements

从服务器同步数据库后,无法获取到密码的数据库提示是“无法获取密码,请修改”,感觉改成“无法获取,如需要请改密”(或是“无法获取,可以改密”等)的文字好一些,请修改 似乎有引导倾向。

因为通过面板创建的数据库也好、安装的应用也好都可以在面板的数据库管理中查看或复制密码,应该只有从服务器同步的数据库无法获取密码,而这种情况下这个库大概率是被其它应用程序使用的,因此也不能随便改密码,改了就一首凉凉献自己;

因此,感觉“无法获取密码,请修改”不太好,就放一个文字提示似乎能更好一点,毕竟真要改密码那 行末第一个按钮就是“改密”,前面来个“请修改”似乎也有些多余。

大概就像第一行这样:
Image


没记错的话之前用 BT 时 BT 就是这么干的:获取不到密码就“请修改”,还是绿色强调:获取不到就获取不到,在显示密码的地方来个“请修改”感觉就有点不太合适。

Please describe the solution you suggest

No response

Additional Information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions