PromucFlow_constructor/app/client/src/comments
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
..
AppComments Add eslint rule to disallow console.log (#6717) 2021-08-20 09:43:16 +05:30
CommentCard [Fix] Focus the comment thread when opened after dismissing (#6437) 2021-08-06 12:18:58 +00:00
CommentsShowcaseCarousel Analytics events for the comments onboarding (#6763) 2021-08-23 14:55:16 +05:30
CommentThread Fix jest test for comments by overriding isCommentMode selector (#6027) 2021-08-05 22:16:38 +05:30
inlineComments feat: draggable comment pins (#6742) 2021-08-27 14:27:18 +05:30
tests Fix jest test for comments by overriding isCommentMode selector (#6027) 2021-08-05 22:16:38 +05:30
tour Minor comments feature fixes (#6245) 2021-08-02 12:57:20 +05:30
dsl.json Bug/mustache binding extra space (#5587) 2021-07-22 14:13:58 +05:30
utils.ts feat: draggable comment pins (#6742) 2021-08-27 14:27:18 +05:30