openbazaar-desktop icon indicating copy to clipboard operation
openbazaar-desktop copied to clipboard

Show "Publish Reviews" Button When Unpublished Reviews Exist

Open jjeffryes opened this issue 6 years ago • 6 comments

Currently, new reviews for a listing aren't published until the user makes some other change to public information.

We should show a button to publish new reviews somewhere in the UI when unpublished reviews exist.

jjeffryes avatar Aug 07 '18 22:08 jjeffryes

@jjeffryes Do you mean when a buyer leaves a review, that review is not published unless they change some other "publish triggering" data?

If so, then my question would be why doesn't a new review trigger a publish? I understand we want to limit over publishing on frequent not critical actions, like following... but a review seems pretty infrequent to me and pretty important.

rmisio avatar Aug 08 '18 20:08 rmisio

Yes, that's exactly it.

I think the idea was publishing can only be triggered by the node owner, not by actions taken by other people?

jjeffryes avatar Aug 08 '18 21:08 jjeffryes

The vendor's node would need to do the publishing, but there's no reason the server shouldn't be able to periodically check for new reviews and publish.

tyler-smith avatar Aug 08 '18 21:08 tyler-smith

Yeah, that's what I was going to suggest... have some process that is checking and if it sees more than X unpublished reviews or a single unpublished review older than Y, it publishes.

Seems better to me than putting the cognitive load on the user to have to manage this.

rmisio avatar Aug 08 '18 21:08 rmisio

The original rationale for new reviews not triggering a publish was that it renders the existing reseeded store / listings outdated, and we didn't want that to be able to be triggered by external actions. I think we thought it could have been abused.

If it looks like that's not possible in practice then it can be changed.

SamPatt avatar Aug 16 '18 14:08 SamPatt

The original rationale for new reviews not triggering a publish was that it renders the existing reseeded store / listings outdated, and we didn't want that to be able to be triggered by external actions. I think we thought it could have been abused.

Well, but this would require a purchase of a listing... right? If that's so, I think most every vendor would trade an outdated IPFS hash for a sale.

I thought the original rational may have been similar to the following rational where we don't want to publish and break caching if potentially dozens of reviews are coming in, in a small window.

If that's true, then I think this fixes things:

have some process that is checking and if it sees more than X unpublished reviews or a single unpublished review older than Y, it publishes.

(in any case, I think having a vendor have to press a button is a pretty piss poor experience)

rmisio avatar Nov 16 '18 21:11 rmisio