feat: comments#882
Conversation
18ec182 to
3ec1613
Compare
7034a47 to
3a87865
Compare
99c2dc9 to
9629bc9
Compare
1d64074 to
19b457a
Compare
beea290 to
dd8edf8
Compare
|
@usman-khalid We already have a reusable toast at https://github.com/adobe/da-nx/tree/main/nx2/blocks/shared/toast. Please check if that can be used here instead. |
@sharanyavinod they are visually quite different, and at least in browse view, it covers the toolbar at the bottom. We could use the nx2 toast only for comments, but in my mind this should be consistent across the board.
|
|
The nx toast follows the new design we are working towards, so for new features it would be better to use it ootb especially within EW canvas. I would also recommend moving changes not related to comments to a separate PR, for eg. switching to use toast in the browse view. |
Cool - that make sense to me. I'll use the nx2 toast for comments and remove this refactor for now. Sounds like there's other stuff WIP that would organically remove the current toast in da-sites & da-list anyway. |
617af79 to
56a8fc9
Compare
2679edb to
05f2f97
Compare

To be merged with adobe/da-nx#557
Summary
Collaborative comments for Experience Workspace & DA.
Users can select text, an image or a table (block) and attach a comment. Each comment is stored as a .json file in
.da/comments/{docId}/{commentId}.jsonWhen a selection is made, a comment icon is also added to the toolbar to initiate a thread.
Supports replies/threads, resolve/unresolve & orphan threads (user comments on something, the content is deleted while the comment is still active).
Keyboard Shortcuts
CMD+Option+M— if there is a selection, will start composing a new thread.CMD+Enterto submit a comment/replyRead-Only Users
Read only users who should have access to comment only would need to be given write permissions to
/{site}/.da/comments/ + **in the DA config.Layout Mode
Layout mode currently doesn't show a toolbar at all when a block is selected. The comment button should be made available there as part of the work done in SITES-46128
How Has This Been Tested?
Screenshots (if appropriate)
Types of changes
Checklist