[PR #79] [MERGED] feat(#62): 支持无限层级的文件夹 #697

Closed
opened 2026-03-02 03:41:21 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/codexu/note-gen/pull/79
Author: @codexu
Created: 2/17/2025
Status: Merged
Merged: 2/17/2025
Merged by: @codexu

Base: devHead: refactor-file-manager


📝 Commits (10+)

  • 5125630 feat: 加载 article 下无限层次的文件
  • d31d7c4 fix: 多级嵌套时文件与文件夹的选择路径
  • 3e93a1c feat: 计算多级嵌套文件夹展开状态
  • e7e9aa0 feat: 获取多层级文件夹下的 github 同步文件
  • ec45bf6 feat: 多层级下的本地和同步文件删除
  • f3fb3bc feat: 多层级文件重命名
  • ae271d1 fix: 首次未正确加载所有已展开的文件夹内的文件
  • 9f3e01c fix: 多层级文件无法正常创建
  • f7f1837 fix: 未配置 github 禁止发送请求
  • 0b8354f feat: 支持无限层级的新建文件

📊 Changes

10 files changed (+267 additions, -248 deletions)

View changed files

📝 src/app/core/article/custom-footer/sync-state.tsx (+1 -1)
📝 src/app/core/article/file/file-item.tsx (+40 -113)
📝 src/app/core/article/file/file-manager.tsx (+18 -16)
📝 src/app/core/article/file/folder-item.tsx (+48 -42)
📝 src/app/core/article/file/index.tsx (+2 -2)
📝 src/app/core/setting/setting-template.tsx (+0 -1)
📝 src/components/ui/sidebar.tsx (+1 -1)
📝 src/lib/github.ts (+6 -0)
src/lib/path.ts (+41 -0)
📝 src/stores/article.ts (+110 -72)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/codexu/note-gen/pull/79 **Author:** [@codexu](https://github.com/codexu) **Created:** 2/17/2025 **Status:** ✅ Merged **Merged:** 2/17/2025 **Merged by:** [@codexu](https://github.com/codexu) **Base:** `dev` ← **Head:** `refactor-file-manager` --- ### 📝 Commits (10+) - [`5125630`](https://github.com/codexu/note-gen/commit/5125630dae9010da9ad5ca9953924cba3593699b) feat: 加载 article 下无限层次的文件 - [`d31d7c4`](https://github.com/codexu/note-gen/commit/d31d7c47ff3e4edbd87293c467602228543c3ed0) fix: 多级嵌套时文件与文件夹的选择路径 - [`3e93a1c`](https://github.com/codexu/note-gen/commit/3e93a1ccaa6425a04992c36caf9fe8f0c80be61e) feat: 计算多级嵌套文件夹展开状态 - [`e7e9aa0`](https://github.com/codexu/note-gen/commit/e7e9aa02477b28155c1a8becf78b6d09115e5a7e) feat: 获取多层级文件夹下的 github 同步文件 - [`ec45bf6`](https://github.com/codexu/note-gen/commit/ec45bf6fd9029bebcdd1a1005051b26a6631b3b3) feat: 多层级下的本地和同步文件删除 - [`f3fb3bc`](https://github.com/codexu/note-gen/commit/f3fb3bc5b1639544107b3a8d1c6db7ee2d7d8e82) feat: 多层级文件重命名 - [`ae271d1`](https://github.com/codexu/note-gen/commit/ae271d1b0c99725a7065561c16e446dcf1f313ed) fix: 首次未正确加载所有已展开的文件夹内的文件 - [`9f3e01c`](https://github.com/codexu/note-gen/commit/9f3e01c5b33d373ab0a8532f15464a5521bf0190) fix: 多层级文件无法正常创建 - [`f7f1837`](https://github.com/codexu/note-gen/commit/f7f1837b108ab3067e066594ce808b50573b8a3b) fix: 未配置 github 禁止发送请求 - [`0b8354f`](https://github.com/codexu/note-gen/commit/0b8354fc5b5281f88e8fb227b4a570be4fafed87) feat: 支持无限层级的新建文件 ### 📊 Changes **10 files changed** (+267 additions, -248 deletions) <details> <summary>View changed files</summary> 📝 `src/app/core/article/custom-footer/sync-state.tsx` (+1 -1) 📝 `src/app/core/article/file/file-item.tsx` (+40 -113) 📝 `src/app/core/article/file/file-manager.tsx` (+18 -16) 📝 `src/app/core/article/file/folder-item.tsx` (+48 -42) 📝 `src/app/core/article/file/index.tsx` (+2 -2) 📝 `src/app/core/setting/setting-template.tsx` (+0 -1) 📝 `src/components/ui/sidebar.tsx` (+1 -1) 📝 `src/lib/github.ts` (+6 -0) ➕ `src/lib/path.ts` (+41 -0) 📝 `src/stores/article.ts` (+110 -72) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 03:41:21 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/note-gen#697
No description provided.