Skip to content

The primary key are no longer shown in the attribute panel database #10027

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

Closed
zxhd863943427 opened this issue Dec 30, 2023 · 5 comments
Closed
Assignees
Milestone

Comments

@zxhd863943427
Copy link
Contributor

zxhd863943427 commented Dec 30, 2023

在属性面板中隐藏主键

In what scenarios do you need this feature?

块的主键就是它本身。本身显示这一项就令人困惑,特别是加入到database的块比较大或者不是常规的段落块,如列表块、超级块的时候。

如果加入到多个database里,还会导致出现多个重复项,这其实不是很符合用户的直觉。

图片

Describe the optimal solution

在属性面板中隐藏主键

Describe the candidate solution

No response

Other information

No response

@88250 88250 changed the title 在属性面板中隐藏主键 The primary key are no longer shown in the attribute panel database Dec 30, 2023
@88250 88250 self-assigned this Dec 30, 2023
@88250 88250 added this to the 2.12.0 milestone Dec 30, 2023
88250 added a commit that referenced this issue Dec 30, 2023

Verified

This commit was signed with the committer’s verified signature.
@88250 88250 closed this as completed Dec 30, 2023
@88250
Copy link
Member

88250 commented Jan 20, 2024

#10142 中实现 key 排序,如果没有主键的话排序可能会有问题,所以我们得恢复显示主键了。

@zxhd863943427
Copy link
Contributor Author

什么叫key排序?

@88250
Copy link
Member

88250 commented Jan 20, 2024 via email

@TCOTC
Copy link
Contributor

TCOTC commented May 23, 2024

@88250 这个排序已经是与视图独立的了,是不是可以隐藏主键了?

@88250
Copy link
Member

88250 commented May 23, 2024

@TCOTC 还是不隐藏吧,现在是和视图独立了,但是排序的时候依然需要主键。

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