observablehq / feedback

Customer submitted bugs and feature requests
42 stars 3 forks source link

Notebook Comments Disappear #633

Closed gallowayevan closed 1 month ago

gallowayevan commented 1 month ago

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):

mootari commented 1 month ago

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:

image
gallowayevan commented 1 month ago

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?

mootari commented 1 month ago

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.

mootari commented 1 month ago

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

I'm going to mark this issue as resolved, but please let us know if you still experience problems.