Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

数据库模板编辑器 #11080

Open
TCOTC opened this issue Apr 18, 2024 · 4 comments
Open

数据库模板编辑器 #11080

TCOTC opened this issue Apr 18, 2024 · 4 comments

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Apr 18, 2024

In what scenarios do you need this feature?

编辑模板时基本做不到一次成功,每次输入的时候都要拖动单元格,过程真的相当繁琐

Describe the optimal solution

为数据库模板列编辑提供专门的浮窗

  • 钉住 按钮:默认不钉住,点击浮窗外的区域会保存模板、关闭浮窗
  • .action{} 按钮:在光标处插入一个 ".action{ }"
  • 刷新 按钮:保存模板、刷新数据库状态,用于测试模板
  • 确定 按钮:保存模板、关闭浮窗
  • 编辑界面:给个代码块的界面最好,有行号和语法高亮,还能 Enter 换行、Tab 缩进
  • 浮窗标题:可以显示数据库名和对应的模板字段名

随手画个大概:

image

入口大概可以放在这里:

image

Describe the candidate solution

No response

Other information

关联:https://ld246.com/article/1713408840978/comment/1713421218612#comments

@LGRemdo
Copy link

LGRemdo commented Apr 22, 2024

开发者可以参考飞书对于公式的编辑

@TCOTC
Copy link
Contributor Author

TCOTC commented Apr 22, 2024

飞书的两个编辑器好高级啊

image

image

@LGRemdo
Copy link

LGRemdo commented Apr 23, 2024

飞书的两个编辑器好高级啊

image

image

图片右下角那个放大,到一个界面,才高级。而且真正编辑字段,是有特殊高亮的。

@TCOTC
Copy link
Contributor Author

TCOTC commented Apr 23, 2024

图片右下角那个放大,到一个界面,才高级。而且真正编辑字段,是有特殊高亮的。

image

@88250 88250 changed the title 为数据库模板列编辑提供专门的浮窗 为数据库模板列编辑提供专门的编辑器 Apr 25, 2024
@TCOTC TCOTC changed the title 为数据库模板列编辑提供专门的编辑器 数据库模板编辑器 Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants