Notebook Comments Disappear
gallowayevan opened this issue · comments
Describe the bug
I have tried a couple of times to comment on a cell within this notebook: https://observablehq.com/d/6b2c7542cb8d1308. I can add the comment and then click "Comment" and the comment appears to be published. However, if I reload the page, the comment disappears.
Expected behavior
The comment appears even after page reload.
Desktop (please complete the following information):
- OS: Windows 10
- Browser Firefox
- Version 125.0.3]
Thanks for the report! Could you try commenting on the @latest
version of the notebook and let me know if that works?
You can access the latest version by clicking "Paused" in the notebook header:
Thanks! Now I was able to post the comment and it stuck. To summarize, in order to comment, I need to make sure that I am commenting on the latest version of the notebook. Is that right?
That sounds correct! Observable does not support commenting on specific versions of a notebook, and a paused notebook is essentially displaying an older version. At a minimum we would need to ensure that the "Add comment" option is disabled, and then point you to the latest version instead.
We released an update that works around the restrictions of comments on older notebook versions. When you try to comment on a paused notebook you are now given the choice to navigate to the cell in the latest version:
![image](https://private-user-images.githubusercontent.com/322014/329675048-d18c778a-725f-4b1f-aca7-6959cbc653a5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE1NDkzNDksIm5iZiI6MTcyMTU0OTA0OSwicGF0aCI6Ii8zMjIwMTQvMzI5Njc1MDQ4LWQxOGM3NzhhLTcyNWYtNGIxZi1hY2E3LTY5NTljYmM2NTNhNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzIxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcyMVQwODA0MDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02Y2E5NTk1OWMyZjUzYzJkMTU4YmU1NDQ4NTNkMzIwMTgzYWMyYjAwNzFkYTE3MTRmM2RiNTA3ZWE5NWJiZjg5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.sNBzpdd12s8RFDIn2-zJOJqVxSGdE8cjaQi0wNt6JlM)
I'm going to mark this issue as resolved, but please let us know if you still experience problems.