mirror of
https://github.com/BoostIO/BoostNote-App.git
synced 2026-04-27 05:15:56 +03:00
[PR #1089] [MERGED] Refactor Drag and Drop and implement sidenav and folder view dragging #1142
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#1142
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/1089
Author: @Komediruzecki
Created: 8/12/2021
Status: ✅ Merged
Merged: 8/19/2021
Merged by: @Rokt33r
Base:
master← Head:feature/dnd-inside-folder-view📝 Commits (1)
155a8a0Add dnd inside folder view and across sidenav and folder view📊 Changes
10 files changed (+404 additions, -103 deletions)
View changed files
📝
src/cloud/components/molecules/ContentManager/Rows/ContentManagerDocRow.tsx(+9 -0)📝
src/cloud/components/molecules/ContentManager/Rows/ContentManagerFolderRow.tsx(+10 -0)📝
src/cloud/components/molecules/ContentManager/Rows/ContentManagerRow.tsx(+56 -3)📝
src/cloud/components/molecules/ContentManager/index.tsx(+65 -3)📝
src/cloud/interfaces/resources.ts(+26 -4)📝
src/cloud/lib/hooks/sidebar/useCloudDnd.ts(+76 -31)📝
src/cloud/lib/hooks/sidebar/useCloudSidebarTree.tsx(+60 -40)📝
src/cloud/lib/hooks/useCloudApi.ts(+12 -2)📝
src/cloud/lib/utils/patterns.ts(+75 -5)📝
src/shared/components/organisms/Sidebar/molecules/SidebarTree.tsx(+15 -15)📄 Description
Add dnd inside folder view and across sidenav and folder view
Add callbacks for dnd functions
Update lower level components to use dnd functions
Add initial dnd refactor
Replace dragged resource with resource saving in transfer data
Change APIs across codebase (dragStart, dragEnd, dropOn)
Add text/plain data transfer to folder and doc dragg save events
Drag and drop showcase:
https://user-images.githubusercontent.com/18196945/129209367-f6e27f3d-3cfe-44d0-9dd1-26b09e8ef716.mp4
Tested in desktop app
Current bug (I think already present before)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.