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

Database relation field Ctrl+Hover not open the floating window #10836

Closed
TCOTC opened this issue Apr 2, 2024 · 11 comments
Closed

Database relation field Ctrl+Hover not open the floating window #10836

TCOTC opened this issue Apr 2, 2024 · 11 comments
Assignees
Labels
Milestone

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Apr 2, 2024

数据库关联列 Ctrl + 悬停 无效

改进数据库关联列

In what scenarios do you need this feature?

  1. 更方便跳转到关联的数据库
  2. 在数据库关联列中为关联的数据库创建新的行
  3. 鼠标悬停时跳转并定位到关联数据库 (的对应的那一行)
  4. 关联列支持自定义排序 Abnormal sorting of database relation fields #10835

Describe the optimal solution

1. 更方便跳转到关联的数据库

image

2. 在数据库关联列中为关联的数据库创建新的行:

Notion

3. 跳转并定位到关联数据库对应的那一行:

image

Describe the candidate solution

No response

Other information

参考了油管视频 https://www.youtube.com/watch?v=ZdUanaWigkY

@5kyfkr
Copy link

5kyfkr commented Apr 2, 2024

支持改进前两点,第三点思源已经可以直接悬浮窗显示

@TCOTC
Copy link
Contributor Author

TCOTC commented Apr 2, 2024

支持改进前两点,第三点思源已经可以直接悬浮窗显示

@5kyfkr 要怎么操作?能录屏说明一下吗?

@5kyfkr
Copy link

5kyfkr commented Apr 2, 2024

支持改进前两点,第三点思源已经可以直接悬浮窗显示

@5kyfkr 要怎么操作?能录屏说明一下吗?

是不是开了按下ctrl键才显示悬浮窗,我这边没开,直接鼠标移上去关联文档就会有浮窗
image

@TCOTC
Copy link
Contributor Author

TCOTC commented Apr 2, 2024

支持改进前两点,第三点思源已经可以直接悬浮窗显示

@5kyfkr 要怎么操作?能录屏说明一下吗?

是不是开了按下ctrl键才显示悬浮窗,我这边没开,直接鼠标移上去关联文档就会有浮窗

确实是开了,但我这边即使按下了 Ctrl 也不会悬浮显示

@5kyfkr
Copy link

5kyfkr commented Apr 2, 2024

是不是开了按下ctrl键才显示悬浮窗,我这边没开,直接鼠标移上去关联文档就会有浮窗

确实是开了,但我这边即使按下了 Ctrl 也不会悬浮显示

测试了是bug,选择悬停能正常打开,选择了 按住ctrl悬停 则无法显示

@TCOTC
Copy link
Contributor Author

TCOTC commented Apr 2, 2024

是不是开了按下ctrl键才显示悬浮窗,我这边没开,直接鼠标移上去关联文档就会有浮窗

确实是开了,但我这边即使按下了 Ctrl 也不会悬浮显示

测试了是bug,选择悬停能正常打开,选择了 按住ctrl悬停 则无法显示

@Vanessa219

@TCOTC
Copy link
Contributor Author

TCOTC commented Apr 3, 2024

支持改进前两点,第三点思源已经可以直接悬浮窗显示

@5kyfkr 我试了一下,你说支持「悬浮窗显示」的是主键关联的那个文档,而我的需求是「跳转并定位到关联数据库对应的那一行」,所以还是不行

@5kyfkr
Copy link

5kyfkr commented Apr 3, 2024

支持改进前两点,第三点思源已经可以直接悬浮窗显示

@5kyfkr 我试了一下,你说支持「悬浮窗显示」的是主键关联的那个文档,而我的需求是「跳转并定位到关联数据库对应的那一行」,所以还是不行

这个有点难度,试了notion也没有这样跳转的能力,现在的逻辑就是直接打开对应的文档了

@TCOTC
Copy link
Contributor Author

TCOTC commented Apr 3, 2024

支持改进前两点,第三点思源已经可以直接悬浮窗显示

我试了一下,你说支持「悬浮窗显示」的是主键关联的那个文档,而我的需求是「跳转并定位到关联数据库对应的那一行」,所以还是不行

这个有点难度,试了notion也没有这样跳转的能力,现在的逻辑就是直接打开对应的文档了

Notion 是点击之后直接打开页面的,但思源的数据库没有页面这个概念,所以只能看看能不能「跳转并定位到关联数据库对应的那一行」

@5kyfkr
Copy link

5kyfkr commented Apr 3, 2024

Notion 是点击之后直接打开页面的,但思源的数据库没有页面这个概念,所以只能看看能不能「跳转并定位到关联数据库对应的那一行」

明白了,主要问题还是关联的是纯文本主键的情况下吧,如果是文档或段落的块链接可以直接跳转

@88250
Copy link
Member

88250 commented Apr 7, 2024

拆分了一下,前两点近期应该可以改进,第三点中对于未绑定块行的定位较为困难,要考虑分页加载的情况,对于已绑定块行悬浮块目前已经支持(Ctrl 悬停的问题 @Vanessa219 看一下)。

  1. Support floating window to open related database when filling in the database relation field #10915
  2. Support creating new entries when filling in the database relation field #10914
  3. Support floating window to open the unbound block row when filling in the database relation field #10916

@TCOTC TCOTC changed the title 改进数据库关联列 数据库关联列 Ctrl + 悬停 无效 Apr 7, 2024
@88250 88250 added the Bug label Apr 7, 2024
@88250 88250 added this to the 3.0.8 milestone Apr 7, 2024
@88250 88250 changed the title 数据库关联列 Ctrl + 悬停 无效 Database relation field Ctrl+Hover not open the floating window Apr 7, 2024
Vanessa219 added a commit that referenced this issue Apr 7, 2024
@88250 88250 changed the title Database relation field Ctrl+Hover not open the floating window Database relation field Ctrl+Hover not open the floating window Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants