Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Logic to determine new listings #642

Open
JustinDrake opened this issue Aug 22, 2017 · 3 comments
Open

Logic to determine new listings #642

JustinDrake opened this issue Aug 22, 2017 · 3 comments
Assignees
Labels
⏰ changes requested feature Feature or enhancement to openbazaar-go

Comments

@JustinDrake
Copy link
Contributor

When you go to Duo Search right now, we show the latest listings. This was possible with OB1.0 because each listing had a unique GUID, and kept that GUID across edits.

With the current OB2.0 setup, this is not so easy. As discussed during a technical call with @hoffmabc and @cpacia, my suggestion is to have versioning at the listing level by including a previousEditHash field containing the hash of the previous version of the listing. When a listing is created the first time, previousEditHash would be the empty string and could deemed "new" for display on Duo Search.

Listing versioning is also helpful for ratings, as discussed here.

@hoffmabc hoffmabc added ⏰ changes requested feature Feature or enhancement to openbazaar-go labels Aug 22, 2017
@cpacia
Copy link
Member

cpacia commented Aug 22, 2017

slugs are more or less kept across edits.

@JustinDrake
Copy link
Contributor Author

Vendors will want to edit their slug to make URIs prettier, and to make the URIs match with an edited title. I don't think slugs works well for this.

@placer14
Copy link
Member

placer14 commented Jul 1, 2018

@cpacia Can we close this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
⏰ changes requested feature Feature or enhancement to openbazaar-go
Projects
None yet
Development

No branches or pull requests

5 participants