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

替换文本后不重新加载界面 #11844

Closed
TCOTC opened this issue Jun 27, 2024 · 7 comments
Closed

替换文本后不重新加载界面 #11844

TCOTC opened this issue Jun 27, 2024 · 7 comments

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Jun 27, 2024

替换文本后不重新加载界面

https://ld246.com/article/1719478251222 第一点

@yutianxhs25
Copy link

这个必须改进啊。刷新背后的逻辑是什么?为什么要刷新?难不成改了文件名要刷新?

@88250
Copy link
Member

88250 commented Jun 30, 2024 via email

@yutianxhs25
Copy link

因为思源支持多窗口,为了保证一致性所以目前必须刷新。后续如果能改进的我我们尽量想办法,谢谢。

---原始邮件--- 发件人: @.> 发送时间: 2024年6月30日(周日) 晚上9:57 收件人: @.>; 抄送: @.>; 主题: Re: [siyuan-note/siyuan] 替换文本后不重新加载界面 (Issue #11844) 这个必须改进啊。刷新背后的逻辑是什么?为什么要刷新?难不成改了文件名要刷新? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.>

然而,不应该、没有理由合上文档树啊。
最好是不刷新,就像word、typora那样。
如果不得不刷新的话,刷新之前,应当记录下文档树的展开状态,刷新完毕后再回复文档树的状态吧。

@88250
Copy link
Member

88250 commented Jun 30, 2024

@yutianxhs25 你说的没错,之前已经有提议需要保留文档树展开状态 #10652 后面尽量考虑,谢谢。

@88250
Copy link
Member

88250 commented Jun 30, 2024

这个 issue 我们先关闭了,感谢提议和讨论。

@88250 88250 closed this as completed Jun 30, 2024
@TCOTC
Copy link
Contributor Author

TCOTC commented Jun 30, 2024

因为思源支持多窗口,为了保证一致性所以目前必须刷新。

这个没法判断吗?如果替换的文档只打开了一个页签,那就只刷新那一个页签就够了(或者说多页签也应该可以单独刷新受影响的页签)

@88250
Copy link
Member

88250 commented Jun 30, 2024 via email

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

3 participants