mirror of
https://github.com/BoostIO/BoostNote-App.git
synced 2026-04-26 21:05:55 +03:00
Labels
No labels
android 🤖
assigned to core 🦹
bug 🐛
documentation 📚
documentation 📚
duplicate 🚫
external issue 🔼
external issue 🔼
feature request 🌟
funded on issuehunt 💵
help wanted 🆘
improvement request 🔨
improvement request 🔨
ios 🍎
mobile 📱
needs investigation 🔬
needs more info ℹ️
needs specs 📐
plugin idea 🔌
plugin idea 🔌
poll 🗳️
pull-request
question ❓
rewarded on issuehunt 🎁
security issue 🔑
won’t fix ❌
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/BoostNote-App#741
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/BoostIO/BoostNote-App/pull/396
Author: @ymtdzzz
Created: 4/6/2020
Status: ❌ Closed
Base:
master← Head:feature/folder-arranging📝 Commits (10+)
4ab1cecAdd parsing folder pathnames and folder tree component12e8875Add validation & Refactoring1f218e0Removed key 'isDirectory' from treeDatad874f32Add feature of rearranging foldersa088dedImplemented folder order supportf46b97bFixed some problems to pass current testsc2589e6Moved folderTree utils to a common file0ae7216Add mobile touch support9a0226bAdded tests9cdde2bAdded loader📊 Changes
19 files changed (+1423 additions, -70 deletions)
View changed files
📝
package-lock.json(+323 -7)📝
package.json(+5 -0)📝
src/components/App.tsx(+1 -0)📝
src/components/molecules/FolderListFragment.tsx(+17 -1)📝
src/components/molecules/StorageNavigatorFragment.tsx(+19 -5)➕
src/components/organisms/FolderList/FolderList.tsx(+64 -0)📝
src/components/pages/StorageEditPage.tsx(+98 -1)📝
src/index.tsx(+3 -1)📝
src/lib/db/NoteDb.spec.ts(+14 -2)📝
src/lib/db/NoteDb.ts(+37 -7)📝
src/lib/db/createStore.ts(+90 -43)📝
src/lib/db/store.spec.ts(+104 -0)📝
src/lib/db/types.ts(+1 -0)➕
src/lib/folderRearrangement.ts(+23 -0)➕
src/lib/folderTree.ts(+214 -0)➕
src/lib/specs/folderTree.spec.ts(+292 -0)📝
src/mobile/components/molecules/FolderListFragment.tsx(+17 -1)📝
src/mobile/components/pages/StorageEditPage.tsx(+98 -1)📝
src/mobile/index.tsx(+3 -1)📄 Description
related issue: #349
Added folder tree component to the storage edit page.
Folder pathnames are transformed to folderTreeData.
Example
↓
By using this data and react-sortable-tree library, we can get each folder's before & after pathname.
(Please try to push the
update foldersbutton after rearranging folders.)debug log
Todos:
IssueHunt Summary
Referenced issues
This pull request has been submitted to:
IssueHunt has been backed by the following sponsors. Become a sponsor
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.