Origin: Sort Listings

Created on 5 Jun 2019  路  6Comments  路  Source: OriginProtocol/origin

Allow users to sort search results. The simplest example is by price (asc or desc). We can probably also easily add a sort by creation date. It's unclear what other use cases might be, but here is a simple design for it. (Here is the screen with the link leading to the sort modal.)

P2 dapp feature good first issue help wanted javascript search uux

All 6 comments

CC @DanielVF and @sparrowDom as a FYI

Listings use a variety of currencies so we'll need to figure out how to normalize into a single currency for doing the sorting. Hopefully similarly to scoring we could write a function using the Elastic "painless" language that would get invoked when doing the sorting and that could convert whatever currency the listing uses into USD or whatever primary currency we would use for sorting ?

What makes this fun is that the currency conversions are "dynamic". For now, with a small number of listings and a small number of currencies, it's probably simplest to just pass in a bunch of conversion rates into the script used for scoring the search and use that to normalize the prices.

@micahalcorn @DanielVF I Just spoke with @franckc and I'm going to be looking into implementing this 馃殌

@micahalcorn are there any designs for how this should show on desktop?

@rtman this or whatever is Good Enough For Desktop鈩笍.

Closing as this is now done

Was this page helpful?
0 / 5 - 0 ratings

Related issues

micahalcorn picture micahalcorn  路  8Comments

micahalcorn picture micahalcorn  路  8Comments

davecraige picture davecraige  路  5Comments

davecraige picture davecraige  路  6Comments

mikeshultz picture mikeshultz  路  4Comments