PromucFlow_constructor/app/client/src/comments/inlineComments
Pranav Kanade a1ba69adfc
feat: draggable comment pins (#6742)
* made inline comment pins draggable and added wrapper around overlay comments wrapper

* moved drag hook to pin

* can drag on canvas

* Properly updating the thread to be able to properly move the pin

* always passing the ref to container

* updating BE to save the new pins position

* minor fix

* changed a file name

* minor improvement to fix unit test

* fix, updated dragging reducer function to not expect appId

* removing unrelated change

* added drag and drop for comment pins without react dnd

* updated unit tests

* minor fix

* added a grab pointer and minor offset when user moves the pin

* removed unnecessary store states

* moved drop from onDragEnd to onDrop to reset everything.

* using state selector and dispatch hook

* removed use of anchor widget

* removed pointer change from comments wrapper

* verifying if current pin is being dragged

* updated action creator name

* moved dragging in comments reducer.

* using dragging thread id from store itself

* using relative positioning of pointer to predict the location of pin

* unit test cases fixed

* minor fix

* removed the dependency of off set from callback
2021-08-27 14:27:18 +05:30
..
AddCommentInput.tsx [Fix] Minor comments feature fixes (#6490) 2021-08-10 12:05:08 +06:00
Comments.tsx Set focused comment based on url and visible thread id (#5992) 2021-07-20 15:44:35 +05:30
InlineCommentPin.tsx feat: draggable comment pins (#6742) 2021-08-27 14:27:18 +05:30
OverlayCommentsWrapper.tsx feat: draggable comment pins (#6742) 2021-08-27 14:27:18 +05:30
StyledComponents.tsx [Feature] Comments feature updates (#4579) 2021-05-20 17:33:08 +05:30
UnpublishedCommentThread.tsx Fix jest test for comments by overriding isCommentMode selector (#6027) 2021-08-05 22:16:38 +05:30
useOrgUsers.tsx Fixes related to the comments feature (#5904) 2021-07-19 20:58:41 +05:30