This website requires JavaScript.
Explore
Help
Register
Sign In
root
/
MyNote
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
1
Wiki
Activity
Files
a18982659bf1cf8ee735762573cbad39c767e188
MyNote
/
apps
/
desktop
T
History
hunter-dev
a18982659b
fix(outline): Typora 式瞬时跳转——smooth scroll 在导航场景是反模式(慢+与 ProseMirror scrollIntoView 冲突). 参考 Typora 设计: 1.瞬时设置 scrollEl.scrollTop=targetTop, 不用 behavior:smooth; 2.setTextSelection 设光标(不触发滚动) + view.focus() 直接聚焦(跳过 editor.commands.focus 的 scrollIntoView); 3.闪烁高亮放最后. 一击即达, 无需二次点击, 无冲突卡顿
2026-08-26 21:51:25 +08:00
..
src
fix(outline): Typora 式瞬时跳转——smooth scroll 在导航场景是反模式(慢+与 ProseMirror scrollIntoView 冲突). 参考 Typora 设计: 1.瞬时设置 scrollEl.scrollTop=targetTop, 不用 behavior:smooth; 2.setTextSelection 设光标(不触发滚动) + view.focus() 直接聚焦(跳过 editor.commands.focus 的 scrollIntoView); 3.闪烁高亮放最后. 一击即达, 无需二次点击, 无冲突卡顿
2026-08-26 21:51:25 +08:00
tests
/e2e
fix(editor+outline): 2个问题修复——1.tiptap error: resetEditor清空currentPath后TiptapEditor提前return不渲染EditorContent, 但useEffect仍调editor.commands.setContent触发view.dom访问崩溃; 修复: currentPath为null时跳过setContent并注销useEditorShared引用; 2a.大纲不随文档切换更新: collect effect仅依赖editor, setContent用emitUpdate:false不触发update事件; 修复: 加currentPath依赖+rAF延迟收集; 2b.大纲点击跳转位置不准: scrollIntoView的block:start受父容器影响; 修复: 手动计算scrollTop=elRect.top-containerRect.top+scrollEl.scrollTop, scrollTo精确到容器最上方
2026-08-26 21:35:11 +08:00
electron.vite.config.ts
M0-M11 狩夜人笔记初始实现:11里程碑+86测试
2026-08-24 20:35:22 +08:00
package.json
feat(M2): FR-E12 公式块——MathBlock 节点(KaTeX 块级渲染+可编辑源码区)+InlineMath 行内公式; SlashMenu 加 公式 项; addStorage markdown 序列化(../$..$); katex 依赖; editor-math E2E 1 项
2026-08-26 13:47:59 +08:00
playwright.config.ts
test: 起 Playwright(electron) E2E 骨架 + 金标准往返测试(建→写→存→重开字节一致)
2026-08-24 22:35:09 +08:00
pnpm-lock.yaml
M0-M11 狩夜人笔记初始实现:11里程碑+86测试
2026-08-24 20:35:22 +08:00
tsconfig.json
M0-M11 狩夜人笔记初始实现:11里程碑+86测试
2026-08-24 20:35:22 +08:00
tsconfig.node.json
fix: tsc -b 全绿(rootDir/include 项目引用、frontmatter 导入路径、TiptapEditor 重复 import、WebkitAppRegion 断言、dialog confirm 返回类型)
2026-08-24 22:25:24 +08:00
tsconfig.web.json
fix: tsc -b 全绿(rootDir/include 项目引用、frontmatter 导入路径、TiptapEditor 重复 import、WebkitAppRegion 断言、dialog confirm 返回类型)
2026-08-24 22:25:24 +08:00