perf: optimize markdown file link detection

Only mark existing files as openable links
Avoid file-link behavior while messages stream
Limit file existence checks to 4 concurrent requests
This commit is contained in:
Bohdan Triapitsyn
2026-05-05 19:21:44 +03:00
parent fd6635a963
commit a49e2ce1ae
3 changed files with 94 additions and 21 deletions
+2
View File
@@ -976,6 +976,8 @@ html:not(.dark) .chat-scroll {
cursor: pointer;
text-decoration: underline;
text-underline-offset: 2px;
user-select: text;
-webkit-user-select: text;
}
.markdown-content [data-openchamber-file-link="true"]:hover {