Git Product home page Git Product logo

Comments (16)

88250 avatar 88250 commented on May 29, 2024 1

from siyuan.

LoneFireBlossom avatar LoneFireBlossom commented on May 29, 2024 1

不会支持的,这个需求违背了基础设计。 那个 issue 的目的是作为遗漏索引的兜底处理。

---原始邮件--- 发件人: "Jeffrey @.> 发送时间: 2024年4月27日(周六) 中午1:32 收件人: @.>; 抄送: @.>;"State @.>; 主题: Re: [siyuan-note/siyuan] 打开的文档不在开启的笔记本中,「定位打开的文档」时需要提示 (Issue #11149) 那我是不是还得单开一个 issue 「支持打开关闭的笔记本中的文档」? 有时候找不到块真的不知道是因为所在笔记本关闭了还是因为块已经删除了 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you modified the open/close state.Message ID: @.***>

那么当提示block not found的时候有什么简便的办法确定是因为笔记在其它笔记本里,还是这个块丢失了?

from siyuan.

88250 avatar 88250 commented on May 29, 2024

正常情况下是无法打开关闭的笔记本中的文档的,需要看下如何重现,谢谢。

from siyuan.

TCOTC avatar TCOTC commented on May 29, 2024

之前不是改进过吗?找不到 id 的话会直接在文件系统里找 #10772

我感觉是这个的作用

from siyuan.

88250 avatar 88250 commented on May 29, 2024

懂了,看来是 #10772 的问题,关闭的笔记本不应该再被索引的,稍后解决。

from siyuan.

TCOTC avatar TCOTC commented on May 29, 2024

懂了,看来是 #10772 的问题,关闭的笔记本不应该再被索引的,稍后解决。

那改了之后还能打开已关闭的笔记本中的文档吗?

如果改了之后打不开了,我觉得反而不如不改

from siyuan.

88250 avatar 88250 commented on May 29, 2024

from siyuan.

TCOTC avatar TCOTC commented on May 29, 2024

那我是不是还得单开一个 issue 「支持打开关闭的笔记本中的文档」?

有时候找不到块真的不知道是因为所在笔记本关闭了还是因为块已经删除了

from siyuan.

88250 avatar 88250 commented on May 29, 2024

那么当提示block not found的时候有什么简便的办法确定是因为笔记在其它笔记本里,还是这个块丢失了?

重建索引,完成以后再看,如果还是 block not found 那就是丢失了。

from siyuan.

TCOTC avatar TCOTC commented on May 29, 2024

那么当提示block not found的时候有什么简便的办法确定是因为笔记在其它笔记本里,还是这个块丢失了?

重建索引,完成以后再看,如果还是 block not found 那就是丢失了。

意思是如果引用的块在关闭的笔记本里,不会 block not found ?

from siyuan.

88250 avatar 88250 commented on May 29, 2024

抱歉抱歉,最近老看错问题……

在关闭的笔记本里会 block not found 的,就算重建索引完了也会。

from siyuan.

LoneFireBlossom avatar LoneFireBlossom commented on May 29, 2024

所以回到一开始的问题
那么当提示block not found的时候有什么简便的办法确定是因为笔记在其它笔记本里,还是这个块丢失了?

from siyuan.

TCOTC avatar TCOTC commented on May 29, 2024

除了索引已关闭的笔记本,我估计没有别的办法。但如果索引已关闭的笔记本,这个「关闭」就好像脱裤子放屁

from siyuan.

LoneFireBlossom avatar LoneFireBlossom commented on May 29, 2024

事实上现在仍然对关闭的笔记本有索引:

  1. A,B两个笔记本里各自有一个[[思源笔记]],假设它们均满足「虚拟引用」条件。
  2. 关闭A笔记本,在B笔记本里思源笔记文字会显示虚拟引用,鼠标移上去会提示block not found。

from siyuan.

TCOTC avatar TCOTC commented on May 29, 2024

虚拟引用好像是缓存了?

关闭A笔记本,在B笔记本里思源笔记文字会显示虚拟引用,鼠标移上去会提示block not found。

@88250 看看需不需要改进

from siyuan.

88250 avatar 88250 commented on May 29, 2024

关闭A笔记本,在B笔记本里思源笔记文字会显示虚拟引用,鼠标移上去会提示block not found。

这个问题稍后改进,谢谢。

from siyuan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.