An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: Correct snapshot loading indicator positioning https://github.com/siyuan-note/siyuan/issues/19484
Daniel4f1b6774d190
diff --git a/app/src/assets/scss/business/_history.scss b/app/src/assets/scss/business/_history.scssindex d9f0e268cd..92452fd50b 100644--- a/app/src/assets/scss/business/_history.scss+++ b/app/src/assets/scss/business/_history.scss@@ -49,6 +49,12 @@}&__snapshot {+ &-loading {+ position: relative;+ height: 100%;+ list-style: none;+ }+&-diff-dialog {border-radius: 0;diff --git a/app/src/history/history.ts b/app/src/history/history.tsindex 696fdd13bf..e8fc3ac174 100644--- a/app/src/history/history.ts+++ b/app/src/history/history.ts@@ -396,7 +396,7 @@ const renderRepo = async (element: Element, currentPage: number) => {const pageElement = nextElement.nextElementSibling.nextElementSibling;const searchButton = searchInputElement.nextElementSibling as HTMLButtonElement;setRepoSearchLayout(element, searching);- listElement.innerHTML = '<li class="b3-list--empty"><div class="fn__loading"><img width="64px" src="/stage/loading-pure.svg"></div></li>';+ listElement.innerHTML = '<li class="history__snapshot-loading"><div class="fn__loading"><img width="64px" src="/stage/loading-pure.svg"></div></li>';updateRepoSelection(element);element.setAttribute("data-page", String(currentPage));pageBtn.textContent = String(currentPage);