In image page, comments made disappear instantly!
In image page, comments made are not seen. The comments do not appear instantly Typical url of such page is site dot com/photos/channel-name/image/e550cee7-b176-4afa-a8bd-2b064a16a617 Steps to reproduce
- upload a photo by clicking the "Add photos" button in Recent photos/album, and choose "Create a status post: "Yes"
- now click on the thumbnail in Recent photos/Album page
- You reach the page containing the photo only (and comments to it, if someone has commented), typical url of such page is as given above
- Make some comments here
- In Hubzilla the comments do not show up
- In Zap the comments show up instantly
- In both Hubzilla and Zap, the comments are shown as all comments one after another so that "Show all X number of comments" is not needed and this is great, and according to the common user expectancy/common UI/UX.
- in this page, the page is not auto-scrolled to the comment portion (in Hubzilla and Zap) while in all other pages we can see the comment we made just now!
Also, it is noteworthy that if you now come to the Channel Home / (Network) Stream - you can see your photo ALONG WITH THE COMMENTS YOU MADE IN THE ABOVE. Make some comments here in this Channel Home page
- In Hubzilla the comments show up instantly
- In Zap the comments show up instantly
- that's cool & that's what is expected too - this is great!
- however the comment counter is not incremented unless the page is manually refreshed or re-visited
Now from the Channel Home page, you click "Link to the Source" to see the page with ONLY the photo and its comments. Typical url of such page is site dot com/photos/channel-name/?mid=b64.aHR0cHM6Ly93d3cua29iaXRvbGEuY29tL2l0ZW0vZjRhMDI0ZTYtOTY0MC00YjMzLWIxZTEtMDcyMmNmM2Q2NzY5
- In Hubzilla the comments show up instantly
- In Zap the comments do NOT show up instantly (wanted to post it at https://codeberg.org/zot/zap/ but issues list is not seen anymore or I do not have permssions or privilege)
- tested the above in collapsed state (i.e. "Show all X number of comments" NOT clicked) to do: test in non-collapsed state too
Tested with
- php 7.4
- Hubzilla - Repository version (master) 6.4
- Zap - Repository version (release) 21.11.11
- latest Firefox (desktop)