-
Notifications
You must be signed in to change notification settings - Fork 739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improved autosaved state for comments #7445
base: master
Are you sure you want to change the base?
Improved autosaved state for comments #7445
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @rparth07
it seems that now the comment (edit mode) is visible for other users
and I also get when opening the same document and trying to comment in two different browsers
17:41:10.008 Uncaught TypeError: this._viewInfo[viewid] is undefined
getViewName Map.js:872
insertComment CommentListSection.ts:8
_insertAnnotationControl Control.NotebookbarBuilder.js:936
jQuery 2
6 Map.js:872:2
Also it the user comes back and doesn't press any button and clicks in another part of the document -> it's then impossible to edit the comment
Sure, let's clarify the intended behavior. If I understand correctly, you're suggesting that the comment in edit mode should not be visible to other users once the focus is lost. Is that the expected behavior we aim for?
I couldn't replicate the error on my end. Could you please provide detailed steps to reproduce the issue? Additionally, are there specific browsers where this problem occurs?
The described behavior does sound unusual. Could you please provide more details on this issue? Also, do you think this behavior is related to the error mentioned earlier? Any insights you can share will help me in thoroughly understanding and resolving this. Thank you for your assistance @pedropintosilva . |
385b4d3
to
4345b46
Compare
@rparth07 can you please rebase and solve the conflicts here ? |
Thanks @eszkadev @Darshan-upadhyay1110 will do:) |
84f1a41
to
5542fa1
Compare
Merge commits are not allowed... |
eb95f46
to
feb0023
Compare
sorry, It was by mistake! |
I resolved the merge conflicts and updated the relevant test cases for autosaved comments. However, in the multi-user Cypress tests, three test cases related to reply autosave are currently failing. Upon further investigation, I found a potential issue (#10429) that may be causing these test failures. I believe that addressing this issue will likely resolve the failing test cases. |
Tests are now passing. @rparth07 will you have some time to update this PR and rebase on top of master? |
Sure, will do it by today. |
feb0023
to
9e5b8d0
Compare
please rebase, we have API change again... |
This commit addresses issue CollaboraOnline#7211 by enhancing the user experience for the autosaved comments feature. The changes ensure users can easily recognize autosave status without increasing widget height. To test the fix, manually verify the autosave behavior by changing focus to another browser tab and checking that the comment remains editable with clear autosaved feedback. Signed-off-by: Parth Raiyani <[email protected]> Change-Id: I9ad6c36a393ef5d895ee463f44569c52f1c8fd61
Signed-off-by: Parth Raiyani <[email protected]> Change-Id: I0ebb1c8805d04e687e16529ba39742f00577dd0c
9e5b8d0
to
e5ff930
Compare
this can have conflicts with #10772 |
Change-Id: I9ad6c36a393ef5d895ee463f44569c52f1c8fd61
Checklist
make check
make run
and manually verified that everything looks okay