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

Improve interaction when deleting two-way relation field in a database #11252

Closed
TCOTC opened this issue May 4, 2024 · 7 comments
Closed

Improve interaction when deleting two-way relation field in a database #11252

TCOTC opened this issue May 4, 2024 · 7 comments
Assignees
Milestone

Comments

@TCOTC
Copy link
Contributor

TCOTC commented May 4, 2024

删除数据库双向关联列时提供弹窗选择

In what scenarios do you need this feature?

数据库删除关联列的时候应该要自动解除双向关联,否则会把另一个数据库的关联列也删除

最坑的是删除之后无法撤回,很容易就误删了

@TCOTC TCOTC changed the title 删除关联列的时候应该要自动解除双向关联,否则会把另一个数据库的关联列也删除 删除关联列的时候应该要自动解除双向关联 May 4, 2024
@TCOTC TCOTC changed the title 删除关联列的时候应该要自动解除双向关联 数据库删除关联列的时候应该要自动解除双向关联 May 4, 2024
@88250
Copy link
Member

88250 commented May 6, 2024

改进为让用户选择是否删除关联目标字段,类似 Notion:

image

@88250 88250 modified the milestones: backlog, 3.0.14 May 6, 2024
@TCOTC TCOTC changed the title 数据库删除关联列的时候应该要自动解除双向关联 删除数据库双向关联列时提供选择 May 10, 2024
@TCOTC TCOTC changed the title 删除数据库双向关联列时提供选择 删除数据库双向关联列时提供弹窗选择 May 10, 2024
@88250 88250 modified the milestones: 3.0.14, 3.0.15 May 12, 2024
@TCOTC TCOTC changed the title 删除数据库双向关联列时提供弹窗选择 ✨ 删除数据库双向关联列时提供弹窗选择 Aug 10, 2024
@88250 88250 changed the title ✨ 删除数据库双向关联列时提供弹窗选择 删除数据库双向关联列时提供弹窗选择 Aug 11, 2024
@88250 88250 added this to the backlog milestone Sep 11, 2024
@88250 88250 modified the milestones: backlog, 3.1.10 Oct 14, 2024
@88250 88250 changed the title 删除数据库双向关联列时提供弹窗选择 Improve database deletion of two-way relation columns Oct 17, 2024
@88250 88250 changed the title Improve database deletion of two-way relation columns Improve interaction when deleting two-way relation field in a database Oct 17, 2024
@TCOTC
Copy link
Contributor Author

TCOTC commented Oct 17, 2024

我觉得文案可以完全抄 Notion 的(“属性”换成“字段”):

image

@88250
Copy link
Member

88250 commented Oct 17, 2024

有点不一样的,因为如果不是双向关联是不弹确认框的(属性面板会弹)。

@TCOTC
Copy link
Contributor Author

TCOTC commented Oct 17, 2024

刚刚试了一下,删除双向关联列不会弹窗 → 所以是还没改完吗

default.webm

@88250
Copy link
Member

88250 commented Oct 17, 2024

没有改完的,等 issue 关闭。

Vanessa219 added a commit that referenced this issue Oct 17, 2024
Vanessa219 added a commit that referenced this issue Oct 17, 2024
@TCOTC
Copy link
Contributor Author

TCOTC commented Oct 17, 2024

01 我觉得加一个“但”会更合适:

image

像 Notion 这样:

image

02 关联字段还是双向关联的状态:

default.webm

@88250
Copy link
Member

88250 commented Oct 18, 2024

稍后调整。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants