-
Notifications
You must be signed in to change notification settings - Fork 48
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
comment in a read-only Pad? #68
Comments
You can already comment in a read only pad afaik. |
Or is it you can see them but not reply? |
After press on "Comment" the input is visible like in the editable view - but after reload no more. In the database I also can't find the given input. Deletion comments in read-only mode (saved in editable mode) will also not working persistently. |
I swear I added support for this.. Did you checkout latest version? |
I added via "npm install ep_comments_page" version 0.0.32 |
Mheh, will take a look tonight or tomorrow. |
I'm not gonna get time to look at this now until Late August, apologies! |
Hey, how would you fix this? Maybe one of us can try. |
Just allow comments through as an allowed message type and add the comments container to the read only view. |
If you say that, it sounds so easy... |
@gulaschskanone I'm available as a gun for hire if you want to get this done sooner than I get spare time? |
Current (ep: 1.8.3, ep_comments: 0.1.0) behavior is like this: Comments can be added on the pad as well as on the read-only pad, but the contents of the comments cannot be seen in the other version. The corresponding regions are highlighted in both though. Would be nice if one could also see the contents of the comments in both, pad and read-only pad, regardless of the origin of the comment. |
@thmo it's probably not a huge job to fix, assuming this is for a commercial project did you want to setup a bounty so we can get more eyes on it else it's gonna just fall naturally on our roadmap. |
Just found a real bug: You can make and later accept a suggestion in a read-only pad, resulting the original pad text to be changed. (No, it's not for a commercial project.) |
Ah okies, well when we're doing our next big push on ep_comments we will try address these bugs. Fair point RE the security issue, that should be getting rejected! |
Is there any activity on this? Or can someone point out where the issue could be? I might be able to come up with a fix. |
Take a stab! |
I did some more testing and my PR did not seem to resolve the issue completely. I have to take another look. |
Hello, I can make comments in readonly pad but they disappear after the refresh. Is this an expected behaviour? Thanks! |
How do you think? Could it be possible to comment in a read-only Pad?
They are stored to database, too
key:
value:
(commentManager.js, line 62, right?)
But in
key:
there won't be the comment (commentId), so after reload the pad the comment won't be shown.
Is that the consciously behavior? Does anyone know a way / fix to save comments on read-only pads?
The text was updated successfully, but these errors were encountered: