ONLYOFFICE / DocumentServer

ONLYOFFICE Docs is a free collaborative online office suite comprising viewers and editors for texts, spreadsheets and presentations, forms and PDF, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
https://www.onlyoffice.com
GNU Affero General Public License v3.0
4.81k stars 1.08k forks source link

Add ability to filter comments #1986

Open KilianMichiels opened 1 year ago

KilianMichiels commented 1 year ago

Do you want to request a feature or report a bug? Request a feature.

What is the current behavior? Currently, users are able to sort comments on:

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. /

What is the expected behavior? It would be nice to be able to filter comments to reduce the amount of comments a user gets to see. For example if you want to filter on an author, or if you only want to see unresolved comments.

The main issue I have without filters is that if you edit a document for a longer period of time or by multiple people, you tend to get a lot of comments. Over time, these comments get resolved..but they are still listed in the Comments section, needlessly filling up space/memory/scroll time. I don't want to delete the resolved comments as this would remove part of the editing history..which could be useful if someone new reads the documents and wants to know why something changed or is written in a particular way.

Did this work in previous versions of DocumentServer? /

DocumentServer version: 7.2.1.34

Operating System: Linux

Browser version: Mozilla Firefox 102.0 (64-bit)

ShockwaveNN commented 1 year ago

Over time, these comments get resolved..but they are still listed in the Comments section, needlessly filling up space/memory/scroll time.

Hi, maybe this option can help you

image

It can hide resolved comments without deleting them

KilianMichiels commented 1 year ago

Hi @ShockwaveNN, thanks for your suggestion. I checked and it seems this option was already turned off, but I can still see the resolved comments. Is this the correct behaviour then, or should I mark this as a bug?

I've attached a screenshot to illustrate: With the "Show resolved comments" option turned off, I created a document with some text. I then added 2 comments, one of them is resolved, but is still shown in the left "Comments" panel. It is also still visible in the document when hovering over the highlighted text (although you can clearly see the green check mark). The display mode is "Markup and balloons".

image

For completeness, I've also tried to turn off the option "Show comments in text" but the comments remain visible in the document as in the screenshot above.

image
ShockwaveNN commented 1 year ago

Oh, sorry, seems I'm wrong - this option only hide comments in editor area, but not in left comment sidebar

We'll investigate that we can do here, thanks

matveevms commented 1 year ago

Hello, @KilianMichiels Sorry for such a long wait. We decided to return to your proposal and therefore I created ticket 63578 in our internal tracker with your proposal.